mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 14:31:46 +00:00
coverage
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -12,6 +12,7 @@ venv
|
||||
.coverage
|
||||
.coverage*
|
||||
htmlcov
|
||||
coverages/
|
||||
|
||||
# IDE
|
||||
.idea/
|
||||
|
||||
3
scripts/check-unittests.sh
vendored
3
scripts/check-unittests.sh
vendored
@@ -10,4 +10,5 @@ if [ -n "${DOTDROP_WORKERS}" ]; then
|
||||
echo "DISABLE workers for unittests"
|
||||
fi
|
||||
|
||||
coverage run -p -m pytest tests
|
||||
mkdir -p coverages/
|
||||
coverage run -p --data-file coverages/coverage -m pytest tests
|
||||
3
tests-ng/actions-args-template.sh
vendored
3
tests-ng/actions-args-template.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/actions-args.sh
vendored
3
tests-ng/actions-args.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/actions-default.sh
vendored
3
tests-ng/actions-default.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/actions-empty-dir.sh
vendored
3
tests-ng/actions-empty-dir.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/actions-pre.sh
vendored
3
tests-ng/actions-pre.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/actions-template.sh
vendored
3
tests-ng/actions-template.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/actions.sh
vendored
3
tests-ng/actions.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/bad-diff-cmd.sh
vendored
3
tests-ng/bad-diff-cmd.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/chmod-compare.sh
vendored
3
tests-ng/chmod-compare.sh
vendored
@@ -12,7 +12,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/chmod-import.sh
vendored
3
tests-ng/chmod-import.sh
vendored
@@ -14,7 +14,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/chmod-install.sh
vendored
3
tests-ng/chmod-install.sh
vendored
@@ -14,7 +14,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/chmod-more.sh
vendored
3
tests-ng/chmod-more.sh
vendored
@@ -14,7 +14,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/chmod-preserve-install.sh
vendored
3
tests-ng/chmod-preserve-install.sh
vendored
@@ -12,7 +12,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/chmod-preserve-update.sh
vendored
3
tests-ng/chmod-preserve-update.sh
vendored
@@ -12,7 +12,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/chmod-update.sh
vendored
3
tests-ng/chmod-update.sh
vendored
@@ -12,7 +12,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
7
tests-ng/clear-workdir.sh
vendored
7
tests-ng/clear-workdir.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
@@ -66,8 +67,8 @@ ret="$?"
|
||||
[ "${ret}" != "0" ] && echo "install returned ${ret}" && exit 1
|
||||
|
||||
# checks
|
||||
[ ! -e "${tmpd}"/x ] && echo "f_x not installed" && exit 1
|
||||
[ ! -h "${tmpd}"/x ] && echo "f_x not symlink" && exit 1
|
||||
[ ! -e "${tmpd}"/x ] && echo "f_x not installed (${tmpd}/x)" && exit 1
|
||||
[ ! -h "${tmpd}"/x ] && echo "f_x not symlink (${tmpd}/x)" && exit 1
|
||||
[ ! -e "${DOTDROP_WORKDIR}"/"${tmpd}"/x ] && echo "f_x not in workdir (${DOTDROP_WORKDIR}/${tmpd})" && exit 1
|
||||
|
||||
# add file
|
||||
|
||||
3
tests-ng/compare-diff-types.sh
vendored
3
tests-ng/compare-diff-types.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/compare-global-negative-ignore.sh
vendored
3
tests-ng/compare-global-negative-ignore.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/compare-ignore-missing.sh
vendored
3
tests-ng/compare-ignore-missing.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/compare-ignore-relative.sh
vendored
3
tests-ng/compare-ignore-relative.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/compare-ignore.sh
vendored
3
tests-ng/compare-ignore.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/compare-include.sh
vendored
3
tests-ng/compare-include.sh
vendored
@@ -12,7 +12,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/compare-negative-ignore-all-but.sh
vendored
3
tests-ng/compare-negative-ignore-all-but.sh
vendored
@@ -12,7 +12,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/compare-negative-ignore-relative.sh
vendored
3
tests-ng/compare-negative-ignore-relative.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/compare-profile-check.sh
vendored
3
tests-ng/compare-profile-check.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/compare.sh
vendored
3
tests-ng/compare.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/corner-case.sh
vendored
3
tests-ng/corner-case.sh
vendored
@@ -18,7 +18,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/deprecated-link.sh
vendored
3
tests-ng/deprecated-link.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/diff-cmd.sh
vendored
3
tests-ng/diff-cmd.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/dir-import-update.sh
vendored
3
tests-ng/dir-import-update.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/dotdrop-variables.sh
vendored
3
tests-ng/dotdrop-variables.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/dotfile-no-src.sh
vendored
3
tests-ng/dotfile-no-src.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/dotfile-sub-variables.sh
vendored
3
tests-ng/dotfile-sub-variables.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/dotfile-variables.sh
vendored
3
tests-ng/dotfile-variables.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/dotfiles-all.sh
vendored
3
tests-ng/dotfiles-all.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/dotfiles-dyn-paths.sh
vendored
3
tests-ng/dotfiles-dyn-paths.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/double-config-import.sh
vendored
3
tests-ng/double-config-import.sh
vendored
@@ -12,7 +12,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/dry.sh
vendored
3
tests-ng/dry.sh
vendored
@@ -12,7 +12,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/duplicate-key.sh
vendored
3
tests-ng/duplicate-key.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/dynactions.sh
vendored
3
tests-ng/dynactions.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/dyndotfilepaths.sh
vendored
3
tests-ng/dyndotfilepaths.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/dynextvariables.sh
vendored
3
tests-ng/dynextvariables.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/dyninclude.sh
vendored
3
tests-ng/dyninclude.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/dynvariables.sh
vendored
3
tests-ng/dynvariables.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/env.sh
vendored
3
tests-ng/env.sh
vendored
@@ -12,7 +12,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/ext-actions.sh
vendored
3
tests-ng/ext-actions.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/extvariables.sh
vendored
3
tests-ng/extvariables.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/filter_file.sh
vendored
3
tests-ng/filter_file.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/force-actions.sh
vendored
3
tests-ng/force-actions.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/func_file.sh
vendored
3
tests-ng/func_file.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/global-compare-ignore.sh
vendored
3
tests-ng/global-compare-ignore.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/global-update-ignore.sh
vendored
3
tests-ng/global-update-ignore.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/globs.sh
vendored
3
tests-ng/globs.sh
vendored
@@ -16,7 +16,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/header.sh
vendored
3
tests-ng/header.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/ignore-empty.sh
vendored
3
tests-ng/ignore-empty.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/import-as.sh
vendored
3
tests-ng/import-as.sh
vendored
@@ -12,7 +12,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/import-configs.sh
vendored
3
tests-ng/import-configs.sh
vendored
@@ -12,7 +12,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/import-configs2.sh
vendored
3
tests-ng/import-configs2.sh
vendored
@@ -12,7 +12,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/import-duplicate.sh
vendored
3
tests-ng/import-duplicate.sh
vendored
@@ -12,7 +12,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/import-ignore.sh
vendored
3
tests-ng/import-ignore.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/import-include.sh
vendored
3
tests-ng/import-include.sh
vendored
@@ -12,7 +12,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/import-link-children.sh
vendored
3
tests-ng/import-link-children.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/import-negative-ignore-all-but.sh
vendored
3
tests-ng/import-negative-ignore-all-but.sh
vendored
@@ -12,7 +12,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/import-negative-ignore.sh
vendored
3
tests-ng/import-negative-ignore.sh
vendored
@@ -12,7 +12,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/import-non-existing.sh
vendored
3
tests-ng/import-non-existing.sh
vendored
@@ -12,7 +12,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/import-profile-dotfiles.sh
vendored
3
tests-ng/import-profile-dotfiles.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/import-subfile.sh
vendored
3
tests-ng/import-subfile.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/import-to-no-profile.sh
vendored
3
tests-ng/import-to-no-profile.sh
vendored
@@ -12,7 +12,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/import-variables.sh
vendored
3
tests-ng/import-variables.sh
vendored
@@ -14,7 +14,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/import-with-empty.sh
vendored
3
tests-ng/import-with-empty.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/import-with-trans.sh
vendored
3
tests-ng/import-with-trans.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/import.sh
vendored
3
tests-ng/import.sh
vendored
@@ -12,7 +12,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/imported-configs-variables.sh
vendored
3
tests-ng/imported-configs-variables.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/imported-variables-from-config.sh
vendored
3
tests-ng/imported-variables-from-config.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/include-actions.sh
vendored
3
tests-ng/include-actions.sh
vendored
@@ -14,7 +14,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/include-order.sh
vendored
3
tests-ng/include-order.sh
vendored
@@ -14,7 +14,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/include-variables.sh
vendored
3
tests-ng/include-variables.sh
vendored
@@ -14,7 +14,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/include.sh
vendored
3
tests-ng/include.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/inst-link-default.sh
vendored
3
tests-ng/inst-link-default.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/install-empty.sh
vendored
3
tests-ng/install-empty.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/install-ignore.sh
vendored
3
tests-ng/install-ignore.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
20
tests-ng/install-link-children.sh
vendored
20
tests-ng/install-link-children.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
@@ -73,17 +74,16 @@ cd "${ddpath}" | ${bin} install -f -c "${cfg}" -p p1 -V
|
||||
#cat ${cfg}
|
||||
|
||||
# check normal
|
||||
[ ! -d "${tmpd}"/dir1 ] && exit 1
|
||||
[ -d "${tmpd}"/dir1/empty ] && exit 1
|
||||
[ -d "${tmpd}"/dir1/sub ] && exit 1
|
||||
[ -d "${tmpd}"/dir1/sub/empty ] && exit 1
|
||||
[ ! -d "${tmpd}"/dir1/not-empty ] && exit 1
|
||||
|
||||
[ ! -e "${tmpd}"/dir1/not-empty/file ] && exit 1
|
||||
[ ! -d "${tmpd}"/dir1 ] && echo "not dir \"${tmpd}/dir1\"" && exit 1
|
||||
[ -d "${tmpd}"/dir1/empty ] && echo "exists: \"${tmpd}/dir1/empty\"" && exit 1
|
||||
[ -d "${tmpd}"/dir1/sub ] && echo "exists: \"${tmpd}/dir1/sub\"" && exit 1
|
||||
[ -d "${tmpd}"/dir1/sub/empty ] && echo "exists: \"${tmpd}/dir1/sub/empty\"" && exit 1
|
||||
[ ! -d "${tmpd}"/dir1/not-empty ] && echo "not dir: \"${tmpd}/dir1/not-empty\"" && exit 1
|
||||
[ ! -e "${tmpd}"/dir1/not-empty/file ] && echo "not exists: \"${tmpd}/dir1/not-empty/file\"" && exit 1
|
||||
|
||||
# ignored files
|
||||
[ -e "${tmpd}"/dir1/empty/this.ignore ] && exit 1
|
||||
[ -e "${tmpd}"/dir1/sub/empty/that.ignore ] && exit 1
|
||||
[ -e "${tmpd}"/dir1/empty/this.ignore ] && echo "exists: \"${tmpd}/dir1/empty/this.ignore\"" && exit 1
|
||||
[ -e "${tmpd}"/dir1/sub/empty/that.ignore ] && echo "exists: \"${tmpd}/dir1/sub/empty/that.ignore\"" && exit 1
|
||||
|
||||
cat "${tmpd}"/dir1/not-empty/file
|
||||
grep "p1" "${tmpd}"/dir1/not-empty/file
|
||||
|
||||
3
tests-ng/install-negative-ignore-all-but.sh
vendored
3
tests-ng/install-negative-ignore-all-but.sh
vendored
@@ -12,7 +12,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/install-negative-ignore-no-match.sh
vendored
3
tests-ng/install-negative-ignore-no-match.sh
vendored
@@ -14,7 +14,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/install-negative-ignore.sh
vendored
3
tests-ng/install-negative-ignore.sh
vendored
@@ -12,7 +12,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/install-to-temp.sh
vendored
3
tests-ng/install-to-temp.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/install.sh
vendored
3
tests-ng/install.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/jhelpers.sh
vendored
3
tests-ng/jhelpers.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/key-prefix-sep.sh
vendored
3
tests-ng/key-prefix-sep.sh
vendored
@@ -12,7 +12,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/link-import-default.sh
vendored
3
tests-ng/link-import-default.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/link-templates-dir-home.sh
vendored
3
tests-ng/link-templates-dir-home.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/link-templates-dir.sh
vendored
3
tests-ng/link-templates-dir.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/link-templates.sh
vendored
3
tests-ng/link-templates.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/link-value-tests.sh
vendored
3
tests-ng/link-value-tests.sh
vendored
@@ -14,7 +14,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/macro-with-globals.sh
vendored
3
tests-ng/macro-with-globals.sh
vendored
@@ -12,7 +12,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/minversion.sh
vendored
3
tests-ng/minversion.sh
vendored
@@ -11,7 +11,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/misc.sh
vendored
3
tests-ng/misc.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
3
tests-ng/notemplate.sh
vendored
3
tests-ng/notemplate.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user