16 lines · python
1## Check that --skip-test-time-recording skips .lit_test_times.txt recording.2 3# RUN: %{lit-no-order-opt} --skip-test-time-recording %{inputs}/time-tests4# RUN: not ls %{inputs}/time-tests/.lit_test_times.txt5 6## Check that --time-tests generates a printed histogram.7 8# RUN: %{lit-no-order-opt} --time-tests %{inputs}/time-tests > %t.out9# RUN: FileCheck < %t.out %s10# RUN: rm %{inputs}/time-tests/.lit_test_times.txt11 12# CHECK: Tests Times:13# CHECK-NEXT: --------------------------------------------------------------------------14# CHECK-NEXT: [ Range ] :: [ Percentage ] :: [Count]15# CHECK-NEXT: --------------------------------------------------------------------------16