Nim/tests/misc
ringabout 38f876dd48
fixes #19795; fixes #11852; fixes #19974; remove parsing pipeline, Nim now parses the whole module at one time (#21379)
* fixes #19795; remove parse pipeline

* isScript

* fixes nimscriptapi

* don't touch reorder

* check script

* fixes tests

* it seems implicit imports of system cause troubles

* access the first child of `nkStmtList`

* ignore comments

* minor messages

* perhaps increases hloLoopDetector

* the module is a stmtList, which changes the errors

* fixes nimdoc

* fixes tlinter

* fixes nim  secret tests

* fixes arc_misc

* fixes nim secret tests again

* safe; fixes one more test

* GlobalError is the root cause too

* fixes parsing errors

* put emit types to the cfsForwardTypes section

* fixes #11852; `{.push checks:off}` now works in procs

* disable navigator

* fixes nimdoc

* add tests for JS

* fixes nimsuggest
2023-02-22 20:34:20 +01:00
..
99bottles.nim Merge pull request #1075 from flaviut/inlinedocs 2014-04-09 22:56:18 +02:00
m15316.nim closes #15316; add testcase (#20213) 2022-08-13 22:23:11 +08:00
m15955.nim close #15955; add a test case (#20414) 2022-09-24 01:37:21 +08:00
m15955_main.nim close #15955; add a test case (#20414) 2022-09-24 01:37:21 +08:00
m20149.nim fixes #20149; fixes #16762; hintAsError and warningAsError now ignore foreign packages (#20151) 2022-08-19 16:24:09 -04:00
m20456.nims fixes nim check with orc (#20456) 2022-10-02 06:44:10 +02:00
mbackend.nim trunner was not actually being tested in non-CTFFI mode; minor testament cleanups (#14377) 2020-05-19 09:41:31 +02:00
mbetterrun.nim --usenimcache (implied by nim r main) now caches some compile options to avoid recompiling when project was previously compiled with such options. (#17829) 2021-04-25 10:25:31 +02:00
mfield_defect.nim properly fix #10053 ; FieldDefect msg now shows discriminant value + lineinfo, in all backends (c,vm,js) (#11955) 2021-08-13 09:35:48 +02:00
mimportc.nim fix #14314 do not analyze importc procs for effects (#14319) 2020-05-12 16:19:03 +02:00
minit.nim tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
mjsondoc.nim fixes #20132; fixes the broken jsondoc comand [backport] (#20135) 2022-08-04 08:49:51 +02:00
modulea.nim close #6731 by writing a test case 2019-09-13 07:46:46 +02:00
msizeof5.nim trunner was not actually being tested in non-CTFFI mode; minor testament cleanups (#14377) 2020-05-19 09:41:31 +02:00
msizeof5.nim.cfg Limit number of error messages from gcc/clang backend (#14852) 2020-07-07 10:22:10 +02:00
mspellsuggest.nim fix #2844 #3911; add --spellsuggest to suggest symbols in scope with similar spellings on undefined symbol error (#16067) 2021-03-16 10:41:30 +01:00
mtlsemulation.h fix #16752: threadvar now works with importcpp types; osx now uses native TLS (--tlsEmulation:off), which can be orders of magnitude faster (#16750) 2021-01-27 22:35:43 +01:00
mvarious.nim the parser finally parses 'echo {1,2}' as it should 2017-09-30 21:35:30 +02:00
parsecomb.nim fixes #18612; apply cache and memcmp for methods in arc/orc (#19749) 2022-04-26 20:14:39 +02:00
t99bott.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
t3482.nim close #3482 no more cgen error with typed templates (#18094) 2021-05-26 09:44:00 +02:00
t5540.nim close #5540 generic object with generic field evaluated too early (#18062) 2021-05-23 01:02:04 -07:00
t6549.nim fix #20272 range of uint64 shows signed upper bound (#20702) 2022-11-01 05:58:32 +01:00
t8404.nim Fix #8404 JS backend doesn't handle float->int type conversion (#15950) [backport] 2020-11-13 13:44:48 +01:00
t8545.nim Close #8545 by add a test case (#17432) 2021-03-20 18:30:57 -07:00
t9039.nim style usages part one (openarray => openArray) (#19321) 2022-01-04 13:29:50 +01:00
t9091.nim fix #16256: nimout: <empty> should give error (vacuously true); improve a few tests (#18089) 2021-05-31 13:39:19 +02:00
t9710.nim fix #16256: nimout: <empty> should give error (vacuously true); improve a few tests (#18089) 2021-05-31 13:39:19 +02:00
t11634.nim fix #11634 (#21146) 2022-12-23 11:32:03 +01:00
t12480.nim Fix compiler crash caused by top level return (#12501) 2019-10-24 11:04:04 +02:00
t12869.nim fix #15836 proc arg return type auto unexpectly match proc with concr… (#21065) 2022-12-12 06:26:18 +01:00
t14667.nim fix #14667 (#21190) 2022-12-28 08:28:48 +01:00
t15955.nim close #15955; add a test case (#20414) 2022-09-24 01:37:21 +08:00
t16244.nim fix #15836 proc arg return type auto unexpectly match proc with concr… (#21065) 2022-12-12 06:26:18 +01:00
t16264.nim fix #16264 low(Time) OverflowDefect (#20552) 2022-10-29 08:59:51 +02:00
t16541.nim fix #16541 (#21148) 2022-12-22 06:16:25 +01:00
t17286.nim fix #17286 nim check -b:js works (#19704) 2022-04-09 17:52:11 +02:00
t18077.nim fix #18077 testament now parses cmd properly (#18086) 2021-05-26 09:46:53 +02:00
t18079.nim megatest now checks refc too (#21341) 2023-02-09 16:14:39 -05:00
t19046.nim test for #19046 (#19839) 2022-06-10 20:40:34 +02:00
t20253.nim fix #20253 (#21174) 2023-01-13 15:36:13 +01:00
t20289.nim add test case for #20289 (#21180) 2022-12-27 12:07:15 +01:00
t20456_2.nim fixes nim check with orc (#20456) 2022-10-02 06:44:10 +02:00
t21109.nim fix #21109 (#21127) 2022-12-19 12:35:15 +01:00
t21443.nim fixes #19292; fixes #21122; fixes putEnv and setEnv with vcc (#21143) 2022-12-20 20:26:32 +01:00
tack.nim Testament: refactoring; makes the test joiner green 2018-12-11 21:23:23 +01:00
taddr.nim defaults to ORC (#19972) 2022-09-23 13:05:05 +02:00
tapp_lib_staticlib.nim fix #16949 --app:staticlib works on openbsd; --app:staticlib tested in CI (#16950) 2021-02-08 09:47:05 +01:00
tbug1217bracketquotes.nim Add test 2014-06-03 19:05:13 -04:00
tbug511622.nim remove unused imports from tests 2019-11-06 14:35:45 +01:00
tcast.nim implement RFCs/294 ; disallow enum <=> enum conversion (#16351) 2021-04-03 07:15:21 +02:00
tcharinc.nim doc updates; fixes 'inc' for 'char' 2015-03-29 13:16:22 +02:00
tcmdline.nim testament: joinable is now an explicit concept of a test spec 2018-12-11 21:23:24 +01:00
tcolonisproc.nim updated tests to be executed 2018-11-23 11:58:28 +01:00
tconv.nim mitigates #12815 (#18557) 2021-07-22 11:59:21 +02:00
tcsharpusingstatement.nim remove {.this.} pragma, deprecated since 0.19 (#20201) 2022-08-23 19:44:37 +02:00
tdangerisrelease.nim faster CIs (#13803) 2020-03-30 13:18:12 +02:00
tdefine.nim generic define pragma + string alias (#20979) 2022-12-13 21:20:55 +01:00
tdllvar.nim updated tests to be executed 2018-11-23 11:58:28 +01:00
temit.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
temptyecho.nim make megatest consistent with unjoined tests wrt newlines, honor newlines in output spec (#16151) 2020-11-28 09:09:31 +01:00
teventemitter.nim tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
tfib.nim tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
tfilter.nim Merge pull request #1075 from flaviut/inlinedocs 2014-04-09 22:56:18 +02:00
tgcregions.nim fix #12597 (#12604) 2019-11-07 17:16:34 +01:00
tgenconstraints.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
thallo.nim Remove ENDB (#12095) 2019-08-31 07:44:53 +02:00
theaproots.nim style usages part one (openarray => openArray) (#19321) 2022-01-04 13:29:50 +01:00
thints_off.nim make testament isSuccess more robust and allow tests with --hints:off to succeed (#17968) 2021-05-11 06:54:52 +02:00
tidentconcatenations.nim introduce csize_t instead of fixing csize (#12497) 2019-10-31 19:18:12 +01:00
tinc.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
tinit.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
tinout.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
tints.nim Add test-cases to some fixed issues to close them (#14795) 2020-06-24 20:38:08 -07:00
tinvalidarrayaccess.nim revive #10228 (fix #9880) (#10610) 2019-02-13 23:30:14 +01:00
tinvalidarrayaccess2.nim revive #10228 (fix #9880) (#10610) 2019-02-13 23:30:14 +01:00
tinvalidnewseq.nim added nkError to the AST (#17567) 2021-03-29 16:23:19 +02:00
tissue710.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
tjoinable.nim megatest: allow duplicate file names, show compilation progress (#17713) 2021-04-13 23:16:19 +02:00
tlambdadonotation.nim deprecate do: meaning do (): + misc cleanup (#20927) 2022-12-06 09:44:26 +01:00
tlastmod.nim updated tests to be executed 2018-11-23 11:58:28 +01:00
tlocals.nim fixes #20162; locals doesn't work with ORC [backport] (#20163) 2022-08-23 09:00:23 +02:00
tloops.nim updated tests to be executed 2018-11-23 11:58:28 +01:00
tlowhigh.nim added more tests and updated the changelog 2019-09-02 11:03:08 +02:00
tmemoization.nim cleanup tests; don't use non-working 'msg' spec field 2018-11-23 13:16:45 +01:00
tmissingnilcheck.nim tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
tmodulea.nim close #6731 by writing a test case 2019-09-13 07:46:46 +02:00
tnew.nim defaults to ORC (#19972) 2022-09-23 13:05:05 +02:00
tnewderef.nim tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
tnewsets.nim tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
tnoforward.nim fixes #19795; fixes #11852; fixes #19974; remove parsing pipeline, Nim now parses the whole module at one time (#21379) 2023-02-22 20:34:20 +01:00
tnoinst.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
tnolen.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
tnoop.nim close #17636 (#17643) 2021-04-06 16:20:01 +02:00
tnot.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
tparamsindefault.nim fixes #11660 (#11677) 2019-07-07 15:25:25 +02:00
tparedef.nim tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
tparsecombnum.nim add parser combinator test; uses multiple tuples/generics features 2015-03-07 22:15:53 +13:00
tparseopt.nim fix #13086 (#14987) 2020-07-15 03:46:17 -04:00
tpos.nim Testament: refactoring; makes the test joiner green 2018-12-11 21:23:23 +01:00
tprep.nim updated tests to be executed 2018-11-23 11:58:28 +01:00
tproveinit.nim close #9901 add testcase (#16662) 2021-01-11 18:00:57 +00:00
tquicksort.nim updated tests to be executed 2018-11-23 11:58:28 +01:00
tradix.nim moderate system cleanup & refactor (#20355) 2022-09-28 15:28:45 -04:00
trangechecks.nim fixes #13698 [backport:1.2] (#14175) 2020-04-30 22:45:02 +02:00
trawstr.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
treadln.nim updated tests to be executed 2018-11-23 11:58:28 +01:00
treservedcidentsasfields.nim Add test for #6836 (#9602) 2018-11-02 13:17:57 +01:00
trfc405.nim fixes #19015 [backport:1.6] (#19204) 2021-12-04 07:42:58 +01:00
trfc_341.nim fix RFC #341: dot-like operators are now parsed with same precedence as . (#18711) 2021-08-25 06:50:40 +02:00
trunner.nim fixes #19795; fixes #11852; fixes #19974; remove parsing pipeline, Nim now parses the whole module at one time (#21379) 2023-02-22 20:34:20 +01:00
trunner_special.nim defaults to ORC (#19972) 2022-09-23 13:05:05 +02:00
tsamename.nim close #9891 by adding a test 2019-07-25 09:25:18 +02:00
tsamename2.nim close #9891 by adding a test 2019-07-25 09:25:18 +02:00
tsemfold.nim Error -> Defect for defects (#13908) 2020-04-28 19:56:01 +02:00
tshadow_magic_type.nim make tests green again 2019-05-27 21:29:02 +02:00
tsimplesort.nim remove deprecated type pragma syntax, fix bugs that required it (#20199) 2022-09-03 09:52:13 +02:00
tsimtych.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
tsizeof.nim Fix #12636 (#15850) 2020-11-05 18:55:52 +01:00
tsizeof2.nim CT sizeof(+friends) for {.importc, completeStruct.} types, enable ABI static checks (#13926) 2020-04-23 11:24:09 +02:00
tsizeof3.nim fixes #20914; fixes the alignment of big sets (#20918) 2022-11-26 07:48:11 +01:00
tsizeof4.nim fix tsizeof3 for aarch64 (#13169) 2020-01-16 14:21:12 +01:00
tslices.nim fix https://github.com/nim-lang/RFCs/issues/311 remove unary slice (#16714) 2021-04-19 19:02:52 -07:00
tsortdev.nim remove deprecated procs (#12535) 2019-11-05 11:05:46 +01:00
tspellsuggest.nim Don't repeat suggestions for same symbol (#21140) 2022-12-22 14:44:10 +01:00
tspellsuggest2.nim Don't repeat suggestions for same symbol (#21140) 2022-12-22 14:44:10 +01:00
tspellsuggest3.nim Don't repeat suggestions for same symbol (#21140) 2022-12-22 14:44:10 +01:00
tstrace.nim updated tests to be executed 2018-11-23 11:58:28 +01:00
tstrange.nim remove deprecated procs (#12535) 2019-11-05 11:05:46 +01:00
tstrdesc.nim the parser finally parses 'echo {1,2}' as it should 2017-09-30 21:35:30 +02:00
tstrdist.nim updated tests to be executed 2018-11-23 11:58:28 +01:00
tstrtabs.nim fix nim js cmp fails at CT (#16473) 2020-12-27 10:13:57 +01:00
ttlsemulation.nim fixes a severe bug of testament (#20832) 2022-11-17 09:38:07 +08:00
tunsigned64mod.nim updated tests to be executed 2018-11-23 11:58:28 +01:00
tunsignedcmp.nim fixes #3985 2018-02-10 21:20:48 +01:00
tunsignedcomp.nim use doAssert in tests (#16486) 2020-12-28 14:13:21 +01:00
tunsignedconv.nim megatest now checks refc too (#21341) 2023-02-09 16:14:39 -05:00
tunsignedinc.nim Error -> Defect for defects (#13908) 2020-04-28 19:56:01 +02:00
tunsignedmisc.nim Deprecate 'c', 'C' prefix for octal literals, fixes #8082 (#8178) 2018-07-03 01:56:36 +02:00
tvarious.nim updated tests to be executed 2018-11-23 11:58:28 +01:00
tvarious1.nim fix #19680; check if stderr is static (#19709) 2022-04-12 09:48:48 +02:00
tvarnums.nim moderate system cleanup & refactor (#20355) 2022-09-28 15:28:45 -04:00
tvcc.nim add a testcase for vcc (#20915) 2022-11-25 17:39:50 +08:00
twarningaserror.nim --hintAsError (#16763) 2021-01-20 10:49:59 +01:00
åäö.nim Bugfix for modules with multi byte characters in the name (#8319) 2018-07-14 16:00:51 +02:00