summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlava Pestov <sp@daterainc.com>2015-01-14 02:21:55 -0800
committerSlava Pestov <sp@daterainc.com>2015-01-14 02:29:09 -0800
commit2ba504a94eccc35ef2fadf7aac6907a0db5c31ca (patch)
tree16042d187d6e6d416a7dcba3c70c4d2213be840f
parent3e0cf72b34a6bb722d2e78320df9b31739ab7854 (diff)
Ugly hack: double test timeouts for debug builds
Change-Id: I2afdc2821104c05247aa5f67c4ca7eb291c4e69e
-rw-r--r--tests/test-libs.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/test-libs.sh b/tests/test-libs.sh
index 6536a97..8263b23 100644
--- a/tests/test-libs.sh
+++ b/tests/test-libs.sh
@@ -405,7 +405,11 @@ test_stress()
stress_timeout()
{
- echo $((($ktest_priority + 3) * 600))
+ n=$((($ktest_priority + 3) * 600))
+ if uname | grep -q -- -debug; then
+ n=$((n * 2))
+ fi
+ echo $n
}
block_device_verify_dd()