From 87fce94d65296c8aab3b8103c3b7cf48c097e1d2 Mon Sep 17 00:00:00 2001 From: Federico Ceratto Date: Fri, 25 Jan 2019 10:29:46 +0000 Subject: [PATCH] Add "cmd" description, minor improvements (#10436) --- doc/contributing.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/contributing.rst b/doc/contributing.rst index c67db081d4..b89102a3b5 100644 --- a/doc/contributing.rst +++ b/doc/contributing.rst @@ -71,9 +71,10 @@ to create a file for import into another test only, use the prefix ``m``. At the beginning of every test is the expected behavior of the test. Possible keys are: -- output: The expected output, most likely via ``echo`` +- cmd: A compilation command template e.g. "nim $target --threads:on $options $file" +- output: The expected output (stdout + stderr), most likely via ``echo`` - exitcode: Exit code of the test (via ``exit(number)``) -- errormsg: The expected error message +- errormsg: The expected compiler error message - file: The file the errormsg was produced at - line: The line the errormsg was produced at