We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b75e760 commit 5bb2b8dCopy full SHA for 5bb2b8d
test.sh
@@ -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