blob: 83cab9e7b9a9a3673221aca6d89a0bfab886094e [file] [log] [blame]
# 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