cleanup nimsuggest tests
This commit is contained in:
parent
0a6787f956
commit
d606f6b348
2 changed files with 4 additions and 4 deletions
|
|
@ -11,7 +11,7 @@ type
|
|||
script: seq[(string, string)]
|
||||
|
||||
const
|
||||
curDir = when defined(windows): "" else: "./"
|
||||
curDir = when defined(windows): "" else: ""
|
||||
DummyEof = "!EOF!"
|
||||
|
||||
proc parseTest(filename: string): Test =
|
||||
|
|
@ -90,7 +90,7 @@ proc runTest(filename: string): int =
|
|||
|
||||
proc main() =
|
||||
var failures = 0
|
||||
for x in walkFiles("tests/t*.nim"):
|
||||
for x in walkFiles(getAppDir() / "tests/t*.nim"):
|
||||
echo "Test ", x
|
||||
failures += runTest(expandFilename(x))
|
||||
if failures > 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue