diff options
author | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2014-08-15 15:07:35 +0100 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@linaro.org> | 2014-08-15 15:07:35 +0100 |
commit | 9764c59fb1cbb7bc329c1bc7ed5f8a5cee8a6f34 (patch) | |
tree | 66cc4783c2ce4e7dd8cb7477b351819505666280 /common | |
parent | 611b2d6538e83577aeedc2fd6fc801d1b71cf809 (diff) |
Added default timeout of 10 minutes
Override the default by setting the 'timeout' variable in
execute.sh script after importing common.sh
Signed-off-by: Milosz Wasilewski <milosz.wasilewski@linaro.org>
Diffstat (limited to 'common')
-rwxr-xr-x | common/common.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/common.sh b/common/common.sh index 7d18380..a5cd3ab 100755 --- a/common/common.sh +++ b/common/common.sh @@ -7,6 +7,7 @@ post_install="" pre_uninstall="" do_streamline=false ret_value=0 +timeout=10m #function install_linaro_android_jar(){ # jar_name="linaro.android.jar" @@ -183,7 +184,7 @@ function install_run_uninstall(){ sleep 5 streamline_init_capture if [ -n "${test_method}" ]; then - ${test_method} + timeout ${timeout} ${test_method} ret_value=$? fi sleep 5 |