summary refs log tree commit diff stats
path: root/testament/categories.nim
Commit message (Collapse)AuthorAgeFilesLines
* use old typeinfo generation for hot code reloading (#22518)metagn2023-08-201-2/+5
| | | | | * use old typeinfo generation for hot code reloading * at least test hello world compilation on orc
* some test cleanups & category reorganization (#22010)metagn2023-06-061-2/+2
| | | | | | | | | | | | | | | | | * clean up some test categories * mention exact slice issue * magics into system * move trangechecks into overflow * move tmemory to system * try fix CI * try fix CI * final CI fix
* hot code reloading: fix regression? and PreMain with arc/orc (#21940)metagn2023-05-301-2/+5
| | | | | * fix PreMain for hot code reloading with arc/orc * fix regression? actually test nimhcr_basic
* fix & add test for basic hot code reloading case (#21915)metagn2023-05-261-0/+1
| | | fixes #21885
* fix nimrtl and nimhcr on arc/orc (#21814)metagn2023-05-091-12/+9
| | | | | | | | | | | * fix/workaround for nimrtl and nimhcr on arc/orc fixes #21803 * try fix clang, debug linux failure * just make duplicated procs not rtl * actual fix for duplicated procs
* test DLL generation with ORC (#21445)ringabout2023-03-031-9/+15
| | | | | | | | | * test DLL generation with ORC * fixes * fixes refc * Update testament/categories.nim
* megatest now checks refc too (#21341)ringabout2023-02-091-0/+2
| | | | | * megatest now checks refc too * fixes refc
* defaults to ORC (#19972)ringabout2022-09-231-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-031-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | * 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>
* 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>
* testament: include extra options in test name (#19801)Jacek Sieka2022-05-191-6/+6
| | | there's currently no (simple) way to disambiguate which option failed
* fixes #12642 (#18811)Andreas Rumpf2021-09-061-2/+4
| | | | | | | | | | | | | | | | | | | * 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>
* testament --megatest:off now makes tests non-joinable so that they all run ↵Timothee Cour2021-09-031-1/+1
| | | | (#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
* 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
* increase backoffDuration to avoid timeouts (#18281)Timothee Cour2021-06-161-1/+1
|
* testament: remove deadcode related to realtimeGC, testC, callCCompiler (#18087)Timothee Cour2021-05-261-17/+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-261-1/+2
|
* remove some custom logic in testament around flags, testExec (#18090)Timothee Cour2021-05-261-23/+0
| | | | | | | * remove some custom logic in testament around flags, testExec * remove testExec, custom logic around flags from testament * fixup
* fixes #17943 (#18045)Andreas Rumpf2021-05-191-14/+19
| | | | | | | | | | | * 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>
* 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 #17952: fix both false positives and false negatives for reInvalidSpec ↵Timothee Cour2021-05-081-2/+9
| | | | | | | | | (#17956) * fix #17952: fix both false positives and false negatives for reInvalidSpec * handle megatest properly * fix for tests/stdlib/tbase64.nim
* gitutils: add diffStrings, diffFiles, and use it in testament to compare ↵Timothee Cour2021-04-301-2/+2
| | | | | | | | | | | | | 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.
* testament: add `nimoutFull: bool` spec (#17867)Timothee Cour2021-04-271-0/+3
| | | | | | | | | | * testament: add `nimoutFull: bool` spec * PRTEMP * works * cleanup * add test for #12741 * PRTEMP failing test * remove unrelated changes * changelog
* important_packages: `allowed_failures` batch (#17757)Timothee Cour2021-04-201-10/+25
| | | | | * 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
|
* ic navigator tests (#17735)Andreas Rumpf2021-04-161-7/+12
| | | * IC navigator: first basic test
* `import foo {.all.}` reboot (#17706)Timothee Cour2021-04-161-0/+1
|
* 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
* nim: unbreak CI; testament: add allowedFailure logic for tests that may fail ↵Timothee Cour2021-03-281-2/+5
| | | | but should still run (#17513)
* closes #17085; boehm has problems with large allocations, that is expected ↵Andreas Rumpf2021-03-241-1/+1
| | | | and we don't care (#17487)
* use NIM_TESTAMENT_BATCH for important_packages, improve formatting, code ↵Timothee Cour2021-03-121-56/+34
| | | | | | | | cleanups (#17301) * use NIM_TESTAMENT_BATCH for important_packages, improve formatting, code cleanups * workaround for nimcrypto not having `--path:.`; remove workaround "two are special snowflakes" * add comment explaining why nimcrypto fails and what packages need to be testable
* use lowercase --define switches (#17283)flywind2021-03-071-1/+1
|
* `--nilseqs` is now a deprecated noop (#17211)Timothee Cour2021-03-011-2/+0
| | | | | * --nilseqs is now a deprecated noop * fix tests; fix: future => sugar
* fixes #17085 [backport:1.2] (#17101)Andreas Rumpf2021-02-191-0/+1
|
* remove .github/workflows/ci_ssl.yml; instead run via trunner_thirdparty (#16221)Timothee Cour2021-02-021-3/+4
|
* IC: bugfixes (WIP) (#16836)Andreas Rumpf2021-02-021-0/+45
| | | | | | | | * minor improvements * IC: added the required logic for compilerProcs * LazySym ftw * we need this testing logic * reimplement the old way we use for module package creation * fixes a regression; don't pick module names if you can avoid it
* improve code in categories.nim; add std/private/gitutils; fix flakyness in ↵Timothee Cour2021-01-291-42/+20
| | | | | | nim CI (cloneDependency in deps.nim) (#16856) * improve code in categories.nim; gitutils; fix flakyness in deps.nim * cleanups
* testament: fix #16829, fix partially #16830 (#16831)Timothee Cour2021-01-271-64/+71
| | | | * fix #16829 * address comments
* Testament small fixes (#16788)Juan Carlos2021-01-221-71/+12
| | | | | | | | | * ReSync with Devel * ReSync * Fix Deprecations, Convertion to itself, code style, etc * Fix Deprecations, Convertion to itself, code style, etc
* fix #16576: honor matrix in testament by making such tests non joinable (#16577)Timothee Cour2021-01-041-2/+8
| | | | | | | * refs #16576: honor matrix in testament by making such tests non joinable * add tests + misc fixes * fix test for i386 with -d:danger
* Retry commands in testament again (#16262)Clyybber2020-12-051-5/+16
|
* error instead of echo when testament category is empty; fix realtimeGC (#16162)Timothee Cour2020-12-011-1/+3
|
* fix #14242 `testament r tests/js/foo` now works; testament now honors ↵Timothee Cour2020-11-281-7/+7
| | | | | | | --targets (#16163) * fix #14242 `testament r tests/js/foo` now works; testament now honors --targets * fix shouldfail
* make megatest consistent with unjoined tests wrt newlines, honor newlines in ↵Timothee Cour2020-11-281-10/+12
| | | | | | | output spec (#16151) * fix megatest newlines * still allow missing trailing newline for now but in a more strict way than before
* Correct all eggs (#15906)Miran2020-11-101-2/+2
| | | | * "eg" is a misspelled "egg", "e.g." is "exempli gratia" * Also, "ie" is "i.e.".