File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ _runtest()
128
128
# get switched off without some effort, so we just let it run twice for testing purposes
129
129
_make " $1 " " $2 " " "
130
130
echo -e " \rRun autotune $1 $2 "
131
- $_timeout ./etc/tune_it.sh > test_${suffix} .log || _die " running autotune" $?
131
+ $_timeout $TUNE_CMD > ../ test_${suffix} .log || _die " running autotune" $?
132
132
else
133
133
_make " $1 " " $2 " " test_standalone"
134
134
echo -e " \rRun test $1 $2 "
@@ -154,7 +154,7 @@ echo "autotune branch"
154
154
# The shell used for /bin/sh is DASH 0.5.7-4ubuntu1 on the author's machine which fails valgrind, so
155
155
# we just run on instance of etc/tune with the same options as in etc/tune_it.sh
156
156
echo -e " \rRun etc/tune $1 $2 once inside valgrind"
157
- $_timeout $VALGRIND_BIN $VALGRIND_OPTS ./etc/tune -t -r 10 -L 3 > test_${suffix} .log || _die " running etc/tune" $?
157
+ $_timeout $VALGRIND_BIN $VALGRIND_OPTS $TUNE_CMD > test_${suffix} .log || _die " running etc/tune" $?
158
158
else
159
159
_make " $1 " " $2 " " test_standalone"
160
160
echo -e " \rRun test $1 $2 inside valgrind"
@@ -195,6 +195,7 @@ VALGRIND_OPTS=" --leak-check=full --show-leak-kinds=all --error-exitcode=1 "
195
195
# VALGRIND_OPTS=""
196
196
VALGRIND_BIN=" "
197
197
CHECK_FORMAT=" "
198
+ TUNE_CMD=" ./etc/tune -t -r 10 -L 3"
198
199
199
200
alive_pid=0
200
201
You can’t perform that action at this time.
0 commit comments