Commit Graph

49 Commits

Author SHA1 Message Date
Timothee Cour
4a720394bb testament megatest: we can now tell which test failed; helps debugging and prevents certain bugs, plus other fixes (#10089)
* [testament] --verboseMegatest flag to make megatest compilation verbose
* replace "tests" by testsDir
* megatest's nimcache is now in same dir as other tests to avoid clobbering (eg when running tests from multiple Nim repos)
2019-01-05 16:07:09 +01:00
Timothee Cour
5f2b66751a fix #10049 (#10083) 2018-12-23 23:00:37 +01:00
Timothee Cour
f9d58b9305 lots of testament bug fixes and improvements: (#10044) 2018-12-20 11:49:32 +01:00
alaviss
8f4befe368 Testament fixes (#10034)
* testament/htmlgen: add support for disabled and joined tests

* testament/tester: respect --targets
2018-12-18 19:49:43 +01:00
Ștefan Talpalaru
a96928968e testament: individual tests with more than a subdir in their path
e.g.: PATH="./bin:$PATH" ./koch tests r stdlib/nre/captures.nim
2018-12-13 22:06:03 +01:00
Araq
5d34dec97d fixes testament regression due to changed '/' operator 2018-12-13 16:19:00 +01:00
Araq
01892eee4b don't skip tests that really were not joined 2018-12-11 21:23:25 +01:00
Araq
8aa4b6b552 remove outputGotten.txt file on success 2018-12-11 21:23:25 +01:00
Araq
f3d2c18a12 attempt to make travis green 2018-12-11 21:23:25 +01:00
Araq
dc604ca762 don't run megatest in parallel for better error messages 2018-12-11 21:23:25 +01:00
Araq
916955dc95 make more tests green 2018-12-11 21:23:25 +01:00
Araq
4d616b5dc4 make tests green; better output for when megatest execution fails 2018-12-11 21:23:24 +01:00
Araq
0d99ff6113 testament megatest: furher refactorings making more tests green 2018-12-11 21:23:24 +01:00
Andreas Rumpf
ac785b0623 testament: joinable is now an explicit concept of a test spec 2018-12-11 21:23:24 +01:00
Araq
3b783f7e13 Testament: refactoring; makes the test joiner green 2018-12-11 21:23:23 +01:00
Arne Döring
a5ecbf823f lots of small changes 2018-12-11 21:23:22 +01:00
Arne Döring
c0c35839cc megatest integrated in default test all 2018-12-11 21:23:22 +01:00
Arne Döring
3859878db8 megatest checks output and nimout 2018-12-11 21:23:22 +01:00
Arne Döring
2a4c09ff88 megatest can be executed 2018-12-11 21:23:21 +01:00
Arne Döring
fb1f5c62b5 tshouldfail is stricter 2018-12-11 21:23:21 +01:00
Arne Döring
1105d03644 require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
Arne Döring
ca394ebd95 allow to disable backend logging 2018-12-11 21:23:20 +01:00
Arne Döring
199018ef2e test can fail because of invalid spec 2018-12-11 21:23:20 +01:00
Arne Döring
a22bf14bb6 fix htmlgen, that I broke 2018-12-11 21:23:19 +01:00
Arne Döring
dec863a85a kill testnospec 2018-12-11 21:23:19 +01:00
Arne Döring
465e742182 fix js category 2018-12-11 21:23:19 +01:00
Arne Döring
e9ea8fb6b0 remove echo 2018-12-11 21:23:19 +01:00
Arne Döring
da78c3d04d one error less 2018-12-11 21:23:18 +01:00
Arne Döring
b26378a468 WIP, most tests are now skipped 2018-12-11 21:23:18 +01:00
Arne Döring
7f6feb6034 minor changes 2018-12-11 21:23:18 +01:00
Arne Döring
fa6a9a21e0 WIP 2018-12-11 21:23:18 +01:00
Arne Döring
cc0364e72f Tester tests (#9787)
* remove --lib:lib
* added some tests for testatment
* tests are addad WIP: add colors switch to tester
* meta tester is integrated
2018-11-27 10:00:32 +01:00
Araq
2d0aa9b72b testament: remove debugging echo 2018-11-23 11:59:59 +01:00
Araq
0c0f9ba974 Windows: disabled tests 2018-11-23 11:58:32 +01:00
Arne Döring
1f7dcb874d print more to see the test in the log that was never finished. 2018-11-23 11:58:32 +01:00
Arne Döring
6946116272 fix for nimInAction 2018-11-23 11:58:30 +01:00
Arne Döring
bfcf82c7e5 maybe this time? 2018-11-23 11:58:29 +01:00
Arne Döring
f200976058 fix for dll tests 2018-11-23 11:58:29 +01:00
Arne Döring
534601637a more tests fixed 2018-11-23 11:58:29 +01:00
Arne Döring
9c2365d5c2 activated more tests, allow input in test spec 2018-11-23 11:58:28 +01:00
Arne Döring
e012eb1001 updated tests to be executed 2018-11-23 11:58:28 +01:00
Arne Döring
031bfdec6f make run the default action of a test in tester 2018-11-23 11:58:28 +01:00
cooldome
dfb8730f51 Implements #9434. Minimal Stacktrace for Exceptions in release mode (#9480)
* Fixes #9434
2018-10-28 13:40:42 +01:00
Dominik Picheta
f670c55daa Moves fsmonitor into graveyard. Fixes #6718. (#9529) 2018-10-28 13:37:51 +01:00
Araq
e66b51eb16 make testament compile again with --taintMode:on 2018-10-18 14:25:54 +02:00
Araq
be77710c8c testament: use NIM_COMPILE_TO_CPP environment variable 2018-10-18 12:12:15 +02:00
Miran
749dbce4c6 Merge tests into a larger file (part 5 of ∞) (#9368)
* merge magics

* merge metatype tests

* merge method tests

* merge objects tests

* change `import future` to `import sugar`

Nim in Action tests are left with `import future`, to ensure compatibility.

* merge overload tests

* merge proc tests

* merge procvar tests

* merge range tests

* merge seq tests

* merge sets tests

* remove wrong assert from `tsets3`

* fix `jsTests`

* better fix
2018-10-16 10:50:10 +02:00
Timothee Cour
745f1642d6 implement sizeof and alignof operator (manually squashed #5664) (#9356) 2018-10-14 00:52:28 +02:00
Jacek Sieka
97738a4f28 Testament pre parallel (#9137)
* testament: move to root dir (it's not a test)

* osproc: fix process index passed to afterRunEvent for parallel runs

it was passing the index of the process, not index of all commands

* testament: complete file move
2018-10-12 17:27:47 +02:00