summary refs log tree commit diff stats
path: root/tests/caas
diff options
context:
space:
mode:
authorGrzegorz Adam Hankiewicz <gradha@imap.cc>2013-06-07 20:26:09 +0200
committerGrzegorz Adam Hankiewicz <gradha@imap.cc>2013-06-07 20:28:02 +0200
commit1d813167c4464e3d955764ca54a1df51817ace4d (patch)
tree620ef98e7d45882d904faf5d909d2a0a94ec1dc9 /tests/caas
parent8f76092b89212ed9f691d288d11dc660dacc9d52 (diff)
downloadNim-1d813167c4464e3d955764ca54a1df51817ace4d.tar.gz
Implements prefixes for comments or specific mode runs.
Diffstat (limited to 'tests/caas')
-rw-r--r--tests/caas/basic-recompile.txt5
-rw-r--r--tests/caas/compile-suggest.txt5
-rw-r--r--tests/caas/suggest-compile.txt5
3 files changed, 10 insertions, 5 deletions
diff --git a/tests/caas/basic-recompile.txt b/tests/caas/basic-recompile.txt
index 9c943fe88..d869944b9 100644
--- a/tests/caas/basic-recompile.txt
+++ b/tests/caas/basic-recompile.txt
@@ -2,6 +2,9 @@ main.nim
 > c
 SuccessX
 > c
-! Processing
+# The "Processing" string will be found always in proc mode since each
+# compilation command will generate it. We need to test it only in Caas mode to
+# verify the server is not recompiling again the file.
+CaasRun ! Processing
 SuccessX
 
diff --git a/tests/caas/compile-suggest.txt b/tests/caas/compile-suggest.txt
index 3cc0ee0cb..f90fc5aa1 100644
--- a/tests/caas/compile-suggest.txt
+++ b/tests/caas/compile-suggest.txt
@@ -1,7 +1,8 @@
 main.nim
 > c
 SuccessX
+# Ugh, undocumented trackDirty, how is it supposed to work? Fails in proc mode.
 > idetools --trackDirty:main_dirty.nim,main.nim,12,7 --suggest
-skField\tx
-skField\ty
+CaasRun skField\tx
+CaasRun skField\ty
 
diff --git a/tests/caas/suggest-compile.txt b/tests/caas/suggest-compile.txt
index 76756c86e..897d14f52 100644
--- a/tests/caas/suggest-compile.txt
+++ b/tests/caas/suggest-compile.txt
@@ -1,7 +1,8 @@
 main.nim
+# Ugh, undocumented trackDirty, how is it supposed to work? Fails in proc mode.
 > idetools --trackDirty:main_dirty.nim,main.nim,12,7 --suggest
-skField\tx
-skField\ty
+CaasRun skField\tx
+CaasRun skField\ty
 > c
 SuccessX