File: asan.sh

package info (click to toggle)
criu 4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,500 kB
  • sloc: ansic: 139,280; python: 7,484; sh: 3,824; java: 2,799; makefile: 2,659; asm: 1,137; perl: 206; xml: 117; exp: 45
file content (25 lines) | stat: -rwxr-xr-x 464 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/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