summary refs log tree commit diff stats
path: root/tests/arc
Commit message (Collapse)AuthorAgeFilesLines
* Part-to-whole optimization (#16775)Clyybber2021-01-211-1/+46
|
* Reboot of #16195 (#16746)Clyybber2021-01-202-1/+159
| | | | | | | | | | | | | | | | | | | | | | | | | * fix #16185 * fix test * fix comment * fix comment * better approach * Add more tests and move sameLocation to injectdestructors * Better and more strict sameLocation * Small cleanup and preliminary spec clarification * Fix * Fix doc * Expand test Co-authored-by: Andrey R (cooldome) <ariabushenko@gmail.com>
* Deprecate TaintedString (#15423)Juan Carlos2021-01-151-1/+1
| | | | Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com>
* Fix 16722 (#16730)cooldome2021-01-151-1/+43
| | | | | | | * fix #16722 * fix spacing * spacing
* use doAssert in tests (#16486)flywind2020-12-283-4/+4
|
* fix #15043 (#16441) [backport:1.4]cooldome2020-12-271-0/+16
| | | | | * fix #15043 * Trigger build
* testament: error instead of silently ignore invalid targets; remove ↵Timothee Cour2020-12-141-1/+1
| | | | | | | | | | | pointless alias target vs targets; document matrix; DRY (#16343) * testament: error instead of silently ignore invalid targets * s/target/targets/ * fix test; refs #16344 * address comments * Update testament/specs.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* ORC: make the adaptive strategy the default in order to fight memory ↵Andreas Rumpf2020-12-052-1/+39
| | | | | | | consumption (#16250) * ORC: make the adaptive strategy the default in order to fight memory consumption * added missing test case
* Revert "fix #16185 (#16195)" (#16197)Andreas Rumpf2020-11-301-50/+1
| | | This reverts commit bb4b27a2ca414f06fbb9d14ff76fa02a088ac141.
* fix #16185 (#16195)cooldome2020-11-301-1/+50
| | | | | | | | | | | * fix #16185 * fix test * fix comment * fix comment * better approach
* make megatest consistent with unjoined tests wrt newlines, honor newlines in ↵Timothee Cour2020-11-281-1/+3
| | | | | | | output spec (#16151) * fix megatest newlines * still allow missing trailing newline for now but in a more strict way than before
* fix #16120 (#16145)cooldome2020-11-261-1/+15
|
* fixes #15076 (#16143)Andreas Rumpf2020-11-262-0/+95
| | | | | | | | | * fixes #15076 * heapqueue: optimized for ARC * added another test case [backport:1.4] * code cleanup
* fixes #16069; [backport:1.2] [backport:1.4] (#16115)Andreas Rumpf2020-11-241-1/+1
| | | | | * fixes #16069; refs https://github.com/nim-lang/RFCs/issues/257 [backport:1.2] [backport:1.4] * make tests green again
* fix #16025 repr now consistent: does not insert trailing newline (#16034)Timothee Cour2020-11-191-0/+3
|
* fix #16033 nim js --gc:arc works and ignores --gc:arc (#16036)Timothee Cour2020-11-181-0/+10
|
* ORC: prepare for another patent-pending optimization (#15996)Andreas Rumpf2020-11-181-1/+1
| | | | | | | | | | | | | | | | | * ORC: prepare for another patent-pending optimization * bugfix * '=copy' for refs can take a cyclic parameter for more ORC optimizations * ORC: exploit the common 'it = it.next' pattern * can't hurt to check for nil * use an algorithm that is not obviously broken * restore the test case * final cleanups for --gc:orc
* fix #15910 (#15984)cooldome2020-11-161-1/+65
| | | | | | | * fix #15910 * produce op of op is nil * Trigger build
* fixes #15753 [backport:1.4] (#15971)Andreas Rumpf2020-11-151-0/+33
|
* Fix #15909 (#15914)Fanael Linithien2020-11-121-0/+16
|
* Fix 15629 (#15888)cooldome2020-11-091-2/+27
| | | | | | | | | | | * fix #15858 * fix space * fix #15629 * Revert "fix space" * Revert "fix #15858"
* fix #15707 (#15870)cooldome2020-11-091-0/+14
|
* fix #15609 (#15856)cooldome2020-11-051-0/+33
| | | | | * fix #15609 * fix test
* ARC now capable of custom extra alignment. Ref, closure and seq support. ↵cooldome2020-10-281-0/+146
| | | | (#15697)
* Revert "fixes #15280 [backport:1.2] (#15281)" (#15700)Clyybber2020-10-241-3/+3
| | | This reverts commit 3f00a738dbc8319b4dd2b86bf5529c096f2dd243.
* fix #15631 (#15632)n5m2020-10-192-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * trigger valgrind failure on memory leak * remove non-malloc tests * remove ORC test is redundant because we already have an ARC test * only run valgrind tests on 64-bit Linux * disable freebsd and openbsd * Remove tleak_refc As to not test implementation details (or bug) * Fix test failures by removing redundant test Since this tests/shoulfail/tvalgrind.nim was specified here to fail this test itself fails since it will be skipped on non-linux CI * Remove test, reason detailed in the previous commit * Remove redundant disables * Revert removing disables * Add and use valgrind: leaks * Fix Co-authored-by: Clyybber <darkmine956@gmail.com> Co-authored-by: n5m
* Fix #15599 (#15601)Clyybber2020-10-161-1/+13
| | | | | * Fix #15599 * Add test
* renamed '=' to '=copy' [backport:1.2] (#15585)Andreas Rumpf2020-10-156-7/+974
| | | | | | | | | * Assign hook name changed to `=copy` * Adapt destructors.rst * [nobackport] Duplicate tests for =copy hook * Fix tests * added a changelog entry Co-authored-by: Clyybber <darkmine956@gmail.com>
* harden the ORC asyncleak3 test case (#15580)Andreas Rumpf2020-10-152-1/+416
| | | | | * harden the ORC asyncleak3 test case * add another ORC stress test
* Fix 15543 (#15544)cooldome2020-10-121-1/+21
| | | | | | | | | * fix #15543 * fix spacing * fix test * simplify test for freebsd platform
* fixes #15532 (#15534)Andreas Rumpf2020-10-091-0/+21
|
* fix #15405. deepcopy arc (#15410)cooldome2020-10-012-2/+33
| | | | | | | * fix #15405 * fix tests * deepcopy for ARC has to be enabled via --deepcopy:on Co-authored-by: Araq <rumpf_a@web.de>
* cursor inference: makes combparser work; refactorings (#15411)Andreas Rumpf2020-09-262-2/+6
| | | | * cursor inference: makes combparser work; refactorings
* Revert "fix #15035 (#15236)" (#15408)cooldome2020-09-241-18/+1
| | | This reverts commit f8c48fc1863a243718acf86b699baed1a5c1512e.
* fixes #15361 (#15401)Andreas Rumpf2020-09-242-2/+55
| | | * fixes #15361; better cursor inference
* added a basic ORC test I still had lying around (#15376)Andreas Rumpf2020-09-201-0/+138
|
* arc: added tmarshal.nim test caseAraq2020-09-201-0/+140
|
* arc: =deepcopy fixesAraq2020-09-201-0/+67
|
* more ORC bugfixes (#15355)Andreas Rumpf2020-09-182-1/+47
| | | | | * introduced --define:nimArcIds * ORC: bugfixes
* Revert "Introduce explicit copy (#15330)" (#15346)Andreas Rumpf2020-09-161-22/+0
| | | This reverts commit a3e9cc52343a54cadc7b77b783e1c8b6ba2b327f.
* Introduce explicit copy (#15330)cooldome2020-09-161-0/+22
|
* fixes #15325 (#15340)Andreas Rumpf2020-09-161-0/+126
|
* fixes #15076 (#15329)Andreas Rumpf2020-09-151-0/+88
|
* fixes a critical ORC bug, refs #15076 (#15323)Andreas Rumpf2020-09-141-1/+1
|
* fixes #15147 (#15315)Andreas Rumpf2020-09-121-0/+21
|
* fixes #15122 (#15301)Andreas Rumpf2020-09-111-0/+43
|
* Fix #15286 (#15292)cooldome2020-09-101-0/+8
| | | | | * fix #15286 * fix spacing
* fixes #15280 [backport:1.2] (#15281)Andreas Rumpf2020-09-091-3/+3
| | | | | | | * fixes #15280 [backport:1.2] * make tests green again * adapt tests
* fix #15238 (#15262)cooldome2020-09-041-1/+17
| | | | | * fix_15238 * fix test
* fix #15035 (#15236)cooldome2020-08-281-0/+16
|