mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-15 04:39:31 +08:00
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:
parent
6a6b03ba34
commit
f423b58c5a
@ -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
|
PR target/64507
|
||||||
* gcc.target/sh/pr64507.c: New test.
|
* gcc.target/sh/pr64507.c: New test.
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
# code, 0 otherwise.
|
# code, 0 otherwise.
|
||||||
|
|
||||||
proc check_effective_target_fsanitize_thread {} {
|
proc check_effective_target_fsanitize_thread {} {
|
||||||
return [check_no_compiler_messages fsanitize_thread executable {
|
return [check_runtime fsanitize_thread {
|
||||||
int main (void) { return 0; }
|
int main (void) { return 0; }
|
||||||
} "-fsanitize=thread"]
|
} "-fsanitize=thread"]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user