Author: Joel E. Denny Date: 2021-06-25T14:29:58-04:00 New Revision: cc60fa2685bdbff889df826a1bfd5e52ffd163c8
URL: https://github.com/llvm/llvm-project/commit/cc60fa2685bdbff889df826a1bfd5e52ffd163c8 DIFF: https://github.com/llvm/llvm-project/commit/cc60fa2685bdbff889df826a1bfd5e52ffd163c8.diff LOG: [UpdateCCTestChecks] Fix new test from 9eaf0d120d32 `clang/test/utils/update_cc_test_checks/check-globals.test` from 9eaf0d120d32 broke at: * <https://lab.llvm.org/buildbot/#/builders/110/builds/4415> * <https://lab.llvm.org/buildbot/#/builders/5/builds/9076> The problem is non-deterministic test order because the `.lit_test_times.txt` from one run of a sample test suite affects the other. Added: Modified: clang/test/utils/update_cc_test_checks/check-globals.test Removed: ################################################################################ diff --git a/clang/test/utils/update_cc_test_checks/check-globals.test b/clang/test/utils/update_cc_test_checks/check-globals.test index 2af041b5ec7c..def1a8e93672 100644 --- a/clang/test/utils/update_cc_test_checks/check-globals.test +++ b/clang/test/utils/update_cc_test_checks/check-globals.test @@ -31,7 +31,8 @@ RUN: rm %t/igf-again.c RUN: cp %S/Inputs/lit.cfg.example %t/lit.cfg # Show lit failures while avoiding confusing FileCheck input dump nesting. RUN: %lit %t -# Lit was successful. Sanity-check the results. +# Lit was successful. Sanity-check the results with deterministic test order. +RUN: rm %t/.lit_test_times.txt RUN: %lit %t 2>&1 | FileCheck -check-prefix=LIT-RUN %s END. _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits