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