Exclude check-polly-unittests and check-polly-isl from check-all
authorEli Friedman <efriedma@quicinc.com>
Wed, 24 Aug 2022 19:52:17 +0000 (12:52 -0700)
committerEli Friedman <efriedma@quicinc.com>
Wed, 24 Aug 2022 19:55:45 +0000 (12:55 -0700)
The unittests are already included in check-polly, so check-all was
running them twice.  Running them twice causes a race on the output
files, which led to intermittent failures on the reverse-iteration
buildbot.

polly/test/CMakeLists.txt

index 91923ef..81cee34 100644 (file)
@@ -77,6 +77,7 @@ if (POLLY_GTEST_AVAIL)
   add_lit_testsuite(check-polly-unittests "Running polly unit tests only"
     ${CMAKE_CURRENT_BINARY_DIR}/Unit
     PARAMS polly_site_config=${CMAKE_CURRENT_BINARY_DIR}/Unit/lit.site.cfg
+    EXCLUDE_FROM_CHECK_ALL
     DEPENDS PollyUnitTests
     )
   set_target_properties(check-polly-unittests PROPERTIES FOLDER "Polly")
@@ -90,6 +91,7 @@ if (POLLY_BUNDLED_ISL)
   add_lit_testsuite(check-polly-isl "Running isl unit tests only"
     ${CMAKE_CURRENT_BINARY_DIR}/UnitIsl
     PARAMS polly_site_config=${CMAKE_CURRENT_BINARY_DIR}/UnitIsl/lit.site.cfg
+    EXCLUDE_FROM_CHECK_ALL
     DEPENDS polly-isl-test
     )
   set_target_properties(check-polly-isl PROPERTIES FOLDER "Polly")