Using --parallel for running unit tests
Change-Id: I14e22baf70f17bcf3257f32cf39d89686f31f843
This commit is contained in:
parent
47efb7b339
commit
506762ed73
|
@ -56,7 +56,7 @@ ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
|
|||
testr init
|
||||
set -e ; \
|
||||
TEMP_REZ=`mktemp -t` ; \
|
||||
bash -x ./debian/setup-test-env-mongodb.sh testr run --subunit 'tests\.(?!(.*test_bin.*|.*functional.*|.*gabbi\.test_gabbi_prefix.*|.*meter\.test_notifications\.TestMeterProcessing\.test_fallback_meter_path.*|.*agent\.test_manager\.TestRunTasks\.test_batching_polled_samples_false.*))' | tee $$TEMP_REZ | subunit2pyunit ; \
|
||||
bash -x ./debian/setup-test-env-mongodb.sh testr run --subunit --parallel 'tests\.(?!(.*test_bin.*|.*functional.*|.*gabbi\.test_gabbi_prefix.*|.*meter\.test_notifications\.TestMeterProcessing\.test_fallback_meter_path.*|.*agent\.test_manager\.TestRunTasks\.test_batching_polled_samples_false.*))' | tee $$TEMP_REZ | subunit2pyunit ; \
|
||||
cat $$TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats ; \
|
||||
rm -f $$TEMP_REZ ;
|
||||
testr slowest
|
||||
|
|
Loading…
Reference in New Issue