diff options
author | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2015-01-06 12:23:07 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2015-01-06 12:23:07 +0000 |
commit | f423b58c5a93e43658c566a540312934bc63faca (patch) | |
tree | 11c258ba296a061b6af71a20cca4debe1a5a3718 /gcc | |
parent | 6a6b03ba34e7a0d84f7a92ba378ac602c5759209 (diff) | |
download | gcc-f423b58c5a93e43658c566a540312934bc63faca.zip gcc-f423b58c5a93e43658c566a540312934bc63faca.tar.gz gcc-f423b58c5a93e43658c566a540312934bc63faca.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | 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 63eeda9..0f980c3 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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. diff --git a/gcc/testsuite/lib/tsan-dg.exp b/gcc/testsuite/lib/tsan-dg.exp index 94be6eb..eb528f8 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"] } |