Commit Graph

73 Commits

Author SHA1 Message Date
Miran
8088633250 faster CIs (#13803)
* ttables: smaller table, 5x speedup

* thavlak: less iterations, less loops; 30% speedup

* tasyncclosestall: shorter timeout; 35% speedup

* gcleak4: less iterations, 2x speedup

* ttimes: remove deprecated stuff

* tdangerisrelease: remove cpp backend, 3x speedup

* tfrexp1: smaller range, 2x speedup

* trtree: fix warnings, less iterations, 6x speedup

* tasyncawait_cyclebreaker: smaller swarm size; 2x speedup

* trealloc: smaller number of iterations; 10x speedup

* towned_binary_tree: less iterations, 4x speedup

* tclosure: remove unused code, less iterations; 2x speedup

* twaitany: less durations; 1.4x speedup

* tasync_misc: less iterations, 2x speedup

* t8535: smaller sleep, 1.5x speedup

* tmanyjoin: smaller sleep, 2x speedup

* t12221: shorter sleeps, removed two slower tests; 1.6x speedup

* tfuturestream: smaller sleep; 1.5x speedup

* growobjcrash: less iterations; 2x speedup

* ttryrecv: smaller sleep; 1.5x speedup

* treusetvar: less threads; 2x speedup

* delete tthreadanalysis2, basically a duplicate of tthreadanalysis

* t7758: less iterations, 1.5x speedup

* tasyncawait: smaller swarm, less messages; 1.5x speedup

* tjsandnativeasync: smaller sleep, 1.5x speedup

* tpendingcheck: smaller sleep, 1.5x speedup

* remove rodfiles test category

* move tseq from its own category to 'collections' category

* remove unneeded tests and helpers from 'assert' category

* stdlib: merge tbitops2 into tbitops

* remove 'trepr2' from 'stdlib' cat

* merge 'tstreams' into one file

* remove 'tinefficient_const_table' from 'ccbugs' cat

* merge 'tcollections_to_string' into 'tcollections'

* tblocking_channel: smaller sleep, small speedup

* tconvexhull: less iterartions; 1.2x speedup

* merge 'tdeepcopy2' into 'tdeepcopy'

* merge 'tdisjoint_slice2' into 'tdisjoint_slice1'

* tmissing_deepcopy: smaller sequence

* tsendtwice: smaller arrays; 5x speedup

* remove 'tindexerrorformatbounds'

* disable multimethod tests

* remove 'gc:none' and 'refc' without 'd:useRealtimeGC' from gc tests

* koch.nim: bootstrap just with '-d:release', no need for 'csource'

* add github workflow for documentation

* testament: no need for 8 sub-second decimals
2020-03-30 13:18:12 +02:00
Clyybber
f3eb0a5970 capture macro now accepts variables of different types (#13356)
* Capture macro can now accept variables of different types

* Add test

* Update examples

* Use let instead of var
2020-02-15 19:53:40 +01:00
Clyybber
d43e5bef39 Fix capture for object types (#13315)
* Fix capture for object|tuple|... types

* Add test case
2020-02-02 13:52:21 +01:00
Judd
56cf3403b4 introduce capture macro (#12712)
capture works for more cases than `closureScope`.
2019-12-10 13:16:37 +01:00
narimiran
ee6df5bd24 close #7104 by writing a test 2019-09-13 07:59:38 +02:00
Andreas Rumpf
135fdde6a9 fixes #11523 2019-06-26 23:41:20 +02:00
Miran
0ebfcd4c0f Remove deprecated modules (asyncio, sockets, ftpclient) (#10401) 2019-01-22 16:06:44 +01:00
Araq
f3d2c18a12 attempt to make travis green 2018-12-11 21:23:25 +01:00
Arne Döring
1105d03644 require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
Araq
7a0191ac7e fixes #9441 2018-12-06 08:06:54 +01:00
Arne Döring
e012eb1001 updated tests to be executed 2018-11-23 11:58:28 +01:00
Araq
6279b0587a make tests green again 2018-11-16 19:54:49 +01:00
Araq
9a05fd9dcf disable some tests for the C++ target; refs #7870 2018-11-15 15:10:50 +01:00
Miran
1b17c9f693 More descriptive names of test files (#9531)
* change generic `tissues` name to more specific
* change `tvarious` to more specific names
2018-10-29 17:07:27 +01:00
Miran
7f18d7cbc1 Merge tests into a larger file (part 1 of ∞) (#9318)
* merge actiontable tests

* merge arithm tests

* merge array tests

* merge assign tests

* merge bind tests

* merge casestmt tests

* merge closure tests

* merge cnt seq tests

* merge collections tests

* merge concept issues tests

* merge concept tests

* fix failing tests

* smaller outputs

Use `doAssert` where possible.

* fix wrong output

* split `tcomputedgoto`

* revert merging concepts

* fix failing test
2018-10-12 17:02:46 +02:00
Araq
c92fdb24c8 fixes #5015 2018-10-03 00:00:19 +02:00
LemonBoy
ba7c874a7d Mysterious fix for #8550 (#8561)
Replacing the `for` body with a nkEmpty node is not the right thing to
do.
2018-08-12 20:41:48 +02:00
Andreas Rumpf
c57e320c94 fixes 7833 (#8533)
* fixes #7833; still to-do: fix setLen
* make tests green again
* also fixes setLen and string concats; refs #7833
* change formating to avoid a compiler warning
* emit the write barrier also for addChar
* fixes yet another regression
* make setLengthStr compile for the old version
* make growobjcrash complete earlier
2018-08-05 11:42:38 +02:00
Andreas Rumpf
ae82406c8b make tests green again 2018-07-05 19:14:18 +02:00
Araq
b57d14b1ae make more tests green 2018-02-10 20:55:22 +01:00
Araq
8cc268876a bugfix: detect captures in non-closure inner procs 2017-11-03 18:05:14 +01:00
Daniil Yarancev
9570c6e6f4 Add a test-case for #1641 2017-10-16 14:04:36 +03:00
Zahary Karadjov
7ad115f530 Restore the old behavior of parsing "quote do:"
close #5845
2017-08-19 08:57:43 +02:00
Araq
7be896a75a disable tboehmdeepcopy for Windows as we don't have a version of Boehm GC on Windows 2017-08-04 22:24:37 +02:00
Arne Döring
000b8afd26 Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
Andreas Rumpf
ad608838bf closures have an object type field so that we can perform correct deepCopy() for the BoehmGC target 2017-07-22 11:10:52 +02:00
Zahary Karadjov
a3f19c87fb lift parameter-less do block to lambdas 2017-04-10 23:58:05 +03:00
Zahary Karadjov
34b2527441 the new blocks without 'do' produce compatible AST with 'do blocks' 2017-04-09 23:45:52 +03:00
Zahary Karadjov
987b522071 fix the do notation when used with procs 2017-04-09 22:59:24 +03:00
Andreas Rumpf
b9322010e9 make tests green again 2016-08-25 21:56:21 +02:00
Yuriy Glukhov
e61cfea78b Fixed broken test. Added closureScope test. 2016-06-28 13:15:02 +03:00
Andreas Rumpf
8dec1dcd1f make tests green 2016-05-11 21:17:13 +02:00
Andreas Rumpf
299351a909 fixes #4070 2016-05-11 18:16:25 +02:00
Andreas Rumpf
5757ad858c fixes #3995 2016-04-03 18:12:25 +02:00
def
57897698d1 Fix test cases for JSON object changes 2016-02-24 19:03:55 +01:00
Andreas Rumpf
2309975f78 fixes yet another LL regression (Aporia compiles again) 2016-01-18 03:00:14 +01:00
Dominik Picheta
d0d1b396ed Added test for #600. 2016-01-16 14:29:48 +00:00
Dominik Picheta
a395182dd7 Added test for code in @def-'s comment in #1502. 2016-01-16 14:14:29 +00:00
Dominik Picheta
23cebff5fc Added test for #1512. 2016-01-16 14:09:28 +00:00
Dominik Picheta
abc72eb919 Added test for #1642. 2016-01-16 14:02:25 +00:00
Dominik Picheta
19ea2672c5 Added test for #1846. 2016-01-16 13:58:40 +00:00
Dominik Picheta
ac71ece673 Added test for #1911. 2016-01-16 13:56:44 +00:00
Dominik Picheta
bc65a7c76b Added test for #1923. 2016-01-16 13:54:28 +00:00
Dominik Picheta
40ae1ad363 Added test for #2138. 2016-01-16 13:49:37 +00:00
Dominik Picheta
b6e8a1437b Added test for #3304 2016-01-16 13:32:26 +00:00
Andreas Rumpf
9097033b4e fixes yet another regression 2016-01-13 13:47:13 +01:00
Andreas Rumpf
b4c62d5fed async works again 2016-01-03 23:20:53 +01:00
Andreas Rumpf
813f98fb34 further progress on closure iterators; tforum still failing 2016-01-03 21:16:07 +01:00
Andreas Rumpf
307a6095fa made closure iterators tests green, updated docs 2015-12-31 00:16:38 +01:00
Andreas Rumpf
250e81ceda Merge branch 'devel' into new-ll 2015-12-29 20:45:22 +01:00