summary refs log tree commit diff stats
path: root/testament
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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