From a492216d7267f7ce0d7b00d519eaa84547dfbf2e Mon Sep 17 00:00:00 2001 From: Alexey Stepanov Date: Thu, 18 Aug 2016 12:55:50 +0300 Subject: [PATCH] translator: add run once to tests --- translator/run_tests.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/translator/run_tests.sh b/translator/run_tests.sh index aaef317165b..a382a965362 100755 --- a/translator/run_tests.sh +++ b/translator/run_tests.sh @@ -87,4 +87,8 @@ for i in $TESTS; do if [ $? -ne 0 ]; then echo -e "${lightRed}Error running test${nc}" fi + + if [ "$2" == "--once" ]; then + exit + fi done