summaryrefslogtreecommitdiff
path: root/tools/test
diff options
context:
space:
mode:
authordeva <deva>2011-02-17 15:03:03 +0000
committerdeva <deva>2011-02-17 15:03:03 +0000
commitbb8b75573bf891ebf0fa871cee1cd5d80cb2a02f (patch)
tree21d035825270cb4ed813d6d345d2d5f0e3711d2b /tools/test
parented24baca8576c0516db07dbe904f9567a65c37c3 (diff)
Add -fno-elide-constructors to gcov compile line. See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12076
Diffstat (limited to 'tools/test')
-rwxr-xr-xtools/test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test b/tools/test
index 93f11af..ec54e70 100755
--- a/tools/test
+++ b/tools/test
@@ -19,7 +19,7 @@ done
COMMON_FLAGS="-DHAVE_CONFIG_H -I$SCRIPTDIR -O0 -g -D$DEFINE $TEST_LIBS $TEST_CFLAGS"
CLEAN="rm -f $OBJFILES"
PRECOMPILE="g++ -c $TEST_DEPS $COMMON_FLAGS"
-COMPILE="g++ -fprofile-arcs -ftest-coverage -Wall -Werror $COMMON_FLAGS -o $OUTPUT $INFILE $OBJFILES"
+COMPILE="g++ -fprofile-arcs -ftest-coverage -fno-elide-constructors -Wall -Werror $COMMON_FLAGS -o $OUTPUT $INFILE $OBJFILES"
echo -e "\033[0;2mTesting $TEST:"
echo Testing $TEST: > $OUTPUT.log