diff options
-rw-r--r-- | tests/specials.nim | 6 | ||||
-rw-r--r-- | tests/system/io.nim | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/tests/specials.nim b/tests/specials.nim index ea3e58fbf..5152b089f 100644 --- a/tests/specials.nim +++ b/tests/specials.nim @@ -130,8 +130,10 @@ proc rejectThreadTests(r: var TResults, options: string) = # ------------------------- IO tests ----------------------------------- -proc runIOTests(r: var TResults, options: string) = +proc compileIOTests(r: var TResults, options: string) = compileSingleTest(r, "tests/system/helpers/readall_echo.nim", options) + +proc runIOTests(r: var TResults, options: string) = runSingleTest(r, "tests/system/io", options) # ------------------------- register special tests here ----------------------- @@ -151,3 +153,5 @@ proc compileSpecialTests(r: var TResults, options: string) = compileSingleTest(r, "compiler/c2nim/c2nim.nim", options) compileSingleTest(r, "compiler/pas2nim/pas2nim.nim", options) + compileIOTests(r, options) + diff --git a/tests/system/io.nim b/tests/system/io.nim index 4837f7093..2c68fd249 100644 --- a/tests/system/io.nim +++ b/tests/system/io.nim @@ -9,7 +9,7 @@ const TEST_FILE = "tests/testdata/string" proc echoLoop(str: string): string = result = "" - var process = startProcess(os.addFileExt("tests/system/helpers/readall_echo", ExeExt)) + var process = startProcess(findExe("tests/system/helpers/readall_echo")) var input = process.inputStream input.write(str) input.close() |