Update specs to v. 2014.1.rc
[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 --- a/run_tests.sh
5 +++ b/run_tests.sh
6 @@ -129,7 +129,7 @@ function run_tests {
7    # Just run the test suites in current environment
8    set +e
9    testrargs=`echo "$testrargs" | sed -e's/^\s*\(.*\)\s*$/\1/'`
10 -  TESTRTESTS="$TESTRTESTS --testr-args='--subunit $testropts $testrargs'"
11 +  TESTRTESTS="$TESTRTESTS --testr-args='--subunit --concurrency 4 $testropts $testrargs'"
12    echo "Running \`${wrapper} $TESTRTESTS\`"
13    bash -c "${wrapper} $TESTRTESTS | ${wrapper} subunit2pyunit"
14    RESULT=$?