visual tests: set number of parallel threads by JOBS environment variable

This commit is contained in:
Jiri Drbalek 2015-05-19 18:05:38 +00:00
parent c37720066d
commit b5c2b98412

View file

@ -25,7 +25,10 @@ if [ -n "$(find test/standalone/ -maxdepth 1 -name '*-bin' -print -quit)" ]; the
fi
run_substep "Running visual tests..."
./test/visual/run
if [ -z "$JOBS" ]; then
JOBS=1
fi
./test/visual/run -j $JOBS
failures=$((failures+$?))
exit $failures