Commit 1ef157b1 authored by Ivan Vilata-i-Balaguer's avatar Ivan Vilata-i-Balaguer
Browse files

GitLab CI: Add "ptrace" tag to "unit-test" job.

The Docker container used to run unit tests should support ptrace (because of
the `test-util` test).  Otherwise execution reports the following error:

==23==LeakSanitizer has encountered a fatal error.
==23==HINT: For debugging, try setting environment variable LSAN_OPTIONS=verbosity=1:log_threads=1
==23==HINT: LeakSanitizer does not work under ptrace (strace, gdb, etc)

See also
parent b133d5ae
......@@ -56,6 +56,7 @@ unit-test:
stage: test
- docker
- ptrace
- export LD_LIBRARY_PATH=$PWD/build:/usr/local/lib
- for test in ./build/test/test-*; do "$test" --log_level=test_suite; done
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 to comment