initialize $WRITE for tests others than *.args
authorBlackMinou <romain.chanoir@viacesi.fr>
Wed, 15 Feb 2017 19:56:34 +0000 (14:56 -0500)
committerBlackMinou <romain.chanoir@viacesi.fr>
Mon, 27 Feb 2017 15:06:12 +0000 (10:06 -0500)
Signed-off-by: BlackMinou <romain.chanoir@viacesi.fr>

tests/tests.sh

index 738ccd2..8168d0d 100755 (executable)
@@ -678,7 +678,7 @@ END
                                echo ""
                                echo "NIT_NO_STACK=1 $ff.bin" $args
                        fi
-                       NIT_NO_STACK=1 LD_LIBRARY_PATH=$JNI_LIB_PATH \
+                       NIT_NO_STACK=1 LD_LIBRARY_PATH=$JNI_LIB_PATH WRITE="$ff.write" \
                                saferun -a -o "$ff.time.out" "$ff.bin" $args < "$inputs" > "$ff.res" 2>"$ff.err"
                        mv "$ff.time.out" "$ff.times.out"
                        awk '{ SUM += $1} END { print SUM }' "$ff.times.out" > "$ff.time.out"