]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Using the build dir for running tests.
authorThomas Goirand <zigo@debian.org>
Wed, 15 Apr 2015 16:07:27 +0000 (18:07 +0200)
committerThomas Goirand <zigo@debian.org>
Wed, 15 Apr 2015 16:07:27 +0000 (18:07 +0200)
debian/rules

index a718c4be8a82d92b48ecfb09d69de1e7ec0274d0..38f9c69c3e2946a1a9cafb86f4cc7c61e9ffe27f 100755 (executable)
@@ -59,11 +59,11 @@ override_dh_clean:
 
 override_dh_auto_test:
 ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
-       PYTHONPATH=. ./run_tests.sh -N -P || true
+       PYTHONPATH=build/* ./run_tests.sh -N -P || true
 endif
 
 override_dh_auto_build:
-       #dh_auto_build -O--buildsystem=python_distutils
+       dh_auto_build -O--buildsystem=python_distutils
 
        /usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func neutron-common.config
        /usr/share/openstack-pkg-tools/pkgos_insert_include pkgos_func neutron-common.postinst