From f423b58c5a93e43658c566a540312934bc63faca Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Tue, 6 Jan 2015 12:23:07 +0000 Subject: [PATCH] tsan-dg.exp (check_effective_target_fsanitize_thread): Check if testcases run without errors, not just if they compile. * 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 | 7 ++++++- gcc/testsuite/lib/tsan-dg.exp | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 63eeda9cec2..0f980c35f9e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,4 +1,9 @@ -2015-01-08 Christian Bruel +2015-01-06 Eric Botcazou + + * 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 PR target/64507 * gcc.target/sh/pr64507.c: New test. diff --git a/gcc/testsuite/lib/tsan-dg.exp b/gcc/testsuite/lib/tsan-dg.exp index 94be6ebf8cb..eb528f8513e 100644 --- a/gcc/testsuite/lib/tsan-dg.exp +++ b/gcc/testsuite/lib/tsan-dg.exp @@ -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"] } -- 2.30.2