Commit Graph

175 Commits

Author SHA1 Message Date
Dominik Picheta
d3394be555 Async upcoming (#6585)
* Merge upcoming async with current.
* Various improvements to selectors (mostly docs).

Two changes to highlight:

* Renamed ``setEvent`` to ``trigger``
* Reused setBlocking from nativesockets.
* Various changes/fixes to asyncdispatch after upcoming merge.
* Make some attempts to be compatible with older selectors.
* Reuse epoll module in ioselectors_epoll.
2017-11-22 15:43:10 +01:00
Jacek Sieka
035f0fb023 pass nim path to subprocess testament (#6779) 2017-11-19 09:22:36 +01:00
Andreas Rumpf
830d1bb754 fixes #6775 2017-11-18 15:09:10 +01:00
Jacek Sieka
b122836acf use targets from test spec when running testament tests (#6687) 2017-11-15 22:37:51 +01:00
Fredrik Høisæther Rasch
3d5d6931f0 Appveyor thttpclient (#6744)
* App option value for disabling tests for AppVeyor

* Disable thttpclient on AppVeyor
2017-11-15 17:25:48 +01:00
Andreas Rumpf
4dad120d47 fixes a tester regression 2017-11-06 20:32:06 +01:00
Jacek Sieka
11f6e626d7 pass on testament args to sub-process (#6688) 2017-11-06 09:37:21 +01:00
Andreas Rumpf
4ea09e4df5 attempt to make travis green again 2017-11-05 21:44:22 +01:00
GULPF
cf9da7d751 Always compile tests in the JS category with the JS backend (#6680) 2017-11-03 21:08:09 +01:00
Araq
00898dae7a attempt to fix the tester; tests should be red now 2017-10-31 22:31:10 +01:00
Xiao-Yong
616db85c61 Let the environment variable NIMBLE_DIR overrides nimblepath in cfg file (#6542)
* Let the environment variable NIMBLE_DIR overrides nimblepath in cfg file

If the length of NIMBLE_DIR is larger than zero, the nimblepath
will be set to $NIMBLE_DIR/pkgs
2017-10-28 09:38:31 +02:00
Araq
fa02ffaeba made 'testament all' run in parallel 2017-10-25 17:37:03 +02:00
Araq
a5f1abc5ca testament: no sqlite or re dependencies anymore 2017-10-25 17:37:03 +02:00
Fredrik Høisæther Rasch
e40bf9036f Testament HTML generation upgrade (#6058) 2017-10-25 13:48:59 +02:00
Araq
b219fc74ad fixes #5143 2017-10-16 12:45:43 +02:00
Andreas Rumpf
9d4f5c6d2c enable unguarded_access test 2017-10-02 23:35:56 +02:00
Dominik Picheta
7889c03cbc Add tests for examples from Nim in Action. 2017-10-01 17:17:40 +01:00
Dominik Picheta
90fa64501f Implement .nimble-link files in the compiler and add tests for them. 2017-09-02 15:28:25 +01:00
Dominik Picheta
9b465a2361 Add readme to tests. Add fileDir option to testament & create nimble test. 2017-09-02 15:03:39 +01:00
Andreas Rumpf
686a9ae66a tester: better error message comparisons 2017-08-31 21:39:24 +02:00
Andreas Rumpf
4846e4e452 tester: make 'nimout' matching more robust against whitespace issues 2017-08-31 13:59:06 +02:00
Fredrik Høisæther Rasch
c39e202976 Introduce first class support for Android (#5772) 2017-08-06 02:18:15 +02:00
zah
39aef12446 review and merge zahary's work (#5849)
* proper indentation for the generated JS code
* improved dead-code elimination for JavaScript
* test the JS dead-code elimination

A new test spec has been added - "maxcodesize". It specifies the
maximum size of the generated code in bytes.
2017-06-03 12:45:10 +02:00
Jacek Sieka
6bbf0fb64d compiler option for testament (#5713)
* compiler option for testament

* different spacing
2017-05-15 16:34:30 +02:00
Zahary Karadjov
fe48dd1cbe further improvements to the error messages produced by concepts 2017-03-24 16:59:47 +02:00
Zahary Karadjov
74a80988d9 proper error reporting for concepts and the introduction of the {.explain.} pragma 2017-03-24 16:59:47 +02:00
Eugene Kabanov
8310d252c2 Update testament to include all tests from tests/threads category. (#5576) 2017-03-20 20:20:26 +01:00
Anatoly Galiulin
6fa1dba515 Add `tearDownForeignThreadGc` function (#5369) 2017-02-13 13:37:20 +01:00
Andreas Rumpf
4ac6a26031 testament: be verbose when --pedantic fails 2017-02-03 10:29:08 +01:00
Araq
e236039d10 make tests on Windows green under --pedantic 2017-02-02 21:12:36 +01:00
Araq
16260b23c7 make tests on Windows green 2017-01-31 23:05:36 +01:00
Araq
5b32dafff4 testament: OS specific disables 2017-01-31 22:54:58 +01:00
Araq
79f4b37d3b added test case; threadex example crashes now 2017-01-30 21:11:37 +01:00
Andreas Rumpf
61937974e2 added system.onThreadCreation feature for safe thread local storage initializations 2017-01-18 13:41:55 +01:00
Araq
d1663ca81c disable not implemented test for sighashes 2016-12-13 09:22:05 +01:00
Andreas Rumpf
56181da204 Merge pull request #4800 from Wh1teDuke/FixTesterRunOpt
[Tester] allow running single tests with 'run' option
2016-10-24 19:02:34 +02:00
Jacek Sieka
4435d83a88 run gctest for gc:none 2016-10-12 21:32:15 +08:00
Wh1teDuke
248b5c0468 Run Option: use now processSingleTest 2016-09-19 16:25:39 +02:00
Wh1teDuke
ddb70d33f8 Add processSingleTest, remove file arg from processCategory 2016-09-19 16:24:15 +02:00
Andreas Rumpf
7e86ed00ce Merge pull request #4706 from cheatfate/testupcoming
Add upcoming/asyncdispatch.nim to tests.
2016-09-04 19:29:29 +02:00
cheatfate
5a1db8af54 Fix define. 2016-09-04 01:48:13 +03:00
cheatfate
015e22c8c0 Add upcoming/asyncdispatch.nim to tests. 2016-09-04 01:22:04 +03:00
Yuriy Glukhov
a994f142b5 Enabled logging tests for js 2016-09-03 22:46:10 +03:00
Andreas Rumpf
10ee254a50 Merge pull request #4661 from yglukhov/js-uncaught-stacktrace
Uncaught exceptions in JS now always propagate with better stack trace. Fixed codegen bug.
2016-08-29 11:52:41 +02:00
Araq
7aa64941e8 disable rodfile tests depending on gtk 2016-08-28 01:44:54 +02:00
Yuriy Glukhov
cafcf1308a Treat all failure codes from nodejs as 1 2016-08-27 20:25:36 +03:00
Yuriy Glukhov
8bff930c7c Fixed js codegen issue for uncaught exceptions. 2016-08-27 16:52:08 +03:00
Araq
68e30d7d52 tester cleanup; enable some rod tests 2016-08-27 13:38:39 +02:00
Araq
a13cb26c40 next steps in getting symbol files to work again 2016-08-16 20:04:27 +02:00
cheatfate
3291ccfe24 sets don't support empty arrays :) 2016-07-30 23:28:14 +03:00