Fix not running bin tests
authorThomas Goirand <thomas@goirand.fr>
Fri, 14 Mar 2014 09:45:41 +0000 (17:45 +0800)
committerThomas Goirand <thomas@goirand.fr>
Fri, 14 Mar 2014 09:45:41 +0000 (17:45 +0800)
Change-Id: I9d913ac41595a8e54e2979eabac18139116f35b3

Rewritten-From: d073237f31a2a697cfd580a638ce2c81cea2637a

xenial/debian/rules

index 48e55db96f28d70f1c07c9a37f66d79e8cd42206..9335d2d64a683b0ee8435ff8b30736806a88ae55 100755 (executable)
@@ -36,7 +36,7 @@ override_dh_auto_clean:
 
 ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
 override_dh_auto_test:
-       bash -x ./setup-test-env.sh python setup.py testr --slowest '(?!tests.test_bin)' || true
+       bash -x ./setup-test-env.sh python setup.py testr --slowest --testr-args='tests\.(?!.*test_bin.*)' || true
        #./run-tests.sh || true
        #PYTHONPATH=. nosetests -P || true
 endif