Skip to content

Commit 072b2e3

Browse files
committed
wip
[ci skip]
1 parent 7205d62 commit 072b2e3

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

test.sh

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#!/bin/sh
2+
3+
set -eu
4+
5+
export ASAN_OPTIONS=strict_string_checks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1
6+
export UBSAN_OPTIONS=print_stacktrace=1:print_summary=1:halt_on_error=1
7+
8+
export PYTHON_SETUP_ARGS='--install-layout=deb'
9+
export DESTDIR=/home/christian/Downloads/destdir/
10+
export OPT_SUBDIRS='dbus gui mcstrans restorecond semodule-utils'
11+
12+
export CC=${CC:-'ccache gcc'}
13+
export CFLAGS='-fsanitize=address,undefined -g -I$DESTDIR/usr/include -Wall -Wextra'
14+
export LDFLAGS='-fsanitize=address,undefined -L$DESTDIR/usr/lib'
15+
16+
17+
clear
18+
19+
rm -Rf ~/Downloads/destdir/
20+
21+
make clean distclean
22+
23+
make install -j4
24+
make install-pywrap -j4
25+
make all -j4
26+
27+
./scripts/env_use_destdir make test -j4

0 commit comments

Comments
 (0)