* lib/tsan-dg.exp (check_effective_target_fsanitize_thread):
Check if testcases run without errors, not just if they compile.
From-SVN: r219259
-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.
# 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"]
}