提交 6f000336 编写于 作者: T Thomas Meyer 提交者: Shuah Khan

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: NThomas Meyer <thomas@m3y3r.de>
Signed-off-by: NShuah Khan <shuahkh@osg.samsung.com>
上级 67b2e30e
...@@ -36,12 +36,6 @@ fi ...@@ -36,12 +36,6 @@ fi
max_cpus=$(($(nproc)-1)) 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 () { function run_test () {
file_ext=$1 file_ext=$1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册