summary refs log tree commit diff stats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Closes #10396Clyybber2020-07-141-0/+55
|
* Closes #13253Clyybber2020-07-141-0/+31
|
* Closes #8426Clyybber2020-07-141-0/+14
|
* Clean up macros (#14959)Juan Carlos2020-07-143-5/+2
|
* injectdestructors fixes and refactor (#14964)Clyybber2020-07-144-5/+207
| | | | | | | | | | | | | | | | | | | | | | | | | | | * injectdestructors fixes and refactor * Tiny cleanup * Refactor and expand testcase * Closes #14902 by adding testcase * Better naming * Fix test failures * Misc cleanup * Add testcase for #14968 * Better approach; expand testcases * Optimizations and fixes * Add testcase * typo * Tiny cleanup
* fix #14475; unittest.require now works with `nim c`; require and check now ↵Timothee Cour2020-07-143-1/+25
| | | | | | | | | | | | | works with -d:nodejs (#14676) * fix #14475; make unittest work with -d:nodejs * fixup * fixup * disable inim, delaunay which failed after unittest.require got fixed * re-enable tests that have been fixed
* add full tests from #9463 (#14975)jcosborn2020-07-141-11/+161
|
* fix #6608 (#14963)flywind2020-07-141-0/+16
| | | | * fix #6608
* Fix #12759 (#14967)flywind2020-07-121-0/+10
| | | | | * add testcase for #5926 * fix #12759
* :DClyybber2020-07-111-0/+28
|
* add testcase for #5926 (#14965)flywind2020-07-111-0/+22
|
* Add testcase for some old fixed issues (#14960)Clyybber2020-07-102-18/+8
| | | | | | | * Add testcase for #2703 * Add testcase for #2586 * Small fix
* Add testcase for #14383 (#14957)Clyybber2020-07-102-0/+36
|
* Add testcase for #13815 (#14956)Clyybber2020-07-101-1/+14
|
* Add testcase for #12571 (#14955)Clyybber2020-07-101-0/+16
|
* Add testcase for #4722 (#14954)Clyybber2020-07-101-0/+21
|
* fix #14912, make `--useVersion:1.0` work again (#14945)Miran2020-07-101-0/+50
| | | | | * fix #14912, make `--useVersion:1.0` work again * a better fix * add test
* fixes #14925 (#14947)Andreas Rumpf2020-07-091-1/+8
|
* add testcase for #4668 (#14946)flywind2020-07-091-0/+16
| | | | | closes #4668 closes #9463
* fix #11009 (#14935)flywind2020-07-091-0/+10
|
* Add testcase for #10465 (#14943)flywind2020-07-091-0/+43
| | | | | | | | | | | | | | | | | | | * add debug format string * remove try except * add changelog * add docs and more tests * Update lib/pure/strformat.nim Co-authored-by: Juan Carlos <juancarlospaco@gmail.com> * minor * add testcase Co-authored-by: Juan Carlos <juancarlospaco@gmail.com>
* add docs and more tests for debug format strings (#14861)flywind2020-07-081-3/+70
| | | | | | | | | | | | | | | | | * add debug format string * remove try except * add changelog * add docs and more tests * Update lib/pure/strformat.nim Co-authored-by: Juan Carlos <juancarlospaco@gmail.com> * minor Co-authored-by: Juan Carlos <juancarlospaco@gmail.com>
* Add testcase for #12129 (#14940)Clyybber2020-07-081-0/+14
| | | | | * Add testcase for #12129 * Fix test
* remove a condition that table size must be passed as power of 2 (#14926)Miran2020-07-082-2/+11
| | | | | | | | | | | | | | | * remove a condition that table size must be passed as power of 2 * remove power-of-2 condition from sets and sharedtables * remove power-of-2 condition from deques * use 'correctSize' for both branches * prettify changelog.md and fix typos * add a changelog entry * fix double-call of 'right-size' * fix the same thing in sets.nim * introduce a new internal proc `slotsNeeded` Deprecate the public proc `rightSize`, which is not needed anymore. Now it is an identity function, allowing the old code to work correctly and without extra allocations.
* fixes #14900, this time for real, maybe (#14934)Andreas Rumpf2020-07-081-17/+11
|
* closes #14878Araq2020-07-081-1/+19
|
* fixes #14805Araq2020-07-081-0/+14
|
* fixes #14900Araq2020-07-081-0/+20
|
* fixes #14899Araq2020-07-081-0/+14
|
* progressAraq2020-07-081-1/+1
|
* fixes #14402 (#14908)Andreas Rumpf2020-07-081-0/+26
| | | | | * fixes #14402 * added a test case
* Add testcase for #14864 (#14928)Clyybber2020-07-073-0/+13
| | | | | * Add testcase for #14864 * :D
* weaken tosproc test for my Windows machine which doesn't have 'ls'Araq2020-07-071-1/+2
|
* Limit number of error messages from gcc/clang backend (#14852)Tomohiro2020-07-071-0/+5
| | | | | | | * Limit number of error messages from backend * Avoid duplication of -fmax-errors * make tests/misc/trunner.nim success
* Fix #14911 (#14922) [backport]Clyybber2020-07-071-1/+8
| | | | | | | * Fix #14911 * Add testcase * Fix test
* Add testcase for #14472 (#14921)Clyybber2020-07-061-0/+23
|
* tables.nim: Add named fields in `smallest` and `largest` (#14919)ee72020-07-061-0/+14
| | | | | | | | | | The `smallest` and `largest` procs for `CountTable` returned a tuple with named fields, but the same procs for `CountTableRef` returned an anonymous tuple. This commit makes those `CountTableRef` procs more consistent, and adds a test. Fixes: #14918
* Fix #14396 (#14793)Clyybber2020-07-042-26/+96
| | | | | | | | | | | | | | | | | | | | | | * Correct Left-To-Right evaluation of proc args * Fix CPP backend * Add testcase * closes #14396 * closes #14345 * Improve test and optimize * Improve testcase and optimize literals * Fix bug * Expand testcase and use DFA to optimize * Turn genParams into proc * Turn withTmpIfNeeded into a proc * Cleanup * Fix crash * Better analysis * Cleanup * Trailing newline.. * Fix build * Tiny cleanup Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* scoped memory management (#14790)Andreas Rumpf2020-07-048-36/+240
| | | | | | | * fixes the regressions * closes #13936 * scope based memory management implemented * enabled tcontrolflow.nim test case * final cleanups
* deprecate existsDir; use dirExists instead (#14884)Timothee Cour2020-07-035-5/+4
|
* typetraits.$: $((int, float), int)` is now `"((int, float), int)"` instead ↵Timothee Cour2020-07-024-9/+7
| | | | | of `"(tuple of (int, float), int)" (#14812) Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* {.deprecated: [existsFile: fileExists].} (#14735)Timothee Cour2020-07-0212-15/+14
| | | | | | | | | * {.deprecated: [existsFile: fileExists].} * s/existsFile/fileExists/ except under deps * workaround pending #14819 * fix test
* allow packed union (#14868)Clyybber2020-07-011-0/+10
| | | Co-authored-by: Arne Döring <arne.doering@gmx.net>
* typetraits: features and fixes (#14791)alaviss2020-06-301-0/+17
| | | | | | | | | | | | | * typetraits: add support for nnkTypeOfExpr * typetraits: don't wrap typedesc symbols in StaticParam * typetraits: add nested generics support to genericParams * typetraits: make genericParams understand array[I, T] whackiness Also moved tests to ttypetraits * typetraits: clarify comment on genericParams
* Fix asyncdispatch drain behavior (#14820) (#14838)Ray Imber2020-06-301-0/+25
| | | | | | | | | | | * Fix asyncdispatch drain behavior (#14820) * Changed test to use asyncCheck instead of discard after code review (#14820) * Added some debug statements to help understand what is happening in Azure. * Removed debug statements and increased timeouts by 1 order of magnitude to account for slow Azure VMs Co-authored-by: Ray Imber <ray@crankuptheamps.com>
* add debug fmt string like python's (#14808)flywind2020-06-301-0/+105
| | | | | | | * add debug format string * remove try except * add changelog
* CI openbsd: 3x batching via NIM_TESTAMENT_BATCH ; overall CI finishes in 21m ↵Timothee Cour2020-06-301-0/+1
| | | | | | | | | instead of 34m (#14851) * CI openbsd: 2x batching via NIM_TESTAMENT_BATCH * auto-generate .builds/openbsd_x.yml to avoid code duplication * 3x batching
* fix #13432 typetraits.$: $(int,) is now (int,); $tuple[] is now tuple[] (#14799)Timothee Cour2020-06-291-0/+31
| | | | | * typetraits.$: $(int,) is now (int,); $tuple[] is now tuple[] * changelog
* Clean out Deprecated proc (#14797)Juan Carlos2020-06-292-17/+8
| | | | * Remove and/or clean out Deprecated 'add' proc for floats * Update a test
* Make unreachable code a warning instead of an error (#14816)Clyybber2020-06-291-3/+3
| | | | | | | * Make unreachable code a warning * Adapt test * Trigger CI