|
@@ -45,6 +45,8 @@
|
45
|
45
|
#
|
46
|
46
|
# https://docs.python.org/3.4/library/unittest.html
|
47
|
47
|
#
|
|
48
|
+export PYTHONPATH="$(pwd)/$(dirname $0)/:$PYTHONPATH"
|
|
49
|
+
|
48
|
50
|
if test ! -f lodel/buildconf.py
|
49
|
51
|
then
|
50
|
52
|
echo "You have to build the project before running the tests"
|
|
@@ -52,7 +54,7 @@ then
|
52
|
54
|
exit 1
|
53
|
55
|
fi
|
54
|
56
|
|
55
|
|
-PYTHON='env python3'
|
|
57
|
+PYTHON="env python3"
|
56
|
58
|
testdir=$(mktemp -td "lodel2_unittest_instance_XXXXXXXX")
|
57
|
59
|
install_model_dir="[@]INSTALLMODEL_DIR[@]"
|
58
|
60
|
if [ ! -d "$install_model_dir" ]
|