aboutsummaryrefslogtreecommitdiff
path: root/tests/runtest/test_suite-metrics.shtest
blob: 83cab9e7b9a9a3673221aca6d89a0bfab886094e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Check that hash, score, compile_time and exec_time get copied into the LNT
# report.
# RUN: rm -rf %t.SANDBOX
# RUN: lnt runtest test-suite \
# RUN:     --sandbox %t.SANDBOX \
# RUN:     --no-timestamp \
# RUN:     --test-suite %S/Inputs/test-suite-cmake \
# RUN:     --cc %{shared_inputs}/FakeCompilers/clang-r154331 \
# RUN:     --use-cmake %S/Inputs/test-suite-cmake/fake-cmake \
# RUN:     --use-make %S/Inputs/test-suite-cmake/fake-make \
# RUN:     --use-lit %S/Inputs/test-suite-cmake/fake-lit \
# RUN:     --verbose \
# RUN:     > %t.log 2> %t.err
# RUN: FileCheck --check-prefix CHECK-METRICS < %t.SANDBOX/build/report.json %s
# RUN: FileCheck --check-prefix CHECK-METRICS2 < %t.SANDBOX/build/report.json %s
# CHECK-METRICS-DAG: foo.exec
# CHECK-METRICS-DAG: foo.compile
# CHECK-METRICS-DAG: foo.score
# CHECK-METRICS-DAG: foo.hash
# CHECK-METRICS2-NOT: foo.unknown