Travis: do not fail when no log exists (e.g. perf).
authorJoel Martin <github@martintribe.org>
Sun, 25 Oct 2015 21:29:32 +0000 (16:29 -0500)
committerJoel Martin <github@martintribe.org>
Sun, 25 Oct 2015 21:29:32 +0000 (16:29 -0500)
.travis_test.sh

index a797b61..df088a1 100755 (executable)
@@ -25,4 +25,4 @@ ${MAKE} TEST_OPTS="--soft --log-file ../${ACTION}.err" \
     MAL_IMPL=${MAL_IMPL} ${ACTION}^${IMPL}
 
 # no failure so remove error log
-rm ${ACTION}.err
+rm -f ${ACTION}.err || true