tests: make docker-test-debug@fedora run sanitizers
Since --enable-debug no longer enable sanitizers, we need explicit --enable-sanitizers. llvm package is required for llvm-symbolizer, to get symbols in backtraces. Add make V=1 to get details about failing tests. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20180312120849.20073-1-marcandre.lureau@redhat.com> Signed-off-by: Fam Zheng <famz@redhat.com>
This commit is contained in:
parent
b16a54da06
commit
02f769b7ee
|
@ -2,7 +2,7 @@ FROM fedora:27
|
|||
ENV PACKAGES \
|
||||
ccache gettext git tar PyYAML sparse flex bison python3 bzip2 hostname \
|
||||
glib2-devel pixman-devel zlib-devel SDL-devel libfdt-devel \
|
||||
gcc gcc-c++ clang make perl which bc findutils libaio-devel \
|
||||
gcc gcc-c++ llvm clang make perl which bc findutils libaio-devel \
|
||||
nettle-devel libasan libubsan \
|
||||
mingw32-pixman mingw32-glib2 mingw32-gmp mingw32-SDL mingw32-pkg-config \
|
||||
mingw32-gtk2 mingw32-gtk3 mingw32-gnutls mingw32-nettle mingw32-libtasn1 \
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash -e
|
||||
#
|
||||
# Compile and check with clang & --enable-debug.
|
||||
# Compile and check with clang & --enable-debug --enable-sanitizers.
|
||||
#
|
||||
# Copyright (c) 2016-2018 Red Hat Inc.
|
||||
#
|
||||
|
@ -19,8 +19,8 @@ requires clang asan
|
|||
cd "$BUILD_DIR"
|
||||
|
||||
OPTS="--cxx=clang++ --cc=clang --host-cc=clang"
|
||||
OPTS="--enable-debug $OPTS"
|
||||
OPTS="--enable-debug --enable-sanitizers $OPTS"
|
||||
|
||||
build_qemu $OPTS
|
||||
make $MAKEFLAGS check
|
||||
make $MAKEFLAGS V=1 check
|
||||
install_qemu
|
||||
|
|
Loading…
Reference in a new issue