File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -176,13 +176,13 @@ install_tools $0
176
176
test_name_run=" pyperf"
177
177
arguments=" $@ "
178
178
179
+ curdir=` pwd`
179
180
if [[ $0 == " ./" * ]]; then
180
181
chars=` echo $0 | awk -v RS=' /' ' END{print NR-1}' `
181
182
if [[ $chars == 1 ]]; then
182
183
run_dir=` pwd`
183
184
else
184
185
run_dir=` echo $0 | cut -d' /' -f 1-${chars} | cut -d' .' -f2-`
185
- curdir=` pwd`
186
186
run_dir=" ${curdir}${run_dir} "
187
187
fi
188
188
else
@@ -265,6 +265,7 @@ if [ $to_pbench -eq 0 ]; then
265
265
else
266
266
source ~ /.bashrc
267
267
arguments=" ${arguments} --test_iterations ${to_times_to_run} "
268
+ cd $curdir
268
269
echo $TOOLS_BIN /execute_via_pbench --cmd_executing " $0 " $arguments --test ${test_name_run} --spacing 11 --pbench_stats $to_pstats
269
270
$TOOLS_BIN /execute_via_pbench --cmd_executing " $0 " $arguments --test ${test_name_run} --spacing 11 --pbench_stats $to_pstats
270
271
fi
286
287
rm results_${test_name_run} _${to_tuned_setting}
287
288
ln -s ${RESULTSDIR} results_${test_name_run} _${to_tuned_setting}
288
289
mv ${test_name_run} _* .out ${RESULTSDIR}
290
+ cp ${curdir} /meta_data.yml ${RESULTSDIR}
289
291
tar hcf results_${test_name_run} _${to_tuned_setting} .tar results_${test_name_run} _${to_tuned_setting}
290
292
cp results_${test_name_run} _${to_tuned_setting} .tar results_pbench_${test_name_run} _${to_tuned_setting} .tar
291
293
fi
You can’t perform that action at this time.
0 commit comments