1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
Author: Steffen Möller
Last-Update: 2019-04-14 16:41:16 +0200
Description: Enable finding installed modules at build time test
Index: bcbio/tests/run_tests.sh
===================================================================
--- bcbio.orig/tests/run_tests.sh
+++ bcbio/tests/run_tests.sh
@@ -21,10 +21,12 @@ if [[ ${MARK} == docker* && "`which bcbi
BCBIO_DIR=$(dirname "$(readlinkf `which bcbio_vm.py`)")
else
BCBIO_DIR=$(dirname "$(readlinkf `which bcbio_nextgen.py`)")
+ echo "I: BCBIO_DIR=$BCBIO_DIR"
fi
unset PYTHONHOME
unset PYTHONPATH
+export PYTHONPATH=$BCBIO_DIR/debian/bcbio/usr/share/python3
export PYTHONNOUSERSITE=1
# Ensure version.py exists in raw cloned bcbio directory
if [ -d "../bcbio/pipeline" ]; then
|