2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-23 10:28:05 +00:00
criu/scripts/ci/asan.sh

26 lines
464 B
Bash
Raw Permalink Normal View History

#!/bin/bash
set -x
cat /proc/self/mountinfo
time make ASAN=1 -j 4 V=1
time make -j4 -C test/zdtm V=1
chmod 0777 test
chmod 0777 test/zdtm/transition/
chmod 0777 test/zdtm/static
./test/zdtm.py run -a --keep-going -k always --parallel 4 -x zdtm/static/rtc "$@"
ret=$?
shopt -s globstar nullglob
for i in /**/asan.log*; do
echo "$i"
echo ========================================
cat "$i"
echo ========================================
ret=1
done
exit $ret