Skip to content

Commit

Permalink
[gwp_asan] Soft-transition ZXTEST_USE_STREAMABLE_MACROS removal (#121887
Browse files Browse the repository at this point in the history
)

Soft-transition the removal of setting ZXTEST_USE_STREAMABLE_MACROS, by
only setting the macro if not already defined. A future PR will remove
setting the macro entirely in harness.h.
  • Loading branch information
Caslyn authored Jan 7, 2025
1 parent 5c7a696 commit 478648e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compiler-rt/lib/gwp_asan/tests/harness.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
#include <stdarg.h>

#if defined(__Fuchsia__)
#ifndef ZXTEST_USE_STREAMABLE_MACROS
#define ZXTEST_USE_STREAMABLE_MACROS
#endif
#include <zxtest/zxtest.h>
namespace testing = zxtest;
// zxtest defines a different ASSERT_DEATH, taking a lambda and an error message
Expand Down

0 comments on commit 478648e

Please sign in to comment.