tsan-dg.exp (check_effective_target_fsanitize_thread): Check if testcases run without...
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 6 Jan 2015 12:23:07 +0000 (12:23 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 6 Jan 2015 12:23:07 +0000 (12:23 +0000)
* lib/tsan-dg.exp (check_effective_target_fsanitize_thread):
Check if testcases run without errors, not just if they compile.

From-SVN: r219259

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

index 63eeda9cec2a7b3028a62814e244fdbac066d6a1..0f980c35f9e13fa12b2dab6f5faefee215aaf155 100644 (file)
@@ -1,4 +1,9 @@
-2015-01-08  Christian Bruel  <christian.bruel@st.com>
+2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * lib/tsan-dg.exp (check_effective_target_fsanitize_thread):
+       Check if testcases run without errors, not just if they compile.
+
+2015-01-06  Christian Bruel  <christian.bruel@st.com>
 
        PR target/64507
        * gcc.target/sh/pr64507.c: New test.
index 94be6ebf8cb7807636318e7777b62f64209b295d..eb528f8513e392b3a21eca180f422287a24167a2 100644 (file)
@@ -18,7 +18,7 @@
 # code, 0 otherwise.
 
 proc check_effective_target_fsanitize_thread {} {
-    return [check_no_compiler_messages fsanitize_thread executable {
+    return [check_runtime fsanitize_thread {
        int main (void) { return 0; }
     } "-fsanitize=thread"]
 }