Update specs to v. 2014.1.b3
[openstack-build/neutron-build.git] / debian / patches / use-concurrency.patch
1 Description: Use concurrency of 4.
2 Author: Chuck Short <zulcss@ubuntu.com>
3 Fowarded: Not needed.
4 diff --git a/run_tests.sh b/run_tests.sh
5 index 4d838e8..6739fee 100755
6 --- a/run_tests.sh
7 +++ b/run_tests.sh
8 @@ -129,7 +129,7 @@ function run_tests {
9    # Just run the test suites in current environment
10    set +e
11    testrargs=`echo "$testrargs" | sed -e's/^\s*\(.*\)\s*$/\1/'`
12 -  TESTRTESTS="$TESTRTESTS --testr-args='--subunit $testropts $testrargs'"
13 +  TESTRTESTS="$TESTRTESTS --testr-args='--subunit --concurrency 4 $testropts $testrargs'"
14    echo "Running \`${wrapper} $TESTRTESTS\`"
15    bash -c "${wrapper} $TESTRTESTS | ${wrapper} subunit2pyunit"
16    RESULT=$?
17 -- 
18 1.9.0
19