summary refs log tree commit diff stats
path: root/tests/misc
Commit message (Collapse)AuthorAgeFilesLines
* `--usenimcache` (implied by `nim r main`) now caches some compile options to ↵Timothee Cour2021-04-252-12/+39
| | | | | | | | | | | avoid recompiling when project was previously compiled with such options. (#17829) * `--usenimcache` (implied by `nim r main`) now caches some compile options to avoid recompiling when project was previously compiled with such options. * works * add test * changelog * use std/with
* add `--processing:dots|filenames|off` to customize `hintProcessing` (#17817)Timothee Cour2021-04-231-1/+1
|
* unit separator (#17730)Andreas Rumpf2021-04-201-2/+2
| | | | | * use the ASCII Unit Separator so that error messages can be handled precisely by the tooling * updated testament
* fix https://github.com/nim-lang/RFCs/issues/311 remove unary slice (#16714)Timothee Cour2021-04-191-5/+6
|
* megatest: allow duplicate file names, show compilation progress (#17713)Timothee Cour2021-04-131-0/+3
| | | | | * megatest: allow duplicate file names * megatest: show compilation progress
* close #17636 (#17643)flywind2021-04-061-2/+1
|
* implement RFCs/294 ; disallow enum <=> enum conversion (#16351)Timothee Cour2021-04-032-6/+63
| | | | | | | | | | | * 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
* fix #17190 `nimscript` now accepts arbitrary file extensions for `nim e ↵flywind2021-04-011-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | main.customext` (#17596) * fix #17190 * cah * merge * Update tnimscriptwithnimext.nim * Update tnimscriptwithmacro.nims * Apply suggestions from code review * Delete tnimscriptwithnimext.nim * Update tests/tools/tnimscriptwithmacro.nims * fix * fix * add a test * Apply suggestions from code review Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Apply suggestions from code review * Update changelog.md Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* fix #17572 (#17586)Timothee Cour2021-03-311-0/+16
|
* added nkError to the AST (#17567)Andreas Rumpf2021-03-291-1/+1
| | | | | | | | | | | | | * added nkError to the AST * Update lib/core/macros.nim Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> * Update compiler/ast.nim Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com> Co-authored-by: konsumlamm <44230978+konsumlamm@users.noreply.github.com>
* Close #8545 by add a test case (#17432)konsumlamm2021-03-201-0/+23
| | | Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
* adjust spellSuggestSecretSauce logic to avoid too many matches for small ↵Timothee Cour2021-03-182-2/+2
| | | | symbols (#17410)
* fix #2844 #3911; add --spellsuggest to suggest symbols in scope with similar ↵Timothee Cour2021-03-163-0/+97
| | | | | | | spellings on undefined symbol error (#16067) * add --spellsuggest to suggest symbols in scope with similar spellings on undefined symbol errors * implement --spellsuggest with 0 arguments
* fix #16949 --app:staticlib works on openbsd; --app:staticlib tested in CI ↵Timothee Cour2021-02-081-0/+27
| | | | (#16950)
* remove .github/workflows/ci_ssl.yml; instead run via trunner_thirdparty (#16221)Timothee Cour2021-02-022-5/+33
|
* fix #16752: threadvar now works with importcpp types; osx now uses native ↵Timothee Cour2021-01-272-0/+112
| | | | | | | | | | | TLS (`--tlsEmulation:off`), which can be orders of magnitude faster (#16750) * osx now uses native TLS, which can be orders of magnitude faster * add {.cppNonPod.} * improve test * changelog, docs, disable part of windows test
* `--hintAsError` (#16763)Timothee Cour2021-01-201-0/+35
| | | | | | | * --hintAsError * add test, changelog * condsyms
* close #9901 add testcase (#16662)flywind2021-01-111-0/+18
| | | | | * close #9901 add testcase * follow advice
* Make test independent of repo location (#16571)Clyybber2021-01-031-3/+1
| | | | | * Make test independent of repo location * Fix differently
* Revert "Make config processing order test more robust" (#16561)flywind2021-01-031-1/+1
| | | This reverts commit cf714c129f7dd598863d1cc588e685df2438c658.
* Make config processing order test more robustClyybber2021-01-021-1/+1
|
* fix #16526 run config.nims before foo.nim.cfg (#16557)Timothee Cour2021-01-021-0/+19
| | | | | * fix #16526 run config.nims before foo.nim.cfg * add test
* follow #16505 move and active tests (#16508)flywind2020-12-301-30/+0
| | | | | * fix printing negative zero in JS backend * move tests
* fix `hintProcessing` dots interference with `static:echo` and `hintCC`; add ↵Timothee Cour2020-12-301-8/+56
| | | | | | | | | | tests for `nim secret`, add tests for hintProcessing, misc other bug fixes (#16495) * fix dots interfering with static:echo * add tests * fix hintProcessing dots for hintCC * improve trunner tests * fix bug: readLineFromStdin now writes prompt to stdout, consistent with linenoise and rdstdin * disable a failing test for windows
* fix printing negative zero in JS backend (#16505)flywind2020-12-291-0/+30
|
* use doAssert in tests (#16486)flywind2020-12-281-114/+114
|
* fix nim js cmp fails at CT (#16473)flywind2020-12-271-0/+20
|
* fixes #15939, fixes #15464, fixes #16169, fixes #16226 VM now supports ↵Timothee Cour2020-12-031-0/+66
| | | | | | | | | `addr(mystring[ind])` (index + index assignment) (#15987) * fix #15939, fix #15464 VM now supports `addr(mystring[ind])` (index + index assignment), var char return etc * cleanups * cstring tests * add test for bug #15464 * improve test coverage
* add test for --eval; fix a minor bug (#16224)Timothee Cour2020-12-011-0/+6
|
* make megatest consistent with unjoined tests wrt newlines, honor newlines in ↵Timothee Cour2020-11-281-0/+4
| | | | | | | output spec (#16151) * fix megatest newlines * still allow missing trailing newline for now but in a more strict way than before
* fix #14339, #13511, #14420: fixes limited VM support for addr (#16002)Timothee Cour2020-11-251-0/+80
| | | | | | | | | | | * fix #14339: fixes limited VM support for addr * strengthen test * reference bug #16003 * also fixes #13511 * also fixes #14420
* fixes #16069; [backport:1.2] [backport:1.4] (#16115)Andreas Rumpf2020-11-241-11/+0
| | | | | * fixes #16069; refs https://github.com/nim-lang/RFCs/issues/257 [backport:1.2] [backport:1.4] * make tests green again
* followup #15970 strenghten regression tests (#16075)Timothee Cour2020-11-201-3/+2
| | | | | * followup #15970 strenghten regression tests * _
* fix #16025 repr now consistent: does not insert trailing newline (#16034)Timothee Cour2020-11-191-2/+1
|
* Disallow nil dereference at compile time (#16032)cooldome2020-11-181-1/+2
| | | | | | | | | | | | | * bring back the semfold of nil * remove space * fix test * proc type can't be dereferenced * disallow nil dereference at compile time * changelog
* Semfold for nil cast (#16030)cooldome2020-11-181-3/+4
| | | | | | | | | * bring back the semfold of nil * remove space * fix test * proc type can't be dereferenced
* combine PR#16009 and PR#16012 (#16024)flywind2020-11-181-0/+44
| | | | | | | | * fix #15623 * add testcase for #15623 * add testcase * combine #16009 * support casting nil to NilableTypes in VM
* strengthen taddr.nim: add test case for #14578; reference other issues; test ↵Timothee Cour2020-11-131-0/+137
| | | | cpp (#15960)
* Fix #8404 JS backend doesn't handle float->int type conversion (#15950) ↵Bung2020-11-131-0/+33
| | | | | | | | | | | [backport] * Fix #8404 JS backend doesn't handle float->int type conversion * handle conv to uint as cast, discard other cases * limit to int32, times use int64 * toInt including tyInt64 break times timezones lib, ignore for now * also affect to vm * move to tests/misc/t8404.nim
* Correct all eggs (#15906)Miran2020-11-101-1/+1
| | | | * "eg" is a misspelled "egg", "e.g." is "exempli gratia" * Also, "ie" is "i.e.".
* Fix #12636 (#15850)cooldome2020-11-051-1/+13
| | | | | | | | | * close #11142 * fix #12636 * undo unwanted changes * fix illegal recursion case
* [closes #12682]add testcase for #12682 (#15796)flywind2020-10-311-0/+11
| | | | | * add testcase for #12682 * fix
* honor --declaredLocs in more places, including type mismatch errors; also ↵Timothee Cour2020-10-271-1/+1
| | | | | | | show `kind` with --declaredLocs (#15673) * honor --declaredLocs in more places, including type mismatch errors * fix tests * show declaration location also when type mismatch names clash
* fix #15516 (#15518)cooldome2020-10-081-1/+17
|
* fixes #15210 [backport:1.2] (#15237)Andreas Rumpf2020-08-311-0/+11
| | | | | * fixes #15210 [backport:1.2] * use patched version of bigints library
* fixes #14616 [backport:1.2] (#15109)Andreas Rumpf2020-07-291-0/+10
|
* fix #13086 (#14987)flywind2020-07-151-0/+33
| | | | | | | | | | | | | | | | | * fix #6608 * minor * fix * clean tests * make testamnet happy * again * minor * fix #13086
* Reenable a few testsClyybber2020-07-141-1/+1
|
* Limit number of error messages from gcc/clang backend (#14852)Tomohiro2020-07-071-0/+5
| | | | | | | * Limit number of error messages from backend * Avoid duplication of -fmax-errors * make tests/misc/trunner.nim success
* {.deprecated: [existsFile: fileExists].} (#14735)Timothee Cour2020-07-021-1/+1
| | | | | | | | | * {.deprecated: [existsFile: fileExists].} * s/existsFile/fileExists/ except under deps * workaround pending #14819 * fix test