summary refs log tree commit diff stats
path: root/testament
Commit message (Collapse)AuthorAgeFilesLines
* 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
* fix #17960: honor `matrix` also for `action: compile, action: reject` (#17980)Timothee Cour2021-05-091-6/+7
| | | | * fix #17960: honor `matrix` for all action
* testament :show duration also for failed tests; improve `tshould_not_work`; ↵Timothee Cour2021-05-0817-19/+12
| | | | | | | | | | | mitigate #17946 tchannels timeouts (#17947) * refs #17946; refactor testament test summary, show test duration for failures; increase timeout tchannels * revert workarounds from https://github.com/nim-lang/Nim/pull/16698 and add allowPrefixMatch optional param to greedyOrderedSubsetLines * add test * workaround for yet another testament bug
* fix `tsortoutput` (it was failing for the wrong reasons, irrespective of ↵Timothee Cour2021-05-071-3/+3
| | | | `sortoutput` (#17969)
* fix #17952: fix both false positives and false negatives for reInvalidSpec ↵Timothee Cour2021-05-082-12/+29
| | | | | | | | | (#17956) * fix #17952: fix both false positives and false negatives for reInvalidSpec * handle megatest properly * fix for tests/stdlib/tbase64.nim
* re-enable nimquery (#17936)Timothee Cour2021-05-041-1/+1
|
* gitutils: add diffStrings, diffFiles, and use it in testament to compare ↵Timothee Cour2021-04-302-3/+4
| | | | | | | | | | | | | expected vs gotten (#17892) * gitutils: add diffStrings, diffFiles, and use it in testament to compare expected vs gotten * refactor with createTempDir * cleanup * refacotr * PRTEMP fake test spec changes to show effect of diffStrings * add runnableExamples for experimental/diff + cross-reference with gitutils * Revert "PRTEMP fake test spec changes to show effect of diffStrings" This reverts commit 57dc8d642dce6c1127c98b7cbc9edbfe747d4047.