summary refs log tree commit diff stats
path: root/tests/generics
Commit message (Collapse)AuthorAgeFilesLines
* use doAssert in tests (#16486)flywind2020-12-283-31/+31
|
* testament: error instead of silently overwrite a spec (#16166)Timothee Cour2020-11-291-4/+16
|
* make megatest consistent with unjoined tests wrt newlines, honor newlines in ↵Timothee Cour2020-11-281-8/+0
| | | | | | | output spec (#16151) * fix megatest newlines * still allow missing trailing newline for now but in a more strict way than before
* Clarify the sense in which Nim supports recursive iterators in the (#15834)c-blake2020-11-041-2/+2
| | | manual, the tutorial, and the `tbintree` test.
* add testcase for #6060 (#15366)flywind2020-09-211-0/+11
| | | | | | | * add testcase for #6060 * Remove overspecific testament spec Co-authored-by: Clyybber <darkmine956@gmail.com>
* An optimizer for ARC (#14962)Andreas Rumpf2020-07-151-640/+0
| | | | | | | | | | | | | | | | | | | | * WIP: an optimizer for ARC * do not optimize away destructors in 'finally' if unstructured control flow is involved * optimized the optimizer * minor code cleanup * first steps to .cursor inference * cursor inference: big steps to a working solution * baby steps * better .cursor inference * new feature: expandArc for easy inspection of the AST after ARC transformations * added topt_cursor test * adapt tests * cleanups, make tests green * optimize common traversal patterns * moved test case * fixes .cursor inference so that npeg compiles once again * cursor inference: more bugfixes Co-authored-by: Clyybber <darkmine956@gmail.com>
* Fix #14990 (#14991)Clyybber2020-07-151-0/+11
| | | | | * Fix #14990 * Add testcase
* Reenable a few testsClyybber2020-07-141-4/+3
|
* Closes #10396Clyybber2020-07-141-0/+55
|
* Closes #8426Clyybber2020-07-141-0/+14
|
* add full tests from #9463 (#14975)jcosborn2020-07-141-11/+161
|
* add testcase for #5926 (#14965)flywind2020-07-111-0/+22
|
* add testcase for #4668 (#14946)flywind2020-07-091-0/+16
| | | | | closes #4668 closes #9463
* Add test-cases to some fixed issues to close them (#14795)Danil Yarantsev2020-06-241-0/+18
|
* Remove the uses of {.procvar.} pragma (#14359)Kaushal Modi2020-05-151-1/+1
| | | | | | | This pragma did nothing. Ref: - https://github.com/nim-lang/Nim/issues/2172#issuecomment-383276469 - https://github.com/nim-lang/Nim/issues/12975
* 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`