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
This commit is contained in:
parent
5ab39ec3b0
commit
f8e162b710
@ -1,3 +1,8 @@
|
||||
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 } {
|
||||
|
Loading…
x
Reference in New Issue
Block a user