From 3f527140ed73d8dbb0a6cd1a09d406f4b221b68d Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Wed, 15 Apr 2015 18:07:27 +0200 Subject: [PATCH] Using the build dir for running tests. --- debian/rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index a718c4be8..38f9c69c3 100755 --- a/debian/rules +++ b/debian/rules @@ -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 -- 2.45.2