summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorThomas Meyer <thomas@m3y3r.de>2017-09-08 15:01:18 +0300
committerShuah Khan <shuahkh@osg.samsung.com>2017-09-18 19:54:53 +0300
commit6f0003363a13be699ba945cfa4074193e04fbea5 (patch)
treebb80ffa83e9df77503f82610b7d03f6bed9735ab /tools
parent67b2e30eb7b346db60afe91b0927738fb604d0a4 (diff)
downloadlinux-6f0003363a13be699ba945cfa4074193e04fbea5.tar.xz
selftests/intel_pstate: No need to compile test progs in the run script
Both test programs are being compiled by make, so no need to compile both programs in the runner script. This resolves an error when installing all selftests via make install and run them in a different environemnt. Running tests in intel_pstate ======================================== ./run.sh: line 35: gcc: command not found Problem compiling aperf.c. Signed-off-by: Thomas Meyer <thomas@m3y3r.de> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/testing/selftests/intel_pstate/run.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/testing/selftests/intel_pstate/run.sh b/tools/testing/selftests/intel_pstate/run.sh
index 1b4b8302dfc2..d3ab48f91cd6 100755
--- a/tools/testing/selftests/intel_pstate/run.sh
+++ b/tools/testing/selftests/intel_pstate/run.sh
@@ -36,12 +36,6 @@ fi
max_cpus=$(($(nproc)-1))
-# compile programs
-gcc aperf.c -Wall -D_GNU_SOURCE -o aperf -lm
-[ $? -ne 0 ] && echo "Problem compiling aperf.c." && exit 1
-gcc -o msr msr.c -lm
-[ $? -ne 0 ] && echo "Problem compiling msr.c." && exit 1
-
function run_test () {
file_ext=$1