[NFC][scudo] Move SKIP_ON_FUCHSIA to common header

This commit is contained in:
Vitaly Buka 2021-05-22 22:28:54 -07:00
parent 0f298ec6cc
commit 6994bf7dad
2 changed files with 6 additions and 6 deletions

View File

@ -491,12 +491,6 @@ SCUDO_TYPED_TEST(ScudoCombinedTest, ThreadedCombined) {
Allocator->releaseToOS();
}
#if SCUDO_FUCHSIA
#define SKIP_ON_FUCHSIA(T) DISABLED_##T
#else
#define SKIP_ON_FUCHSIA(T) T
#endif
// Test that multiple instantiations of the allocator have not messed up the
// process's signal handlers (GWP-ASan used to do this).
TEST(ScudoCombinedTest, SKIP_ON_FUCHSIA(testSEGV)) {

View File

@ -33,4 +33,10 @@ using Test = ::testing::Test;
#define EXPECT_STREQ(X, Y) EXPECT_EQ(strcmp(X, Y), 0)
#endif
#if SCUDO_FUCHSIA
#define SKIP_ON_FUCHSIA(T) DISABLED_##T
#else
#define SKIP_ON_FUCHSIA(T) T
#endif
extern bool UseQuarantine;