summary refs log tree commit diff stats
path: root/testament/categories.nim
Commit message (Collapse)AuthorAgeFilesLines
* 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.".
* Nimgrep improvements 2 (#15612)Andrey Makarov2020-11-091-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | * nimgrep: speed up by threads and Channels * nimgrep: add --bin, --text, --count options * nimgrep: add --sortTime option * allow Peg in all matches including --includeFile, --excludeFile, --excludeDir * add --match and --noMatch options * add --includeDir option * add --limit (-m) and --onlyAscii (-o) options * fix performance regression introduced in nimgrep improvements #12779 * better error handling * add option --fit * fix groups in --replace * fix flushing, --replace, improve --count * use "." as the default directory, not full path * fix --fit for Windows * force target to C for macosx * validate non-negative int input for options #15318 * switch nimgrep to using --gc:orc * address review: implement cropping in matches,... * implement stdin/pipe & revise --help * address stylistic review & add limitations
* Try to fix CI failures (#15701)Clyybber2020-10-241-42/+33
| | | | | | | | | | | | | | | | | | | | | | * Use cligens release version * Rework important_packages main loop * Fix * Fix * Create pkgs dir * Don't use nimble develop since it doesn't work for binary only packages, and always install head * Use git to get the latest release/tag instead * Tackle the root cause * Reduce diff * Cleanup
* Fix style inconsistencies due to the previous commitnarimiran2020-07-061-3/+3
|
* revert 0944b0f4narimiran2020-07-061-3/+3
|
* deprecate existsDir; use dirExists instead (#14884)Timothee Cour2020-07-031-1/+1
|
* {.deprecated: [existsFile: fileExists].} (#14735)Timothee Cour2020-07-021-1/+1
| | | | | | | | | * {.deprecated: [existsFile: fileExists].} * s/existsFile/fileExists/ except under deps * workaround pending #14819 * fix test
* testament: generic N-fold batching: windows CI 37mn=>16m (#14823)Timothee Cour2020-06-271-2/+3
| | | | | | | | | * testament: run CI faster thanks to batching * move ta_in, tstdin into existing tosproc * move ta_out,tafalse,texitcode,tstderr into existing tosproc * joinable osproc * move tstdout into existing tosproc * spec: batchable; fix tests * fixup
* CI: Install the pkg we cloned (#14770)Clyybber2020-06-241-16/+37
|
* misc testament cleanups (#14764)Timothee Cour2020-06-231-23/+13
| | | | | * misc testament cleanups extracted cleanups from #14530 * make sure all CI failures can be searched with `FAIL: ` including megatest failures
* `addQuitProc` now works with closures, and c, js(node/browser) backend; fix ↵Timothee Cour2020-06-161-2/+2
| | | | | | | | | | | | | | | some bugs in testament (#14342) * make addQuitProc great again * fix bugs in testament * fix test * change 2016 => 2020 * addQuitProc => addExitProc + locks * move to std/exitprocs
* make tests/stdlib tests joinable (#14626)Timothee Cour2020-06-151-13/+20
| | | | | * make tests/stdlib tests joinable * fixup
* fix https://github.com/timotheecour/Nim/issues/266 retry on failure to avoid ↵Timothee Cour2020-06-021-3/+4
| | | | common 503 github errors (#14547)
* trunner was not actually being tested in non-CTFFI mode; minor testament ↵Timothee Cour2020-05-191-5/+0
| | | | | | | | | | cleanups (#14377) * use check * trunner now works with cpp * cleanup: move compiler/unittest_light => stdtest/unittest_light * fix tests/readme.md * remove deadcode references to rodfiles * fix for windows
* Split testing important packages into two jobs (#14256)Miran2020-05-071-7/+19
| | | | | * split testing packages in two separate jobs * speed-up the slowest tests * special treatment for two packages