]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Added PYTHONPATH=. before ./run_tests.sh
authorThomas Goirand <zigo@debian.org>
Wed, 25 Mar 2015 21:55:39 +0000 (22:55 +0100)
committerThomas Goirand <zigo@debian.org>
Wed, 25 Mar 2015 21:55:39 +0000 (22:55 +0100)
Rewritten-From: a690adc66b5ea37d343949c19c085df9648468c6

trusty/debian/rules

index 8f82c596471beb19644e4e790701cd3234d5c5ef..a718c4be8a82d92b48ecfb09d69de1e7ec0274d0 100755 (executable)
@@ -57,9 +57,9 @@ override_dh_clean:
        dh_clean
        find . -type f -name "*.pyc" -delete
 
-ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
 override_dh_auto_test:
-       ./run_tests.sh -N -P || true
+ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
+       PYTHONPATH=. ./run_tests.sh -N -P || true
 endif
 
 override_dh_auto_build: