| commit | cc60fa2685bdbff889df826a1bfd5e52ffd163c8 | [log] [tgz] |
|---|---|---|
| author | Joel E. Denny <jdenny.ornl@gmail.com> | Fri Jun 25 14:06:52 2021 -0400 |
| committer | Joel E. Denny <jdenny.ornl@gmail.com> | Fri Jun 25 14:29:58 2021 -0400 |
| tree | e74abacfd63252b07a315c92fdb66857d9466331 | |
| parent | 77ae9b364a9d9b99501163761313cefbb345cea7 [diff] [blame] |
[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.
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 2af041b..def1a8e 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: 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.