[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 08/11] tests/tcg: build tests with -Werror
From: |
Alex Bennée |
Subject: |
[PULL 08/11] tests/tcg: build tests with -Werror |
Date: |
Wed, 16 Dec 2020 16:48:24 +0000 |
Hopefully this will guard against sloppy code getting into our tests.
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20201210190417.31673-9-alex.bennee@linaro.org>
diff --git a/tests/tcg/Makefile.target b/tests/tcg/Makefile.target
index 2ae86776cd..24d75a5801 100644
--- a/tests/tcg/Makefile.target
+++ b/tests/tcg/Makefile.target
@@ -94,7 +94,7 @@ ifdef CONFIG_USER_ONLY
-include $(SRC_PATH)/tests/tcg/$(TARGET_NAME)/Makefile.target
# Add the common build options
-CFLAGS+=-Wall -O0 -g -fno-strict-aliasing
+CFLAGS+=-Wall -Werror -O0 -g -fno-strict-aliasing
ifeq ($(BUILD_STATIC),y)
LDFLAGS+=-static
endif
--
2.20.1
- [PULL 00/11] testing and configure updates, Alex Bennée, 2020/12/16
- [PULL 01/11] configure: include moxie-softmmu in deprecated_targets_list, Alex Bennée, 2020/12/16
- [PULL 02/11] gitlab: include aarch64-softmmu and ppc64-softmmu cross-system-build, Alex Bennée, 2020/12/16
- [PULL 03/11] configure: move gettext detection to meson.build, Alex Bennée, 2020/12/16
- [PULL 04/11] configure: add --without-default-features, Alex Bennée, 2020/12/16
- [PULL 05/11] python: add __repr__ to ConsoleSocket to aid debugging, Alex Bennée, 2020/12/16
- [PULL 06/11] gitlab: move --without-default-devices build from Travis, Alex Bennée, 2020/12/16
- [PULL 07/11] gitlab: add --without-default-features build, Alex Bennée, 2020/12/16
- [PULL 08/11] tests/tcg: build tests with -Werror,
Alex Bennée <=
- [PULL 09/11] gitlab-CI: Test 32-bit builds with the fedora-i386-cross container, Alex Bennée, 2020/12/16
- [PULL 10/11] tests/docker: Remove the remainders of debian9 containers from the Makefile, Alex Bennée, 2020/12/16
- [PULL 11/11] tests: update for rename of CentOS8 PowerTools repo, Alex Bennée, 2020/12/16
- Re: [PULL 00/11] testing and configure updates, Alex Bennée, 2020/12/16