From 2c29268bfcc84c3b94bcb0aa34b7ef9c9bd9af01 Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Wed, 24 Aug 2022 12:52:17 -0700 Subject: [PATCH] Exclude check-polly-unittests and check-polly-isl from check-all 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/polly/test/CMakeLists.txt b/polly/test/CMakeLists.txt index 91923ef9f039..81cee34a780d 100644 --- a/polly/test/CMakeLists.txt +++ b/polly/test/CMakeLists.txt @@ -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")