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
This commit is contained in:
Eric Botcazou 2015-01-06 12:23:07 +00:00
parent 6a6b03ba34
commit f423b58c5a
2 changed files with 7 additions and 2 deletions

View 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.

View 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"]
}