summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tests/realtimeGC/main.nim10
-rw-r--r--tests/realtimeGC/shared.nim10
2 files changed, 10 insertions, 10 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()
diff --git a/tests/realtimeGC/shared.nim b/tests/realtimeGC/shared.nim
index 5da1f1fc2..df11b4ef9 100644
--- a/tests/realtimeGC/shared.nim
+++ b/tests/realtimeGC/shared.nim
@@ -1,5 +1,5 @@
 discard """
-  cmd: " nim c shared.nim"
+  cmd: "nim $target --debuginfo --hints:on --app:lib $options $file"
 """
 
 import strutils
@@ -45,16 +45,16 @@ proc status() {.exportc: "status", dynlib.} =
   var a = getComm1Status()
   var b = getComm2Status()
   var str2: string = "$1  COM1: $2  COM2: $3" % [ptt_status, a, b]
-  echo(str1)
-  echo(str2)
+  #echo(str1)
+  #echo(str2)
 
 proc count() {.exportc: "count", dynlib.} =
   var temp: uint64
   for i in 0..100_000:
     temp += 1
   gCounter += 1
-  echo("gCounter: ", gCounter)
+  #echo("gCounter: ", gCounter)
 
 proc occupiedMem() {.exportc: "occupiedMem", dynlib.} =
-  echo("Occupied Memmory: ", getOccupiedMem())
+  #echo("Occupied Memmory: ", getOccupiedMem())