[UpdateCCTestChecks] Fix new test from 9eaf0d120d

`clang/test/utils/update_cc_test_checks/check-globals.test` from
9eaf0d120d 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.
This commit is contained in:
Joel E. Denny 2021-06-25 14:06:52 -04:00
parent 77ae9b364a
commit cc60fa2685
1 changed files with 2 additions and 1 deletions

View File

@ -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.