diff --git a/test/run-unittest.d b/test/run-unittest.d index 2183e91..4bfc8be 100644 --- a/test/run-unittest.d +++ b/test/run-unittest.d @@ -21,7 +21,6 @@ //** die $LINENO 'Variable $DUB must be defined to run the tests.' //** fi auto dub = environment.get("DUB", ""); - writeln("DUB: ", dub); if (dub == "") { logError(`Environment variable "DUB" must be defined to run the tests.`); @@ -48,7 +47,7 @@ //** CURR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) //** FRONTEND="${FRONTEND:-}" const dc_bin = baseName(dc); - const curr_dir = args[0].absolutePath.dirName.buildNormalizedPath; + const curr_dir = __FILE_FULL_PATH__.dirName(); const frontend = environment.get("FRONTEND", ""); //** if [ "$#" -gt 0 ]; then FILTER=$1; else FILTER=".*"; fi