Add configurable timeout support
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
diff --git a/lava-submit.py b/lava-submit.py
index d3d56f6..464a430 100755
--- a/lava-submit.py
+++ b/lava-submit.py
@@ -6,11 +6,35 @@
import xmlrpclib
import re
+tests_timeout = {
+ 'bluetooth-enablement': 7200,
+ 'bootchart': 300,
+ 'busybox': 300,
+ 'device-tree': 300,
+ 'e2eaudiotest': 7200,
+ 'ethernet': 600,
+ 'gatortests': 1200,
+ 'kernel-version': 300,
+ 'leb-basic-graphics': 7200,
+ 'ltp': 7200,
+ 'mysql': 300,
+ 'perf': 300,
+ 'phpinfo': 300,
+ 'phpmysql': 300,
+ 'pwrmgmt': 600,
+ 'sdkhelloc': 300,
+ 'sdkhellocxx': 300,
+ 'smoke-tests-basic': 1200,
+ 'toolchain': 300,
+ 'wifi-enablement': 7200,
+}
+
tests_nano = [
'device-tree',
'gatortests',
'perf',
'pwrmgmt',
+ 'smoke-tests-basic',
]
tests_alip = [
@@ -223,7 +247,7 @@
actions.append({
'command': 'lava_test_shell',
'parameters': {
- 'timeout': 18000,
+ 'timeout': tests_timeout[test],
'testdef_repos': test_list
}
})