summary refs log tree commit diff stats
path: root/tests/testament
diff options
context:
space:
mode:
authorArne Döring <arne.doering@gmx.net>2018-11-27 10:00:32 +0100
committerAndreas Rumpf <rumpf_a@web.de>2018-11-27 10:00:32 +0100
commitcc0364e72f14531466eec367f10f72e4bcd9168e (patch)
tree0e8bcfd402f6ca02f57a624feb7a00bfaccee00d /tests/testament
parent89907647090390d846dbfc3e31b19dd6deac746e (diff)
downloadNim-cc0364e72f14531466eec367f10f72e4bcd9168e.tar.gz
Tester tests (#9787)
* remove --lib:lib
* added some tests for testatment
* tests are addad WIP: add colors switch to tester
* meta tester is integrated
Diffstat (limited to 'tests/testament')
-rw-r--r--tests/testament/tshouldfail.nim17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/testament/tshouldfail.nim b/tests/testament/tshouldfail.nim
new file mode 100644
index 000000000..02e4bfd80
--- /dev/null
+++ b/tests/testament/tshouldfail.nim
@@ -0,0 +1,17 @@
+discard """
+cmd: "testament/tester --directory:testament --colors:off --nim:../compiler/nim category shouldfail"
+action: compile
+nimout: '''
+FAIL: tccodecheck.nim C
+FAIL: tcolumn.nim C
+FAIL: terrormsg.nim C
+FAIL: texitcode1.nim C
+FAIL: tfile.nim C
+FAIL: tline.nim C
+FAIL: tmaxcodesize.nim C
+FAIL: tnimout.nim C
+FAIL: toutput.nim C
+FAIL: toutputsub.nim C
+FAIL: tsortoutput.nim C
+'''
+"""