diff options
author | psachin | 2013-08-07 13:45:27 +0530 |
---|---|---|
committer | psachin | 2013-08-07 13:45:27 +0530 |
commit | 3d0d33b717025ac22edb1d710c13be8d7189e09a (patch) | |
tree | 0178ee0cfc1e48f3644c6a8b571ace8be951db03 | |
parent | e369f6b3a8e9153704f4da4e257ddea5d074edc9 (diff) | |
parent | 9e032e2702b1d2c7ead764fe780aadd07ed0fde0 (diff) | |
download | tbc-auto-checker-3d0d33b717025ac22edb1d710c13be8d7189e09a.tar.gz tbc-auto-checker-3d0d33b717025ac22edb1d710c13be8d7189e09a.tar.bz2 tbc-auto-checker-3d0d33b717025ac22edb1d710c13be8d7189e09a.zip |
Merge branch 'master' of https://github.com/Scilab-India/tbc-auto-checker
-rwxr-xr-x | auto.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -95,7 +95,7 @@ function scan_sce_for_errors() { sed -i 's/clc()//g' ${sce_file} sed -i 's/close;//g' ${sce_file} # run command - OUTPUT=`${SCI_PATH} -nb -nwni -f ${sce_file}` + OUTPUT=` timeout 5 ${SCI_PATH} -nb -nwni -f ${sce_file}` echo $OUTPUT if [[ "${OUTPUT}" =~ "!--error" ]]; then @@ -119,7 +119,7 @@ function scan_sce_for_errors() { sed -i 's/clc()//g' ${sce_file} sed -i 's/close;//g' ${sce_file} # run command - OUTPUT=`${SCI_PATH} -nb -nogui -f ${sce_file}` + OUTPUT=`timeout 5 ${SCI_PATH} -nb -nogui -f ${sce_file}` echo ${OUTPUT} if [[ "${OUTPUT}" =~ "error" ]]; then |