From 8d000b46b0a66cf4444284f9afe73f5693870fbd Mon Sep 17 00:00:00 2001 From: yanzegux Date: Mon, 5 Feb 2024 15:35:21 +0800 Subject: [PATCH] QATAPP-31704: update test tool in qatzip repo (#277) --- test/performance_tests/run_perf_test.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/performance_tests/run_perf_test.sh b/test/performance_tests/run_perf_test.sh index e9dbda2..5afed4b 100755 --- a/test/performance_tests/run_perf_test.sh +++ b/test/performance_tests/run_perf_test.sh @@ -41,9 +41,9 @@ rm -f result_decomp_stderr CURRENT_PATH=`dirname $(readlink -f "$0")` -#check whether test exists -if [ ! -f "$QZ_ROOT/test/test" ]; then - echo "$QZ_ROOT/test/test: No such file. Compile first!" +#check whether qatzip-test exists +if [ ! -f "$QZ_ROOT/test/qatzip-test" ]; then + echo "$QZ_ROOT/test/qatzip-test: No such file. Compile first!" exit 1 fi @@ -104,7 +104,7 @@ echo > result_comp cpu_list=0 for((numProc_comp = 0; numProc_comp < $process; numProc_comp ++)) do - taskset -c $cpu_list $QZ_ROOT/test/test -m 4 -l 1000 -t $thread -D comp >> result_comp 2>> result_comp_stderr & + taskset -c $cpu_list $QZ_ROOT/test/qatzip-test -m 4 -l 1000 -t $thread -D comp >> result_comp 2>> result_comp_stderr & cpu_list=$(($cpu_list + 1)) done wait @@ -115,7 +115,7 @@ echo > result_decomp cpu_list=0 for((numProc_decomp = 0; numProc_decomp < $process; numProc_decomp ++)) do - taskset -c $cpu_list $QZ_ROOT/test/test -m 4 -l 1000 -t $thread -D decomp >> result_decomp 2>> result_decomp_stderr & + taskset -c $cpu_list $QZ_ROOT/test/qatzip-test -m 4 -l 1000 -t $thread -D decomp >> result_decomp 2>> result_decomp_stderr & cpu_list=$(($cpu_list + 1)) done wait