Skip to content

Commit 6e3e683

Browse files
author
Daniel Zagaynov
committed
Make run_tests.sh find where pyxcrypt was installed
It is possible that on different linux distributions it can be placed with different prefix (purelib, platlib)
1 parent 73b13d4 commit 6e3e683

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/run_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
mkdir -p /tmp/test_env
44
meson compile
55
DESTDIR=/tmp/test_env meson install
6-
PYTHONPATH=/tmp/test_env/usr/local/lib/python3/site-packages:/tmp/test_env/usr/local/lib64/python3/site-packages python3 -P -m unittest discover -s "$1" -v
6+
PYTHONPATH=$(find /tmp/test_env -name pyxcrypt -printf %h) python3 -P -m unittest discover -s "$1" -v

0 commit comments

Comments
 (0)