Commit 15f7bc38 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Allow specifying $threads directly when validating

parent c9959e41
......@@ -45,10 +45,14 @@ do
shift
done
if [ "$CPUS" = "" ]; then
threads=2
if [ "$THREADS" = "" ]; then
if [ "$CPUS" = "" ]; then
threads=2
else
threads=$(($CPUS + 1)) # `expr $CPUS + 1`
fi
else
threads=$(($CPUS + 1)) # `expr $CPUS + 1`
threads="$THREADS"
fi
if [ $testsuite_only -eq 0 ]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment