1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-16 12:16:11 +00:00

tests refactoring

This commit is contained in:
deadc0de6
2023-09-21 14:09:16 +02:00
committed by deadc0de
parent c4fbd1f650
commit 6386808384
151 changed files with 469 additions and 317 deletions

View File

@@ -7,7 +7,7 @@
#
# exit on first error
#set -e
#set -euo errtrace pipefail
cur=$(cd "$(dirname "${0}")" && pwd)
@@ -16,7 +16,8 @@ ddpath="${cur}/../"
[ -n "${1}" ] && ddpath="${1}"
[ ! -d "${ddpath}" ] && echo "ddpath \"${ddpath}\" is not a directory" && exit 1
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
PPATH="{PYTHONPATH:-}"
export PYTHONPATH="${ddpath}:${PPATH}"
bin="python3 -m dotdrop.dotdrop"
echo "dotdrop path: ${ddpath}"