summary refs log tree commit diff stats
path: root/testament
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Implement https://forum.nim-lang.org/t/7848#50018 (#17874)c-blake2021-04-291-1/+2
| | | | | | | | | | | | | | | | | | | | * Implement https://forum.nim-lang.org/t/7848#50018 with just the same `SuccessX` hint category, build mode on a separate, final line, and no change to how the mode is spelled for -d:release/-d:danger. * Change to add a new BuildMode hint category and keep testament in sync as per comment. * Add "--hint:buildmode:off" to `defaultHintsOff`. * Remove as requested. * As requested for tests clean up. * Address code review. * Address code review. * Mirror db456423116a9b19666f551f4d38aded3964c2e2
* testament: add `nimoutFull: bool` spec (#17867)Timothee Cour2021-04-274-7/+32
| | | | | | | | | | * testament: add `nimoutFull: bool` spec * PRTEMP * works * cleanup * add test for #12741 * PRTEMP failing test * remove unrelated changes * changelog
* disable telebot, refs https://github.com/ba0f3/telebot.nim/issues/59 (#17860)Timothee Cour2021-04-261-1/+1
|
* bring back jstin after forking a new one (#17844)flywind2021-04-251-0/+1
| | | ref https://github.com/nim-lang/Nim/pull/17765#issuecomment-822019094
* move travis, appveyor, ci.yml.disabled to `unmaintained/` (#17828)Timothee Cour2021-04-241-2/+2
| | | | | | | * move travis, appveyor, ci.yml.disabled to unmaintained * update some mentions of travis, appevyor * fix test
* `typeof(voidStmt)` now works (#17807)Timothee Cour2021-04-231-6/+5
| | | | | | | | * `typeof(voidStmt)` now works * remove typeOrVoid * add condsyms, and reference cligen https://github.com/c-blake/cligen/pull/193 * fixup * changelog [skip ci] * fixup
* add `--processing:dots|filenames|off` to customize `hintProcessing` (#17817)Timothee Cour2021-04-231-1/+1
|
* unit separator (#17730)Andreas Rumpf2021-04-203-2/+9
| | | | | * use the ASCII Unit Separator so that error messages can be handled precisely by the tooling * updated testament
* important_packages: `allowed_failures` batch (#17757)Timothee Cour2021-04-202-11/+26
| | | | | * important_packages: reserve batch 0 for allowed failures * custom batch name: allowed_failures
* fix https://github.com/nim-lang/RFCs/issues/311 remove unary slice (#16714)Timothee Cour2021-04-191-1/+1
|
* IC navigator: added support for include files (#17784)Andreas Rumpf2021-04-191-1/+1
| | | | | | | | | | | | | | | | | * ic fixed navigator crash when track wrong/missed Also fixed an issue with getNimcacheDir not observing the outDir. * closer, but not sure how to test[skip ci][ci skip] * IC navigator: added support for include files * update * make posix happy via expandFilename * update Co-authored-by: Saem Ghani <saemghani+github@gmail.com>
* fix #17732(forward args... to megatest) (#17780)flywind2021-04-191-3/+7
|
* privateAccess now works with ref | ptr (#17760)Timothee Cour2021-04-191-0/+20
|
* remove jstin from important packages (#17765)flywind2021-04-181-1/+0
| | | | | Ref https://github.com/nim-lang/Nim/pull/17759 https://github.com/LemonBoy/jstin/blob/master/src/jstin.nim is already archived and cannot pass CI anymore.
* std/hashes: hash(ref|ptr|pointer) + other improvements (#17731)Timothee Cour2021-04-161-0/+4
|
* ic navigator tests (#17735)Andreas Rumpf2021-04-162-12/+17
| | | * IC navigator: first basic test
* `import foo {.all.}` reboot (#17706)Timothee Cour2021-04-161-0/+1
|
* testament --verbose: prints commands; gitignore ic artifacts (#17716)Timothee Cour2021-04-141-3/+11
|
* megatest: allow duplicate file names, show compilation progress (#17713)Timothee Cour2021-04-131-6/+11
| | | | | * megatest: allow duplicate file names * megatest: show compilation progress
* IC: integrity checking (#17695)Andreas Rumpf2021-04-111-1/+1
| | | | | | * IC: integrity checking: the plumbing code * progress * progress + bugfix (yes, the code already found a bug) * implemented integrity checking
* iterable[T] (#17196)Timothee Cour2021-04-111-0/+6
| | | | | | | | * fix failing test toSeq in manual which now works * changelog * reject proc fn(a: iterable) * add iterable to spec * remove MCS/UFCS limitation that now works
* fix #16693: testament spec nimout too lax (#16698)flywind2021-04-0415-38/+65
| | | Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* enable some packages (#17629)flywind2021-04-031-3/+3
|
* implement RFCs/294 ; disallow enum <=> enum conversion (#16351)Timothee Cour2021-04-031-2/+3
| | | | | | | | | | | * fix https://github.com/nim-lang/RFCs/issues/294 ; disallow enum <=> enum conversion * fix the runnableExamples that was the instigator of this RFC * legacy -d:nimLegacyConvEnumEnum * use -d:nimLegacyConvEnumEnum in important_package nimgame2 * add test for enum cast * improve changelog * add changelog: Changes affecting backward compatibility * cleanup changelog * fix changelog
* add getPort to resolve Port(0) (#17559)Timothee Cour2021-03-301-1/+2
| | | | | | | | | * add getPort to resolve Port(0) * fixup * use getPort in examples + tests * address comments: do not re-export Port
* nim: unbreak CI; testament: add allowedFailure logic for tests that may fail ↵Timothee Cour2021-03-283-30/+40
| | | | but should still run (#17513)
* disable package 'chronicles' until 'chronos' is fixednarimiran2021-03-261-1/+1
|