diff --git a/test/tquickstart.nim b/test/tquickstart.nim index 5c8180a..17ff18c 100644 --- a/test/tquickstart.nim +++ b/test/tquickstart.nim @@ -103,7 +103,7 @@ proc testsFor(path: string, root: bool = true, titlePrefix: string = ""): NimNode {.compileTime.} = result = newStmtList() let - baseDir = staticExec("pwd") + baseDir = parentDir(staticExec("pwd")) nimPathRaw = staticExec("which nim") nimPath = if nimPathRaw[0] == '/': nimPathRaw else: baseDir / nimPathRaw title = titlePrefix & slurp(baseDir / path / "title").splitLines()[0]