Skip to content

Commit f58f0a8

Browse files
committed
Disable tests when SNMALLOC_USE_SELF_VENDORED_STL=ON is set
1 parent 739cd08 commit f58f0a8

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/test/func/new/new.cc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66

77
using namespace snmalloc;
88

9+
#ifdef SNMALLOC_USE_SELF_VENDORED_STL
10+
int main()
11+
{
12+
return 0;
13+
}
14+
#else
915
constexpr std::array<size_t, 11> align_val_sizes = {
1016
8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, OS_PAGE_SIZE};
1117

@@ -202,3 +208,4 @@ int main(int argc, char** argv)
202208
snmalloc::debug_check_empty();
203209
return 0;
204210
}
211+
#endif

0 commit comments

Comments
 (0)