Commit 4ad4b179 by FritzFlorian

Change back to display sanitizer logs in console.

We do this as we can not read them properly online as a artifact without downloading.
parent dcc124da
...@@ -22,6 +22,3 @@ run_thread_sanitizer: ...@@ -22,6 +22,3 @@ run_thread_sanitizer:
stage: sanitizer stage: sanitizer
script: script:
./ci_scripts/run_thread_sanitizer.sh ./ci_scripts/run_thread_sanitizer.sh
artifacts:
paths:
- thread-sanitizer.log
...@@ -6,13 +6,7 @@ cmake .. -DCMAKE_BUILD_TYPE=RELEASE -DTHREAD_SANITIZER=ON ...@@ -6,13 +6,7 @@ cmake .. -DCMAKE_BUILD_TYPE=RELEASE -DTHREAD_SANITIZER=ON
make make
# run the actual tests with sanitizer enabled, reporting the result # run the actual tests with sanitizer enabled, reporting the result
TSAN_OPTIONS="log_path=sanitizer.log exitcode=1" ./bin/tests TSAN_OPTIONS="exitcode=1" ./bin/tests
STATUS_CODE=$? STATUS_CODE=$?
# rename the output log...
mv ./sanitizer.log.* ../thread-sanitizer.log
if [[ $? != 0 ]]; then
echo "No sanitizer warnings." > ../thread-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