summaryrefslogtreecommitdiff
path: root/debian/pypy-lib-testsuite.install
diff options
context:
space:
mode:
Diffstat (limited to 'debian/pypy-lib-testsuite.install')
-rwxr-xr-xdebian/pypy-lib-testsuite.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/pypy-lib-testsuite.install b/debian/pypy-lib-testsuite.install
new file mode 100755
index 0000000..777a6c8
--- /dev/null
+++ b/debian/pypy-lib-testsuite.install
@@ -0,0 +1,13 @@
+#!/bin/sh
+set -euf
+
+# Some bits of the test suite (that are used by other packages)
+# are in the main stdlib package
+find lib-python -type f \
+ '(' -path '*/test/*' -o -path '*/tests/*' ')' \
+ ! '(' -path '*/test/__init__.py' -o -name pystone.py \
+ -o -name regrtest.py -o -name test_support.py ')' \
+ ! -path '*/test/data/*.txt' \
+ ! -path '*/test/data/*.TXT' \
+ ! -path '*/test/data/*.xml' \
+ -printf '%p\t/usr/lib/pypy/%h\n'