summary refs log tree commit diff stats
path: root/tests/realtimeGC/main.nim
diff options
context:
space:
mode:
authorJoseph Poirier <jdpoirier@gmail.com>2015-01-06 14:56:50 -0600
committerJoseph Poirier <jdpoirier@gmail.com>2015-01-06 14:56:50 -0600
commit159bbce6d5cf2605f3fbade8807be185a0870657 (patch)
tree31966a2056329bc4da4b1eb70d3b7f24bd314bb8 /tests/realtimeGC/main.nim
parent4e2192fd1cc1f8281a6992e6252df8ce763a9b7c (diff)
downloadNim-159bbce6d5cf2605f3fbade8807be185a0870657.tar.gz
add proper cdm strings and comment out all echos
Diffstat (limited to 'tests/realtimeGC/main.nim')
-rw-r--r--tests/realtimeGC/main.nim10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/realtimeGC/main.nim b/tests/realtimeGC/main.nim
index 98cebdd30..5496cd999 100644
--- a/tests/realtimeGC/main.nim
+++ b/tests/realtimeGC/main.nim
@@ -1,6 +1,6 @@
 discard """
-  cmd: " nim c main.nim"
-  final output: "Done!"
+  cmd: "nim $target --debuginfo $options $file"
+  output: "Done"
 """
 
 import times
@@ -26,15 +26,15 @@ proc main() =
   while accumTime < runTime:
     for i in 0..10:
       count()
-    echo("1. sleeping... ")
+    #echo("1. sleeping... ")
     sleep(500)
     for i in 0..10:
       status()
-    echo("2. sleeping... ")
+    #echo("2. sleeping... ")
     sleep(500)
     occupiedMem()
     accumTime = cast[Time]((getTime() - startTime))
-    echo("--- Minutes left to run: ", int(int(runTime-accumTime)/60))
+    #echo("--- Minutes left to run: ", int(int(runTime-accumTime)/60))
   echo("Done")
 
 main()