diff --git a/Makefile b/Makefile index c62ef5d2..c70c0a87 100644 --- a/Makefile +++ b/Makefile @@ -379,9 +379,3 @@ docs-build: install docs: docs-build @open docs/build/html/index.html - - -## Checks does_config_dir is set -does_set: - @if [ ! -d "$(does_config_dir)" ]; then echo "DOES_PROJECT_DIR is not set, please set environment variables"; exit 1; fi - diff --git a/doespy/doespy/util.py b/doespy/doespy/util.py index 2854d6a0..8598cc68 100644 --- a/doespy/doespy/util.py +++ b/doespy/doespy/util.py @@ -94,8 +94,8 @@ def get_suite_roles_dir(): def get_results_dir(): prj_dir = get_project_dir() - results_dir_name = os.environ.get("DOES_RESULTS_DIR", "doe-suite-results") - results_dir = os.path.join(prj_dir, results_dir_name) + results_dir_name = "doe-suite-results" + results_dir = os.environ.get("DOES_RESULTS_DIR", os.path.join(prj_dir, results_dir_name)) return results_dir