translator: add run once to tests

This commit is contained in:
Alexey Stepanov
2016-08-18 12:55:50 +03:00
parent d29f272e4b
commit a492216d72
+4
View File
@@ -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