Files
gentoo/dev-python/cgroup-utils/files/cgroup-utils-0.8-tests-builddir.patch
Sebastian Pipping 10233b368e dev-python/cgroup-utils: 0.8 + EAPI 7 + tests + py3[78]
Bug: https://bugs.gentoo.org/711808
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Package-Manager: Portage-2.3.92, Repoman-2.3.20
2020-03-27 16:02:40 +01:00

26 lines
644 B
Diff

From cf44c226f26a3d753402d36c66fcb8f81b4748f5 Mon Sep 17 00:00:00 2001
From: Sebastian Pipping <sebastian@pipping.org>
Date: Fri, 27 Mar 2020 15:35:46 +0100
Subject: [PATCH] Make tests find the build
---
test_all.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test_all.sh b/test_all.sh
index d158f76..4fbbf2e 100644
--- a/test_all.sh
+++ b/test_all.sh
@@ -85,7 +85,7 @@ test_support()
fi
}
-buildpath=$(find ./build/lib.linux* -maxdepth 0 -type d)
+buildpath="${BUILD_DIR}"/lib # passed by distutils-r1 eclass
export PYTHONPATH=$buildpath:.
echo "## Testing each commands for each subsystems"
--
2.24.1