]> Git Repo - qemu.git/blob - tests/docker/test-debug
Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging
[qemu.git] / tests / docker / test-debug
1 #!/bin/bash -e
2 #
3 # Compile and check with clang & --enable-debug --enable-sanitizers.
4 #
5 # Copyright (c) 2016-2018 Red Hat Inc.
6 #
7 # Authors:
8 #  Fam Zheng <[email protected]>
9 #  Marc-AndrĂ© Lureau <[email protected]>
10 #
11 # This work is licensed under the terms of the GNU GPL, version 2
12 # or (at your option) any later version. See the COPYING file in
13 # the top-level directory.
14
15 . common.rc
16
17 requires clang asan
18
19 cd "$BUILD_DIR"
20
21 OPTS="--cxx=clang++ --cc=clang --host-cc=clang"
22 OPTS="--enable-debug --enable-sanitizers $OPTS"
23
24 build_qemu $OPTS
25 check_qemu check V=1
26 install_qemu
This page took 0.025989 seconds and 4 git commands to generate.