summary refs log tree commit diff stats
path: root/testament
Commit message (Collapse)AuthorAgeFilesLines
* make more standard libraries work with `nimPreviewSlimSystem` (#20343)ringabout2022-09-272-0/+5
| | | | | | | | | | | | | | | | | | | | | | | * make more standard libraries work with `nimPreviewSlimSystem` * typo * part two * Delete specutils.nim * fixes more tests * more fixes * fixes tests * fixes three more tests * add formatfloat import * fix * last
* defaults to ORC (#19972)ringabout2022-09-232-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * defaults to Orc * bootstrap using refc * use gc * init orc defines * unregister orc * fix gc * fix commands * add prepareMutation for orc * enable deepcopy for orc * prepareMutation * more fixes * some cases * bug #20081 * partial fixes * partial fixes * fixes command line * more fixes * build Nim with refc * use gc * more fixes * rstore * orc doesn't support threadpool * more shallowCopy * more fixes * fixes unsafeNew * workarounds * small * more fixes * fixes some megatest * tcodegenbugs1 refc * fxies megatest * build nimble with refc * workaround tensordsl tests * replace shallowCopy with move * fixes action * workaround * add todo * fixes important packages * unpublic unregisterArcOrc * fixes cpp * enable windows Co-authored-by: xflywind <43030857+xflywind@users.noreply.github.com>
* remove deprecated type pragma syntax, fix bugs that required it (#20199)metagn2022-09-032-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | * remove deprecated pragma syntax from 0.20.0 closes #4651, closes #16653 with a cheap fix for now due to how early `tfFinal` is set * remove type pragma between name and generics * undo removal, try removing bind expression (0.8.14) * fix test, unremove bind expr * remove again * Update changelog.md Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> * dependencies @ HEAD & weave test dependencies * try fix package ci Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* [Testament] Extend and document message testing aids (#19996)quantimnot2022-09-012-83/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [Testament] Extend and document message testing aids * Enable inline msgs when not reject action. Eliminates the pain of changing the line and column numbers in `nimout` or `output` while making changes to the test. * Enable using inline msgs and nimout together. Allows ease of inline msgs for the test as well as testing msgs from other modules. * Add path separator and test filename variable interpolation in msgs. Eases handling path separators in the msgs. * Add some documentation. * Fixed lots of broken tests * Fixed more broken tests * Support multiple inline messages per a line * Fix a broken test * Revert variable substitution in `output` * Remove uneeded params * Update doc/testament.md Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com> * Update testament/specs.nim Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com> * Update testament/specs.nim Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com> * Fix indentation Co-authored-by: quantimnot <quantimnot@users.noreply.github.com> Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
* remove some deprecated pre-1.0 stdlib modules (#20202)metagn2022-08-231-1/+0
| | | | | | | | | | | | | | | * remove pre-1.0 stdlib deprecations notable exceptions: * ze, toU8 etc in system/arithmetics * potentially callsite * undo macros, ospaths, securehash, oswalkdir * add sets back * add back future, document deprecated versions * add to changelog [skip ci]
* testament: use full test name in skips [backport] (#19937)Jacek Sieka2022-07-161-7/+13
| | | testament: use full test name in skips
* default threads on (#19368)flywind2022-07-061-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * default threads on * make rst gcsafe * ignore threads option for nimscript * threads off * use createShared for threads * test without threads * avr threds off * avr threads off * async threads off * threads off * fix ci * restore option * make CI pleased * fix ic tests * Update config.nims * add changelog * Update changelog.md Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* Fix default testament target in docs and cli help (#19796)quantimnot2022-05-231-1/+1
| | | Co-authored-by: quantimnot <quantimnot@users.noreply.github.com>
* testament: include extra options in test name (#19801)Jacek Sieka2022-05-192-47/+44
| | | there's currently no (simple) way to disambiguate which option failed
* disable polypbren (#19787)flywind2022-05-131-2/+2
| | | | | * disable polypbren * Update important_packages.nim
* switch to mainline bigints (#19756)flywind2022-05-031-1/+1
|
* remove useless compilation condition (#19690)flywind2022-04-071-1/+1
| | | ref https://github.com/nim-lang/Nim/pull/18546
* disable nimlsp (#19499)flywind2022-02-071-1/+1
|
* change run command for numericalnim (#19448)Hugo Granström2022-01-251-1/+1
| | | Now it makes runs the custom `nimCI` task that installs the external dependencies
* enable weave (#19363) [backport:1.6]flywind2022-01-201-1/+1
| | | | * enable weave * workaround CI
* disable fragments (#19341)flywind2022-01-081-1/+1
| | | The original repo has moved to Rust, while the package path stay unchanged. And it causes troubles to https://github.com/nim-lang/Nim/pull/19338
* enable multiple packages (arraymancer, fidget ...) (#19311)flywind2022-01-031-3/+3
| | | | The cause of arraymancer failure has been tracked here: https://github.com/mratsim/Arraymancer/issues/505 And it was fixed by https://github.com/mratsim/Arraymancer/pull/542
* remove `std/sharedstrings` (#19228)flywind2021-12-091-1/+0
| | | | | | | * remove std/sharedstrings it has been broken since 0.18.0 * rephrase the changelog entry
* re-enable chronos testing once again [backport:1.2] (#19222)Andreas Rumpf2021-12-071-1/+1
|
* Testament now checks OS, CPU, endianess, bitsizes 8-64 in discard statements ↵quantimnot2021-11-191-20/+50
| | | | | | | | | (#19137) * Testament checks host/cpu in compiler/platform for discard spec statement * Remove duplicated value checks, add comments, add all cpu bit sizes and endianesses Co-authored-by: quantimnot <quantimnot@users.noreply.github.com>
* Update dependency (#19151)OxFred2021-11-171-1/+1
|
* Use testament to check Norm test pass (#19018)Constantine Molchanov2021-11-032-2/+2
| | | | | | | | | | | * Use testament to check Norm test pass This is what I actually use to test Norm, so it's better to use it. This should not currently pass. This is expected because this is exactly the problem I want to highlight with this PR. My tests do indeed not pass at the moment. * Remove clearNimblePath from testament command. Co-authored-by: flywind <xzsflywind@gmail.com>
* disable testing of `fidget`, to make CIs greennarimiran2021-10-111-1/+1
|
* envPairs works in vm, nims (#18615)Timothee Cour2021-09-291-2/+5
| | | | | * envPairs works in vm, nims * fixup
* activate winim (#18907)flywind2021-09-271-1/+1
| | | `winim` is dependent on windows API.
* active some packages (#18825)flywind2021-09-091-4/+4
|
* fixes #12642 (#18811)Andreas Rumpf2021-09-062-5/+6
| | | | | | | | | | | | | | | | | | | * fixes #12642 * update important packages; refs #18804 * fixes #18805; refs #18806 * fixes a regression * Update testament/categories.nim Co-authored-by: flywind <xzsflywind@gmail.com> * progress * progress Co-authored-by: flywind <xzsflywind@gmail.com>
* add weave to important packages (#17665)flywind2021-09-051-0/+1
| | | | | * add weave to important packages * Update testament/important_packages.nim
* testament --megatest:off now makes tests non-joinable so that they all run ↵Timothee Cour2021-09-032-2/+2
| | | | (#18787)
* improve several tests in testament (#18635)Timothee Cour2021-08-081-1/+1
| | | | | | | | | | | * silence error output from template_various.nim * any => auto in tests * avoid showing failed for parseSpec since this is expected behavior in 2 cases: tincludefile.nim, tnav1.nim * enforce InheritFromException * fixup
* fixes #18543 (#18601)Andreas Rumpf2021-07-271-0/+1
| | | | | * fixes #18543 * make tests green again
* more important packages (#18472)flywind2021-07-101-0/+6
|
* even lighter version of #17938: fix most issues with UnusedImport, ↵Timothee Cour2021-06-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | XDeclaredButNotUsed, etc; fix #17511, #17510, #14246 (without realModule) (#18362) * {.used: symbol} * add tests * fix tests with --import * --import works without giving spurious unused warnings * new warning warnDuplicateModuleImport for `import foo; import foo` * fix test, add resolveModuleAlias, use proper line info for module aliases * fix spurious warnings * fix deprecation msg for deprecated modules even with `import foo as bar` * disable a test for i386 pending sorting XDeclaredButNotUsed errors * UnusedImport now works with re-exported symbols * fix typo [skip ci] * ic support * add genPNode to allow writing PNode-based compiler code similarly to `genAst` * fix DuplicateModuleImport warning * adjust test * fixup * fixup * fixup * fix after rebase * fix for IC * keep the proc inline, move the const out * [skip ci] fix changelog * experiment: remove calls to resolveModuleAlias * followup * fixup * fix tests/modules/tselfimport.nim * workaround tests/deprecated/tmodule1.nim * fix properly * simplify
* Revert "disable pkg manu (#18292)" (#18307)Antonis Geralis2021-06-201-1/+1
| | | This reverts commit fc76565574b86566e4a642b9aac541e025cf5de3.
* testutils.assertAll: show correct location on assert failure (#18299)Timothee Cour2021-06-191-2/+4
|
* disable pkg manu (#18292)Timothee Cour2021-06-171-1/+1
|
* increase backoffDuration to avoid timeouts (#18281)Timothee Cour2021-06-161-1/+1
|
* merge BuildMode into SuccessX, remove code duplication w drnim, add useful ↵Timothee Cour2021-06-141-2/+1
| | | | | | | | | | | info to successx, add gc to compilesettings (#18252) * merge BuildMode into SuccessX, add more info * refactor duplicated with drnim * fixup * address comment
* use more meaningful name than "workaround14447" (#18237)Miran2021-06-111-1/+1
|
* fix #16256: nimout: <empty> should give error (vacuously true); improve a ↵Timothee Cour2021-05-311-0/+5
| | | | | | | | | | | | | | | | | | | few tests (#18089) * fix #16256: nimout: <empty> should give error (vacuously true); improve some tests * renamed: tests/stdlib/t9710.nim -> tests/misc/t9710.nim * improve tests * fix non-DRY tests * improve $nim_prs_D/tests/stdlib/t9091.nim * renamed: tests/stdlib/t9091.nim -> tests/misc/t9091.nim * fixup * address comment: doAssert => result.parseErrors
* testament: remove deadcode related to realtimeGC, testC, callCCompiler (#18087)Timothee Cour2021-05-262-80/+5
|
* change `--hint[X] => --hint:X` in nim repo (avoids shell quoting issues) ↵Timothee Cour2021-05-261-2/+2
| | | | (#18085)
* fix #18077 testament now parses `cmd` properly (#18086)Timothee Cour2021-05-262-16/+40
|
* remove some custom logic in testament around flags, testExec (#18090)Timothee Cour2021-05-262-39/+0
| | | | | | | * remove some custom logic in testament around flags, testExec * remove testExec, custom logic around flags from testament * fixup
* pkg/pixie: use latest (#18069)Timothee Cour2021-05-231-1/+1
|
* fixes #17943 (#18045)Andreas Rumpf2021-05-192-16/+21
| | | | | | | | | | | * fixes #17943 * IC: test 'nim check --ic:on' for the full Nim compiler * Update testament/testament.nim Co-authored-by: Clyybber <darkmine956@gmail.com> Co-authored-by: Clyybber <darkmine956@gmail.com>
* disable pkg/fidget refs https://github.com/treeform/fidget/issues/155 (#18043)Timothee Cour2021-05-181-1/+1
|
* Fix running testament c nimble-packages without batch arg (#18023)Clyybber2021-05-171-3/+4
| | | | | * Fix running testament c nimble-packages without batch arg * Fix
* fix #17467 1st call to rand is now non-skewed; allow seed == 0 (#17468)Timothee Cour2021-05-111-1/+1
| | | | | | | | | | | | | | | * fix #17467 1st call to rand is now non-skewed; allow passing 0 as seed * changelog + fallback * document behavior for seed == 0 * address comments * _ * fix tests, disable kdtree * re-enable kdtree with -d:nimLegacyRandomInitRand
* make testament `isSuccess` more robust and allow tests with `--hints:off` to ↵Timothee Cour2021-05-112-7/+30
| | | | | | | | | succeed (#17968) * fix testament isSuccess * show givenSpec in addResult * simplify tstatictypes.nim