Skip to content

Commit

Permalink
test index
Browse files Browse the repository at this point in the history
  • Loading branch information
sousinha97 committed Jul 29, 2024
1 parent 7e81ab3 commit 0346e50
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion phoronix/phoronix
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ do
test_to_run=$2
shift 2
;;
--test_index)
test_index=$2
shift 2
;;
*)
usage;
;;
Expand Down Expand Up @@ -44,7 +48,7 @@ if [ ! -d "./phoronix-test-suite" ]; then
fi
for iterations in 1 `seq 2 1 ${to_times_to_run}`
do
./phoronix-test-suite/phoronix-test-suite run $test_to_run < /tmp/ph_opts >> /tmp/results_${test_name}_${to_tuned_setting}.out
./phoronix-test-suite/phoronix-test-suite default-run $test_to_run < /tmp/ph_opts >> /tmp/results_${test_name}_${to_tuned_setting}.out
done
#
# Archive up the results.
Expand Down
6 changes: 3 additions & 3 deletions phoronix/run_phoronix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,9 @@ else
tuned_original=`tuned-adm active | cut -d' ' -f4`
tuned-adm profile $to_tuned_setting
fi
echo ./phoronix -t ${test} > run_this
chmod 755 run_this
./run_this
echo ./phoronix -t ${test} --test_index ${test_index} > run_this
chmod 755 run_this
./run_this

setenforce 1
fi

0 comments on commit 0346e50

Please sign in to comment.