diff options
author | Grzegorz Adam Hankiewicz <gradha@imap.cc> | 2013-07-06 18:51:37 +0200 |
---|---|---|
committer | Grzegorz Adam Hankiewicz <gradha@imap.cc> | 2013-07-06 18:51:37 +0200 |
commit | 4ed44fc6348cc09a8c809a76b6f21a456fa0d0c7 (patch) | |
tree | 64f3ea85798cafb1340ffae809059d043f1c10c3 /tests | |
parent | 9e649ffdf288d09e80ca727c8f444be548b1a571 (diff) | |
download | Nim-4ed44fc6348cc09a8c809a76b6f21a456fa0d0c7.tar.gz |
Moves caasdriver comments into idetools document.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/caasdriver.nim | 40 |
1 files changed, 1 insertions, 39 deletions
diff --git a/tests/caasdriver.nim b/tests/caasdriver.nim index 2ec4c888d..28f0bae9b 100644 --- a/tests/caasdriver.nim +++ b/tests/caasdriver.nim @@ -2,45 +2,7 @@ import osproc, streams, os, strutils, re ## Compiler as a service tester. ## -## This test cases uses the txt files in the caas/ subdirectory. -## -## Each of the text files inside encodes a session with the compiler: -## -## The first line indicates the main project file. -## -## Lines starting with '>' indicate a command to be sent to the compiler and -## the lines following a command include checks for expected or forbidden -## output (! for forbidden). -## -## If a line starts with '#' it will be ignored completely, so you can use that -## for comments. -## -## All the tests are run both in ProcRun (each command creates a separate -## process) and CaasRun (first command starts up a server and it is reused for -## the rest) modes. Since some cases are specific to either ProcRun or CaasRun -## modes, you can prefix a line with the mode and the line will be processed -## only in that mode. -## -## The rest of the line is treated as a regular expression, so be careful -## escaping metacharacters like parenthesis. Before the line is processed as a -## regular expression, some basic variables are searched for and replaced in -## the tests. The variables which will be replaced are: -## -## - $TESTNIM: filename specified in the first line of the script. -## - $MODULE: like $TESTNIM but without extension, useful for expected output. -## -## You can optionally pass parameters at the command line to modify the -## behaviour of the test suite. By default only tests which fail will be echoed -## to stdout. If you want to see all the output pass the word "verbose" as a -## parameter. -## -## If you don't want to run all the test case files, you can pass any substring -## as a parameter. Only files matching the passed substring will be run. The -## filtering doesn't use any globbing metacharacters, it's a plain match. -## -## Example to run only "*-compile*.txt" tests in verbose mode: -## -## ./caasdriver verbose -compile +## Please read docs/idetools.txt for information about this. type |