TEST: Workaround for 'make test' when using -Werror
svn-id: r46131
This commit is contained in:
parent
1a313a7eca
commit
494a2ab94d
1 changed files with 6 additions and 0 deletions
|
@ -13,6 +13,12 @@ TEST_FLAGS := --runner=StdioPrinter
|
|||
TEST_CFLAGS := -I$(srcdir)/test/cxxtest
|
||||
TEST_LDFLAGS :=
|
||||
|
||||
ifdef HAVE_GCC3
|
||||
# In test/common/str.h, we test a zero length format string. This causes GCC
|
||||
# to generate a warning which in turn poses a problem when building with -Werror.
|
||||
# To work around this, we disable -Wformat here.
|
||||
TEST_CFLAGS += -Wno-format
|
||||
endif
|
||||
|
||||
# Enable this to get an X11 GUI for the error reporter.
|
||||
#TEST_FLAGS += --gui=X11Gui
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue