summary refs log tree commit diff stats
path: root/tests/tools
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2022-09-30 08:09:40 +0800
committerGitHub <noreply@github.com>2022-09-30 08:09:40 +0800
commit3e43ea3384acd666196bbcdc6029741df9b6e325 (patch)
tree1b98401564ee357ee5d5d31d188a93f587683a6e /tests/tools
parent716d68cb24beb4006815faf1b710a9e25e1ec5be (diff)
downloadNim-3e43ea3384acd666196bbcdc6029741df9b6e325.tar.gz
make koch and tools work with `nimPreviewSlimSystem` (#20459)
Diffstat (limited to 'tests/tools')
-rw-r--r--tests/tools/compile/tkoch.nim5
-rw-r--r--tests/tools/config.nims1
-rw-r--r--tests/tools/tnimgrep.nim4
3 files changed, 9 insertions, 1 deletions
diff --git a/tests/tools/compile/tkoch.nim b/tests/tools/compile/tkoch.nim
new file mode 100644
index 000000000..008721dc0
--- /dev/null
+++ b/tests/tools/compile/tkoch.nim
@@ -0,0 +1,5 @@
+discard """
+  action: compile
+"""
+
+include koch
\ No newline at end of file
diff --git a/tests/tools/config.nims b/tests/tools/config.nims
new file mode 100644
index 000000000..20eb34633
--- /dev/null
+++ b/tests/tools/config.nims
@@ -0,0 +1 @@
+--d:nimPreviewSlimSystem
\ No newline at end of file
diff --git a/tests/tools/tnimgrep.nim b/tests/tools/tnimgrep.nim
index e97b979f1..890a36e79 100644
--- a/tests/tools/tnimgrep.nim
+++ b/tests/tools/tnimgrep.nim
@@ -8,7 +8,9 @@ discard """
 """
 ## Authors: quantimnot, a-mr
 
-import osproc, os, streams, unittest, strutils
+import std/[osproc, os, streams, unittest, strutils]
+
+import std/syncio
 
 #=======
 # setup