diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2020-05-19 00:41:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-19 09:41:31 +0200 |
commit | e909486e5cde5a4a77cd6f21b42fc9ab38ec2ae6 (patch) | |
tree | 7367a3774091f156d91e46cd4c292441ab3da46e /tests/stdlib | |
parent | 27741d6a5c9ec87a6938b2928ae54b22bc93d9be (diff) | |
download | Nim-e909486e5cde5a4a77cd6f21b42fc9ab38ec2ae6.tar.gz |
trunner was not actually being tested in non-CTFFI mode; minor testament cleanups (#14377)
* use check * trunner now works with cpp * cleanup: move compiler/unittest_light => stdtest/unittest_light * fix tests/readme.md * remove deadcode references to rodfiles * fix for windows
Diffstat (limited to 'tests/stdlib')
-rw-r--r-- | tests/stdlib/tosproc.nim | 3 | ||||
-rw-r--r-- | tests/stdlib/tstackframes.nim | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/tests/stdlib/tosproc.nim b/tests/stdlib/tosproc.nim index 36afd6a23..b5328c9eb 100644 --- a/tests/stdlib/tosproc.nim +++ b/tests/stdlib/tosproc.nim @@ -1,7 +1,6 @@ # test the osproc module -import stdtest/specialpaths -import "$nim" / compiler/unittest_light +import stdtest/[specialpaths, unittest_light] when defined(case_testfile): # compiled test file for child process from posix import exitnow diff --git a/tests/stdlib/tstackframes.nim b/tests/stdlib/tstackframes.nim index be66eb836..618ff7b92 100644 --- a/tests/stdlib/tstackframes.nim +++ b/tests/stdlib/tstackframes.nim @@ -1,5 +1,5 @@ import std/[strformat,os,osproc] -import "$nim/compiler/unittest_light" # works even if moved by megatest +import stdtest/unittest_light proc main(opt: string, expected: string) = const nim = getCurrentCompilerExe() |