summary refs log tree commit diff stats
path: root/tests/generics
Commit message (Collapse)AuthorAgeFilesLines
* Add tests for #8481, #6490 and #4061 (#14083)Clyybber2020-04-231-0/+13
|
* faster CIs (#13803)Miran2020-03-301-36/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* fix deprecations and other warnings (#13748)Miran2020-03-251-1/+1
|
* fix #13524 astToStr now works inside generics (#13681)Timothee Cour2020-03-181-0/+6
|
* fixes #13519Araq2020-03-111-0/+21
|
* fixes #13378 [backport] (#13392)Andreas Rumpf2020-02-111-0/+16
|
* Revert "printing float values will have one more digit. (#13276) [backport]" ↵Timothee Cour2020-02-082-8/+9
| | | | | (#13363) This reverts commit b2c6db97f9f477f6999fa9c7aae5e32f10b6b3fe.
* printing float values will have one more digit. (#13276) [backport]Arne Döring2020-02-072-9/+8
| | | | * printing float values will have one more digit. Fixes #13196
* fixes #13110 (#13197)Andreas Rumpf2020-01-191-1/+4
|
* [backport] fix #12528, fix #12525: incorrect generic type resolution for ↵Andreas Rumpf2019-10-281-0/+14
| | | | | | default values (#12538)
* Refactor json macro (#12391)Arne Döring2019-10-171-0/+73
| | | | | | | | * closes #12316 * make tjsonmacro work at js target * closes #12289 * closes #11988 * also fixed gdb related stuff
* ungeneric unsigned ops (#12230)Jasper Jenkins2019-10-111-8/+0
| | | | | | | | | | * ungenericise unsigned ops, remove nimNewShiftOps * fix/remove tests * update t6448 * fix line info * disable on 32bit * fix different line info * add changelog entry
* fixes subtype relation regressionAraq2019-05-221-1/+1
|
* fixes #11239Araq2019-05-221-1/+1
|
* fixes #6732 (#11255)Andreas Rumpf2019-05-151-0/+21
|
* fixes #88 (#11243)Andreas Rumpf2019-05-151-2/+25
|
* 32 bit fixes (#10608)Arne Döring2019-02-131-0/+2
|
* Propagate tfGcSafe flag to generic instantiations (#10620)LemonBoy2019-02-131-0/+11
| | | Fixes a nasty endless loop in the generic instantiation phase.
* Fix for issue #10342. better message for generic subclass instantiation (#10354)Ray Imber2019-01-222-1/+12
| | | * Fix for issue #10342. better message for generic subclass instantiation errors.
* add `isNamedTuple`; make $(1, 2) be (1, 2) instead of (Field0: 1, Field1: 2) ↵Timothee Cour2019-01-081-1/+1
| | | | | | | | | | | | | which leaked implementation detail (#10070) * add `isNamedTuple`; make $(1, 2) be (1, 2) instead of leaking implementation detail (Field0: 1, Field1: 2) fixes this: #8670 (comment) /cc @alehander42 @Vindaar @mratsim * Note: isNamedTuple is useful in other places, eg #10010 (comment) * move isNamedTuple to helpers.nim to avoid exposing new symbol to system.nim * remove workaround in tests/vm/tissues.nim failing test now that #10218 was makes it work
* megatest: make it green on LinuxAraq2018-12-113-4/+3
|
* make more tests greenAraq2018-12-112-36/+8
|
* testament: joinable is now an explicit concept of a test specAndreas Rumpf2018-12-111-0/+3
|
* Testament: refactoring; makes the test joiner greenAraq2018-12-116-2/+10
|
* lots of small changesArne Döring2018-12-114-4/+4
|
* megatest checks output and nimoutArne Döring2018-12-114-133/+127
|
* require errormsg to be specified before file.Arne Döring2018-12-116-16/+3
|
* cleanup tests; don't use non-working 'msg' spec fieldAraq2018-11-231-1/+1
|
* updated tests to be executedArne Döring2018-11-232-2/+13
|
* make run the default action of a test in testerArne Döring2018-11-232-1/+13
|
* disable some tests for the C++ target; refs #7870Araq2018-11-151-9/+10
|
* adopt testsArne Döring2018-11-081-1/+1
|
* More descriptive names of test files (#9531)Miran2018-10-293-6/+8
| | | | | * change generic `tissues` name to more specific * change `tvarious` to more specific names
* closes #6220Araq2018-10-181-0/+415
|
* make some tests faster (#9413)Miran2018-10-171-5/+5
| | | | | | | | | | | | * remove duplicated slow test * smaller `convex hull` * smaller sleep * faster `trtree` * smaller sleep in `tfuturestream`
* Merge tests into a larger file (part 5 of ∞) (#9368)Miran2018-10-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Merge tests into a larger file (part 3 of ∞: generics) (#9347)Miran2018-10-1465-1276/+1236
| | | | | | | | | | | | * merge generics issues tests * merge tgeneric * merge test with local imports * merge tcan tests * merge matcher tests * more issue tests merged * one more tcan test * merge various small tests into one file * add a test for #3717
* add issue #5707 as test case (#9361)Vindaar2018-10-141-0/+6
|
* fix tests/generics/t8694.nim: runnableExamples were not run because of #9216 ↵Timothee Cour2018-10-091-3/+3
| | | | (#9262)
* Fix regression with runnableExamples in generic exprLemonBoy2018-09-302-0/+64
| | | | | | | | The examples should not enter the generic analysis at all. The regression was introduced in 4cf704bb as a fix for #8694. Fixes #9130 Fixes #8694
* fixes #8883Araq2018-09-141-0/+657
|
* fixes #7854Araq2018-08-301-0/+36
|
* make generic tests green againAndreas Rumpf2018-08-131-2/+2
|
* Merge branch 'devel' into araq-miscAndreas Rumpf2018-08-102-0/+39
|\
| * Tests for v1 closed generics/static issues (#8572)Mamy Ratsimbazafy2018-08-082-0/+39
| | | | | | | | | | | | | | | | * Add tests to confirm https://github.com/nim-lang/Nim/issues/7231 is fixed. * Add test for closed https://github.com/nim-lang/Nim/issues/6137 * Add test for https://github.com/nim-lang/Nim/issues/7141
* | make test green againAraq2018-08-081-6/+6
|/
* Try conversion to static[T] in generic instantation (#8443)LemonBoy2018-07-301-0/+10
| | | Fixes #8439
* Allow use of typedesc as type converters (#8409)LemonBoy2018-07-241-0/+11
| | | Fixes #8403
* Do not crash while instantiating a generic outside a call (#8279)LemonBoy2018-07-141-0/+7
| | | Fixes #8270
* Reset typedescMatched before paramTypesMatch (#8250)LemonBoy2018-07-091-0/+15
| | | | | The flag should not be carried out across different parameters. Fixes #7794