From e909486e5cde5a4a77cd6f21b42fc9ab38ec2ae6 Mon Sep 17 00:00:00 2001 From: Timothee Cour Date: Tue, 19 May 2020 00:41:31 -0700 Subject: 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 --- tests/stdlib/tosproc.nim | 3 +-- tests/stdlib/tstackframes.nim | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'tests/stdlib') 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() -- cgit 1.4.1-2-gfad0