summaryrefslogtreecommitdiff
path: root/debian/pypy-lib-testsuite.install
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2019-12-02 13:09:17 +0300
committerIgor Pashev <pashev.igor@gmail.com>2019-12-02 13:09:17 +0300
commit38fde63f74091af1f6a0d485474769bb6b4f17ce (patch)
tree1317a1fa2ef61c710ff5c653f43c0af8bb164ca6 /debian/pypy-lib-testsuite.install
downloadpypy-debian.tar.gz
Import pypy (7.2.0+dfsg-1)debian/7.2.0+dfsg-1debian
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'