[gwp_asan] Soft-transition ZXTEST_USE_STREAMABLE_MACROS removal (#121887)

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.
This commit is contained in:
Caslyn Tonelli
2025-01-07 10:03:31 -08:00
committed by GitHub
parent 5c7a69674f
commit 478648e2c0

View File

@@ -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