+run_hackbench() +{
- # args: groups number, mode [process/thread], times
- local hackbench_path
- if [ -x /lkp/benchmarks/hackbench-git/hackbench/hackbench ]; then
hackbench_path=/lkp/benchmarks/hackbench-git/hackbench/hackbench
- else
echo "The hackbench executable file cannot be found." && exit 1
- fi
hackbench_path=/lkp/benchmarks/hackbench-git/hackbench/hackbench if ! [[ -x "$hackbench_path" ]]; then echo "The hackbench executable file cannot be found." && exit 1 fi
Thanks, Jiaxin