forked from OSchip/llvm-project
[NFC][scudo] Move SKIP_ON_FUCHSIA to common header
This commit is contained in:
parent
0f298ec6cc
commit
6994bf7dad
|
@ -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)) {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue