diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/Makefile.am | 2 | ||||
-rw-r--r-- | test/unit/parser/parser_black.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/test/unit/Makefile.am b/test/unit/Makefile.am index b3e0a3808..0ce6368c2 100644 --- a/test/unit/Makefile.am +++ b/test/unit/Makefile.am @@ -150,7 +150,7 @@ $(UNIT_TESTS:%=@am__quote@./@DEPDIR@/%.Plo@am__quote@): %.Plo: $(UNIT_TESTS:%=@abs_builddir@/%.cpp): @abs_builddir@/%.cpp: %.h $(AM_V_at)$(MKDIR_P) `dirname "$@"` - $(AM_V_GEN)$(CXXTESTGEN) --have-eh --have-std --error-printer -o "$@" "$<" + $(AM_V_GEN)$(CXXTESTGEN) --no-static-init --have-eh --have-std --error-printer -o "$@" "$<" $(WHITE_TESTS:%=%.lo): %_white.lo: @abs_builddir@/%_white.cpp @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LTCXXCOMPILE) $(AM_CXXFLAGS_WHITE) -MT $@ -MD -MP -MF $(DEPDIR)/$(@:%.lo=%).Tpo -c -o $@ $< diff --git a/test/unit/parser/parser_black.h b/test/unit/parser/parser_black.h index 7b52e0662..e7548708e 100644 --- a/test/unit/parser/parser_black.h +++ b/test/unit/parser/parser_black.h @@ -194,6 +194,8 @@ class ParserBlack d_lang(lang) { } + virtual ~ParserBlack() {} + void setUp() { d_options.set(options::parseOnly, true); |