summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2017-02-27 16:37:35 +0100
committerGitHub <noreply@github.com>2017-02-27 16:37:35 +0100
commit2b0ad99af09a30ee33bbcae8eef8eb32ee7452cf (patch)
tree9bfc2f16d6a2e382fa359736180b21a2b847580c
parentc3d6819bad34008d41abaa513ce63bd933acd640 (diff)
parenta49d88f18a53eaf5adec1edfdf536538f4e6d28e (diff)
downloadNim-2b0ad99af09a30ee33bbcae8eef8eb32ee7452cf.tar.gz
Merge pull request #5442 from FedericoCeratto/patch-24
Add comment on return value
-rw-r--r--lib/pure/unittest.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/pure/unittest.nim b/lib/pure/unittest.nim
index 49e24037a..65bcd5056 100644
--- a/lib/pure/unittest.nim
+++ b/lib/pure/unittest.nim
@@ -47,6 +47,8 @@
 ## Tests can be nested, however failure of a nested test will not mark the
 ## parent test as failed. Setup and teardown are inherited. Setup can be
 ## overridden locally.
+## Compiled test files return the number of failed test as exit code, while
+## nim c -r <testfile.nim> exits with 0 or 1
 
 import
   macros
em to prepare for .mu layers' href='/akkartik/mu/commit/cpp/makefile?h=hlt&id=6d943605ad7c5989716a3f9c05392f1394980a05'>6d943605 ^
01b2852b ^
6d943605 ^
88663269 ^
5f128523 ^


634fcea0 ^
88663269 ^
2a2856bb ^


634fcea0 ^
6ca059ef ^
634fcea0 ^
56ce5577 ^



01b2852b ^
56ce5577 ^

75cbfa28 ^
56ce5577 ^



75cbfa28 ^
88663269 ^
56ce5577 ^
01b2852b ^
75cbfa28 ^

88663269 ^
201b2e6c ^
88663269 ^
6d943605 ^
01b2852b ^
5f128523 ^
97f69507 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52