drm/rockchip: Don't change hdmi reference clock rate
[drm/drm-misc.git] / tools / perf / tests / shell / perftool-testsuite_probe.sh
bloba0fec33a0358aeff943539fc782cd1a7e4455251
1 #!/bin/bash
2 # perftool-testsuite_probe
3 # SPDX-License-Identifier: GPL-2.0
5 test -d "$(dirname "$0")/base_probe" || exit 2
6 cd "$(dirname "$0")/base_probe" || exit 2
7 status=0
9 PERFSUITE_RUN_DIR=$(mktemp -d /tmp/"$(basename "$0" .sh)".XXX)
10 export PERFSUITE_RUN_DIR
12 for testcase in setup.sh test_*; do # skip setup.sh if not present or not executable
13 test -x "$testcase" || continue
14 ./"$testcase"
15 (( status += $? ))
16 done
18 if ! [ "$PERFTEST_KEEP_LOGS" = "y" ]; then
19 rm -rf "$PERFSUITE_RUN_DIR"
22 test $status -ne 0 && exit 1
23 exit 0