only build malloc tests on POSIX platforms

This commit is contained in:
Theo Butler
2019-02-12 22:05:36 -05:00
parent a9615bc6aa
commit e42551bb15

View File

@@ -74,6 +74,9 @@ subdirlist(TEST_CATEGORIES ${TESTDIR})
foreach(SUPER_SLAB_SIZE 1;16)
foreach(TEST_CATEGORY ${TEST_CATEGORIES})
subdirlist(TESTS ${TESTDIR}/${TEST_CATEGORY})
if(MSVC)
list(REMOVE_ITEM TESTS "malloc")
endif()
foreach(TEST ${TESTS})
unset(SRC)
aux_source_directory(${TESTDIR}/${TEST_CATEGORY}/${TEST} SRC)