aboutsummaryrefslogtreecommitdiff
path: root/tests/runtest/test_suite-perf-events.shtest
blob: 57ad11bcc925b9e50304f65845b5b9d0e5f0a0b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Check specifying which linux perf events to measure
# 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-profile \
# RUN:     --use-perf=profile \
# RUN:     --perf-events=cycles,cache_misses \
# RUN:     --verbose \
# RUN:     > %t.log 2> %t.err
# RUN: FileCheck --check-prefix CHECK-USE-PERF-EVENT < %t.err %s
# CHECK-USE-PERF-EVENT: fake-lit-profile -v -j 1 {{.*--param profile=perf --param perf_profile_events=cycles,cache_misses}}