Commit f8e162b7 by Uros Bizjak Committed by Uros Bizjak

tsan-dg.exp (tsan_init): Set trivial testcase timeout value to 20s.

	* lib/tsan-dg.exp (tsan_init): Set trivial testcase
	timeout value to 20s.

From-SVN: r207453
parent 5ab39ec3
2014-02-04 Uros Bizjak <ubizjak@gmail.com>
* lib/tsan-dg.exp (tsan_init): Set trivial testcase
timeout value to 20s.
2014-02-03 Jan Hubicka <hubicka@ucw.cz>
PR ipa/59882
......
......@@ -98,6 +98,10 @@ proc tsan_init { args } {
}
}
if { $link_flags != "" } {
global individual_timeout
# Lower timeout value in case test does not terminate properly.
set individual_timeout 20
if [check_runtime_nocache tsan_works {
int main () { return 0; }
} "-fPIE -pie -fsanitize=thread -g"] {
......@@ -105,13 +109,14 @@ proc tsan_init { args } {
} else {
set dg-do-what-default compile
}
unset individual_timeout
return 1
}
return 0
}
#
# tsan_finish -- called at the start of each subdir of tests
# tsan_finish -- called at the end of each subdir of tests
#
proc tsan_finish { args } {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment