mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 00:33:09 +00:00
Small improvements to the CI infrastructure
- avoid inlining for the debug testing so that suppressions work - provide more output for triggered errors No functional change.
This commit is contained in:
parent
70880b8e24
commit
d2acdac101
2 changed files with 3 additions and 3 deletions
|
@ -63,7 +63,7 @@ script:
|
||||||
#
|
#
|
||||||
# Valgrind
|
# Valgrind
|
||||||
#
|
#
|
||||||
- export CXXFLAGS=-O1
|
- export CXXFLAGS="-O1 -fno-inline"
|
||||||
- if [ -x "$(command -v valgrind )" ]; then make clean && make -j2 ARCH=x86-64 debug=yes optimize=no build > /dev/null && ../tests/instrumented.sh --valgrind; fi
|
- if [ -x "$(command -v valgrind )" ]; then make clean && make -j2 ARCH=x86-64 debug=yes optimize=no build > /dev/null && ../tests/instrumented.sh --valgrind; fi
|
||||||
- if [ -x "$(command -v valgrind )" ]; then ../tests/instrumented.sh --valgrind-thread; fi
|
- if [ -x "$(command -v valgrind )" ]; then ../tests/instrumented.sh --valgrind-thread; fi
|
||||||
#
|
#
|
||||||
|
|
|
@ -28,14 +28,14 @@ case $1 in
|
||||||
echo "sanitizer-undefined testing started"
|
echo "sanitizer-undefined testing started"
|
||||||
prefix='!'
|
prefix='!'
|
||||||
exeprefix=''
|
exeprefix=''
|
||||||
postfix='2>&1 | grep "runtime error:"'
|
postfix='2>&1 | grep -A50 "runtime error:"'
|
||||||
threads="1"
|
threads="1"
|
||||||
;;
|
;;
|
||||||
--sanitizer-thread)
|
--sanitizer-thread)
|
||||||
echo "sanitizer-thread testing started"
|
echo "sanitizer-thread testing started"
|
||||||
prefix='!'
|
prefix='!'
|
||||||
exeprefix=''
|
exeprefix=''
|
||||||
postfix='2>&1 | grep "WARNING: ThreadSanitizer:"'
|
postfix='2>&1 | grep -A50 "WARNING: ThreadSanitizer:"'
|
||||||
threads="2"
|
threads="2"
|
||||||
|
|
||||||
cat << EOF > tsan.supp
|
cat << EOF > tsan.supp
|
||||||
|
|
Loading…
Add table
Reference in a new issue