forked from qemu/qemu
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a new test with --enable-debug using clang/asan/ubsan, remove --enable-debug from test-clang & test-mingw. Signed-off-by: Marc-André Lureau <[email protected]> Message-Id: <[email protected]> Tested-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
- Loading branch information
Showing
3 changed files
with
27 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/bash -e | ||
# | ||
# Compile and check with clang & --enable-debug. | ||
# | ||
# Copyright (c) 2016-2018 Red Hat Inc. | ||
# | ||
# Authors: | ||
# Fam Zheng <[email protected]> | ||
# Marc-André Lureau <[email protected]> | ||
# | ||
# This work is licensed under the terms of the GNU GPL, version 2 | ||
# or (at your option) any later version. See the COPYING file in | ||
# the top-level directory. | ||
|
||
. common.rc | ||
|
||
requires clang asan | ||
|
||
cd "$BUILD_DIR" | ||
|
||
OPTS="--cxx=clang++ --cc=clang --host-cc=clang" | ||
OPTS="--enable-debug $OPTS" | ||
|
||
build_qemu $OPTS | ||
make $MAKEFLAGS check | ||
install_qemu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters