public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [ubsan] Add missing ubsan tests in g++.dg/dg.exp
@ 2013-07-31 17:06 Marek Polacek
  0 siblings, 0 replies; only message in thread
From: Marek Polacek @ 2013-07-31 17:06 UTC (permalink / raw)
  To: GCC Patches

Missing ubsan tests in g++.dg/dg.exp were causing mischief.  So add it.

Tested x86_64-pc-linux-gnu, applying to ubsan branch.

diff --git a/gcc/testsuite/ChangeLog.ubsan b/gcc/testsuite/ChangeLog.ubsan
index f3f18f9..02a6ca2 100644
--- a/gcc/testsuite/ChangeLog.ubsan
+++ b/gcc/testsuite/ChangeLog.ubsan
@@ -1,3 +1,7 @@
+2013-07-31  Marek Polacek  <polacek@redhat.com>
+
+	* g++.dg/dg.exp: Add missing ubsan tests.
+
 2013-07-30  Marek Polacek  <polacek@redhat.com>
 
 	* c-c++-common/ubsan/const-expr.c: New test.
diff --git a/gcc/testsuite/g++.dg/dg.exp b/gcc/testsuite/g++.dg/dg.exp
index 710218e..0528538 100644
--- a/gcc/testsuite/g++.dg/dg.exp
+++ b/gcc/testsuite/g++.dg/dg.exp
@@ -52,6 +52,7 @@ set tests [prune $tests $srcdir/$subdir/tm/*]
 set tests [prune $tests $srcdir/$subdir/guality/*]
 set tests [prune $tests $srcdir/$subdir/simulate-thread/*]
 set tests [prune $tests $srcdir/$subdir/asan/*]
+set tests [prune $tests $srcdir/$subdir/ubsan/*]
 
 # Main loop.
 g++-dg-runtest $tests $DEFAULT_CXXFLAGS

	Marek

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-07-31 17:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-31 17:06 [ubsan] Add missing ubsan tests in g++.dg/dg.exp Marek Polacek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).