Skip to content

Commit 62f2d2c

Browse files
committed
more checks
1 parent 5d36bfe commit 62f2d2c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/ttestrunner.nim

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ suite "Test Parser":
1818
if not fileExists(file):
1919
echo "File does not exist " & file
2020
echo getCurrentDir()
21-
21+
echo "Does exists as relative?", fileExists("./" & "tests" / "projects" / "testproject" / "tests" / "testwithsuite.nim")
22+
let dir = getCurrentDir() / "tests" / "projects" / "testproject" / "tests"
23+
echo "Walking dir: ", dir, "dir exists? ", dirExists(dir)
24+
for f in dir.walkDir():
25+
echo f.path
2226
check fileExists(file)
2327
let testInfo = extractTestInfo(file)
2428
# echo testInfo

0 commit comments

Comments
 (0)