summary refs log tree commit diff stats
path: root/tests/dll/server.nim
diff options
context:
space:
mode:
authorArne Döring <arne.doering@gmx.net>2018-11-15 01:57:02 +0100
committerAraq <rumpf_a@web.de>2018-11-23 11:58:28 +0100
commit9c2365d5c2229f327d19262894995047a357e252 (patch)
treeac6d99d9e65afe900d36095b266212fcd262d18b /tests/dll/server.nim
parente012eb100109d343b7cdbe2598d439d84eda7830 (diff)
downloadNim-9c2365d5c2229f327d19262894995047a357e252.tar.gz
activated more tests, allow input in test spec
Diffstat (limited to 'tests/dll/server.nim')
-rw-r--r--tests/dll/server.nim8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/dll/server.nim b/tests/dll/server.nim
index e6b80df88..5ce1976ce 100644
--- a/tests/dll/server.nim
+++ b/tests/dll/server.nim
@@ -1,4 +1,5 @@
 discard """
+action: compile
   cmd: "nim $target --debuginfo --hints:on --define:useNimRtl --app:lib $options $file"
 """
 
@@ -25,10 +26,3 @@ proc newOp(k: TNodeKind, a, b: PNode): PNode {.exportc: "newOp", dynlib.} =
 
 proc buildTree(x: int): PNode {.exportc: "buildTree", dynlib.} =
   result = newOp(nkMul, newOp(nkAdd, newLit(x), newLit(x)), newLit(x))
-
-when false:
-  # Test the GC:
-  for i in 0..100_000:
-    discard buildTree(2)
-
-  echo "Done"