Skip to content

Commit 0346e50

Browse files
committed
test index
1 parent 7e81ab3 commit 0346e50

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

phoronix/phoronix

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ do
1414
test_to_run=$2
1515
shift 2
1616
;;
17+
--test_index)
18+
test_index=$2
19+
shift 2
20+
;;
1721
*)
1822
usage;
1923
;;
@@ -44,7 +48,7 @@ if [ ! -d "./phoronix-test-suite" ]; then
4448
fi
4549
for iterations in 1 `seq 2 1 ${to_times_to_run}`
4650
do
47-
./phoronix-test-suite/phoronix-test-suite run $test_to_run < /tmp/ph_opts >> /tmp/results_${test_name}_${to_tuned_setting}.out
51+
./phoronix-test-suite/phoronix-test-suite default-run $test_to_run < /tmp/ph_opts >> /tmp/results_${test_name}_${to_tuned_setting}.out
4852
done
4953
#
5054
# Archive up the results.

phoronix/run_phoronix.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,9 @@ else
229229
tuned_original=`tuned-adm active | cut -d' ' -f4`
230230
tuned-adm profile $to_tuned_setting
231231
fi
232-
echo ./phoronix -t ${test} > run_this
233-
chmod 755 run_this
234-
./run_this
232+
echo ./phoronix -t ${test} --test_index ${test_index} > run_this
233+
chmod 755 run_this
234+
./run_this
235235

236236
setenforce 1
237237
fi

0 commit comments

Comments
 (0)