Code Review
/
openstack-build
/
ceilometer-build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
|
inline
| side by side (from parent 1:
4fe93ea
)
Do not allow unit tests to fail.
author
Thomas Goirand
<zigo@debian.org>
Sat, 18 Apr 2015 19:19:38 +0000
(21:19 +0200)
committer
Thomas Goirand
<zigo@debian.org>
Sat, 18 Apr 2015 19:19:38 +0000
(21:19 +0200)
Rewritten-From:
f06fb8e5591f9bde62ecfc74ce0401817755a592
trusty/debian/rules
patch
|
blob
|
history
diff --git
a/trusty/debian/rules
b/trusty/debian/rules
index 79608a6157635883d82b497b27126e29198c7615..0af17a95eb079f22b4c273fc93ef3201fe6a929e 100755
(executable)
--- a/
trusty/debian/rules
+++ b/
trusty/debian/rules
@@
-46,10
+46,10
@@
override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
rm -rf .testrepository
testr init
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
rm -rf .testrepository
testr init
- set -e
&&
\
- TEMP_REZ=`mktemp -t`
&&
\
- 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
; \
+ set -e
;
\
+ TEMP_REZ=`mktemp -t`
;
\
+ bash -x ./setup-test-env-mongodb.sh testr run --subunit 'tests\.(?!.*test_bin.*)' | tee $$TEMP_REZ | subunit2pyunit ; \
+ cat $$TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats ; \
rm -f $$TEMP_REZ ;
testr slowest
endif
rm -f $$TEMP_REZ ;
testr slowest
endif