Code Review
/
openstack-build
/
ceilometer-build.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fixed running mongodb unit tests.
[openstack-build/ceilometer-build.git]
/
trusty
/
debian
/
rules
diff --git
a/trusty/debian/rules
b/trusty/debian/rules
index 1d6cd3abeb5107708d74f8020ceb6b10e38aade5..baaf59d7b4aae674fd64cb51736f4f50ce50f4ac 100755
(executable)
--- a/
trusty/debian/rules
+++ b/
trusty/debian/rules
@@
-45,7
+45,7
@@
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
testr init
set -e && \
TEMP_REZ=`mktemp -t` && \
testr init
set -e && \
TEMP_REZ=`mktemp -t` && \
- bash -x ./setup-test-env.sh testr run --subunit 'tests\.(?!.*test_bin.*)' | tee $$TEMP_REZ | subunit2pyunit || true ; \
+ bash -x ./setup-test-env
-mongodb
.sh testr run --subunit 'tests\.(?!.*test_bin.*)' | tee $$TEMP_REZ | subunit2pyunit || true ; \
cat $$TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats || true ; \
rm -f $$TEMP_REZ ;
testr slowest
cat $$TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats || true ; \
rm -f $$TEMP_REZ ;
testr slowest