Commit 017b505a by FritzFlorian

Fix: sanitizer.log properly copied even if no output.

parent a98c9d5f
Pipeline #1093 passed with stages
in 1 minute 35 seconds
...@@ -10,7 +10,9 @@ TSAN_OPTIONS="log_path=sanitizer.log exitcode=1" ./bin/tests ...@@ -10,7 +10,9 @@ TSAN_OPTIONS="log_path=sanitizer.log exitcode=1" ./bin/tests
STATUS_CODE=$? STATUS_CODE=$?
# rename the output log... # rename the output log...
mv sanitizer.log.* ../sanitizer.log mv ./sanitizer.log.* ../sanitizer.log
touch sanitizer.log if [[ $? != 0 ]]; then
echo "No sanitizer warnings." > ../sanitizer.log
fi
exit $STATUS_CODE exit $STATUS_CODE
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment