ubsan-dg.exp (check_effective_target_fsanitize_undefined): Check if testcases run...
authorSegher Boessenkool <segher@kernel.crashing.org>
Sat, 27 Dec 2014 16:36:20 +0000 (17:36 +0100)
committerSegher Boessenkool <segher@gcc.gnu.org>
Sat, 27 Dec 2014 16:36:20 +0000 (17:36 +0100)
* lib/ubsan-dg.exp (check_effective_target_fsanitize_undefined):
Check if testcases run without errors, not just if they compile.

From-SVN: r219084

gcc/testsuite/ChangeLog
gcc/testsuite/lib/ubsan-dg.exp

index 3725770050ca3876c1598ac9552955e7e896499c..ec4d75ea9488841ab1f93505894b9f57e8171fa5 100644 (file)
@@ -1,3 +1,8 @@
+2014-12-27  Segher Boessenkool  <segher@kernel.crashing.org>
+
+       * lib/ubsan-dg.exp (check_effective_target_fsanitize_undefined):
+       Check if testcases run without errors, not just if they compile.
+
 2014-12-26  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR target/64409
index 52a13e2bb150d64ec3e9e24e132d65c44a042351..ca1e593b49cb1607028138f8fc048a2d47dd1add 100644 (file)
@@ -18,7 +18,7 @@
 # code, 0 otherwise.
 
 proc check_effective_target_fsanitize_undefined {} {
-    return [check_no_compiler_messages fsanitize_undefined executable {
+    return [check_runtime fsanitize_undefined {
        int main (void) { return 0; }
     } "-fsanitize=undefined"]
 }