summary refs log tree commit diff stats
path: root/tests/misc
Commit message (Collapse)AuthorAgeFilesLines
* 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
* allow packed union (#14868)Clyybber2020-07-011-0/+10
| | | Co-authored-by: Arne Döring <arne.doering@gmx.net>
* Add test-cases to some fixed issues to close them (#14795)Danil Yarantsev2020-06-241-0/+4
|
* Reject casts to builtin typeclasses (#14788)Danil Yarantsev2020-06-241-1/+8
| | | | | * Closes #14231, closes #14452 * Merge test to tcast.nim
* misc testament cleanups (#14764)Timothee Cour2020-06-231-10/+4
| | | | | * misc testament cleanups extracted cleanups from #14530 * make sure all CI failures can be searched with `FAIL: ` including megatest failures
* sizeof for empty objects/tuples should be 1; fixes #14690 (#14751)Andreas Rumpf2020-06-211-1/+9
|
* walkDirRecFilter, update doc CI filter, compiler/index.nim for docs + ↵Timothee Cour2020-06-011-5/+2
| | | | | | | | | | | various other fixes (#14501) * update doc CI filter to include the files mostly likely to require doc rebuild * remove code duplication in ./config/nimdoc.cfg; show link to compiler docs, various fixes * walkDirRecFilter, factor nativeToUnixPath workaround * glob for getRst2html * docslocal: 40s to build all docs * revert code dedup in github actions which did not work alas... * fixups
* docgen: mangling using _. instead of @@ to avoid issue (#14454)Timothee Cour2020-05-261-19/+19
|
* fix #6583, fix #14376, index+search now generated for all projects, many bug ↵Timothee Cour2020-05-251-12/+89
| | | | | | | | | fixes with nim doc (#14324) * refs #6583 fix nim doc output * changelog * change default for outDir when unspecified * cleanups * --project implies --index
* trunner was not actually being tested in non-CTFFI mode; minor testament ↵Timothee Cour2020-05-194-3/+146
| | | | | | | | | | 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
* fix some issues with --backend (#14363)Timothee Cour2020-05-161-0/+31
| | | | | * fix some issues with --backend * fix https://github.com/timotheecour/Nim/issues/175; improve upon #14306
* fix #14314 do not analyze importc procs for effects (#14319)Timothee Cour2020-05-121-0/+26
|
* fixes #13698 [backport:1.2] (#14175)Andreas Rumpf2020-04-301-0/+5
|
* Error -> Defect for defects (#13908)Jacek Sieka2020-04-283-21/+21
| | | | | | | | | | | | | | * Error -> Defect for defects The distinction between Error and Defect is subjective, context-dependent and somewhat arbitrary, so when looking at an exception, it's hard to guess what it is - this happens often when looking at a `raises` list _without_ opening the corresponding definition and digging through layers of inheritance. With the help of a little consistency in naming, it's at least possible to start disentangling the two error types and the standard lib can set a good example here.
* CT sizeof(+friends) for {.importc, completeStruct.} types, enable ABI static ↵Timothee Cour2020-04-232-1/+132
| | | | | | | | | | | checks (#13926) * -d:checkabi obsolete (ABI check now enforced); add `addTypeHeader` helper * cleanups * import sizeof at CT for {.completeType.} * address comments; revert default enabling of -d:checkAbi for now * mimportc_size_check.nim => msizeof5.nim; merge mabi_check.nim into msizeof5.nim; refactor * all pragmas in errmsgs should be written: '.importc' (un-ambiguous and less verbose than {.importc.})
* Fix semfold handling of {.str/int/bool-define.} (#13964)Oscar Nihlgård2020-04-131-0/+12
|
* faster CIs (#13803)Miran2020-03-301-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ttables: smaller table, 5x speedup * thavlak: less iterations, less loops; 30% speedup * tasyncclosestall: shorter timeout; 35% speedup * gcleak4: less iterations, 2x speedup * ttimes: remove deprecated stuff * tdangerisrelease: remove cpp backend, 3x speedup * tfrexp1: smaller range, 2x speedup * trtree: fix warnings, less iterations, 6x speedup * tasyncawait_cyclebreaker: smaller swarm size; 2x speedup * trealloc: smaller number of iterations; 10x speedup * towned_binary_tree: less iterations, 4x speedup * tclosure: remove unused code, less iterations; 2x speedup * twaitany: less durations; 1.4x speedup * tasync_misc: less iterations, 2x speedup * t8535: smaller sleep, 1.5x speedup * tmanyjoin: smaller sleep, 2x speedup * t12221: shorter sleeps, removed two slower tests; 1.6x speedup * tfuturestream: smaller sleep; 1.5x speedup * growobjcrash: less iterations; 2x speedup * ttryrecv: smaller sleep; 1.5x speedup * treusetvar: less threads; 2x speedup * delete tthreadanalysis2, basically a duplicate of tthreadanalysis * t7758: less iterations, 1.5x speedup * tasyncawait: smaller swarm, less messages; 1.5x speedup * tjsandnativeasync: smaller sleep, 1.5x speedup * tpendingcheck: smaller sleep, 1.5x speedup * remove rodfiles test category * move tseq from its own category to 'collections' category * remove unneeded tests and helpers from 'assert' category * stdlib: merge tbitops2 into tbitops * remove 'trepr2' from 'stdlib' cat * merge 'tstreams' into one file * remove 'tinefficient_const_table' from 'ccbugs' cat * merge 'tcollections_to_string' into 'tcollections' * tblocking_channel: smaller sleep, small speedup * tconvexhull: less iterartions; 1.2x speedup * merge 'tdeepcopy2' into 'tdeepcopy' * merge 'tdisjoint_slice2' into 'tdisjoint_slice1' * tmissing_deepcopy: smaller sequence * tsendtwice: smaller arrays; 5x speedup * remove 'tindexerrorformatbounds' * disable multimethod tests * remove 'gc:none' and 'refc' without 'd:useRealtimeGC' from gc tests * koch.nim: bootstrap just with '-d:release', no need for 'csource' * add github workflow for documentation * testament: no need for 8 sub-second decimals
* fixes #13698 (#13706)Andreas Rumpf2020-03-201-1/+6
|
* fixes #13671 [backport] (#13678)Andreas Rumpf2020-03-181-0/+5
|
* fixes #13661 (#13664) [backport]Andreas Rumpf2020-03-161-0/+12
|
* testament: introduce 'matrix' for testing multiple options (#13343)Miran2020-02-071-1/+3
|
* [backport] -d:danger should imply -d:release (#13336)Miran2020-02-051-0/+13
|
* more on arc codegen (#13178)cooldome2020-01-191-7/+10
| | | | | | | | | | | | * arc codegen for union type * add more tests * fix offsetof * fix tsizeof test * fix style
* fix tsizeof3 for aarch64 (#13169)Jasper Jenkins2020-01-162-20/+20
|
* fixes #13122 (#13126)Andreas Rumpf2020-01-133-54/+0
| | | | | | * fixes #13122 * moved tests to where they belong
* fix regression in align (#12680)Arne Döring2019-11-191-2/+0
| | | | | | * fix regression in align * add test typesym without type
* fixes and changes the recently introduced 'alignas' to be 'align' (#12666)Andreas Rumpf2019-11-154-21/+21
| | | | | | * fixes and changes the recently introduced 'alignas' to be 'align' * more improvements
* implemented alignas pragma (#12643)Arne Döring2019-11-134-9/+94
| | | | | | | | | | | | * implemented alignas pragma * fix bootstrap * generate c++ compatible syntax for alignas * Make it work. * Multiple alignof expressions. Implement top level alignof.
* fix #12597 (#12604)Arne Döring2019-11-071-0/+6
|
* remove unused imports from testsnarimiran2019-11-061-1/+1
|
* remove deprecated procs (#12535)Andreas Rumpf2019-11-052-2/+2
|
* introduce csize_t instead of fixing csize (#12497)Arne Döring2019-10-311-3/+2
|
* fix several typos in documentation and comments (#12553)Nindaleth2019-10-301-1/+1
|
* Fix compiler crash caused by top level return (#12501)Oscar Nihlgård2019-10-241-0/+5
|
* Fixed sizeOf to sizeof (#12347)Ridho Pratama2019-10-031-1/+1
|
* close #6731 by writing a test casenarimiran2019-09-132-0/+5
|
* added more tests and updated the changelogAraq2019-09-021-0/+14
|
* Remove ENDB (#12095)Clyybber2019-08-311-1/+0
|
* refactor sizealignoffset (#12077)Andreas Rumpf2019-08-281-16/+37
| | | | | | | | | | | | | | * small refactoring * refactor computeObjectOffsetFoldFunction with AccumObject * refactor packed object offstes fold function * refactor compute union object offsets fold function * merge normal/packed object offset fold function * compiletime offsetof in c++ inheritance objects * enable c++ inheritance offsetof tests * correct alignment for big sets/enums on weird 32bit platforms * uncomputedSize -> unknownSize * workaround for travis * fixes win32 alignment problems
* fixes #11958 (#12013)Andreas Rumpf2019-08-231-1/+35
|
* fixes #11972Araq2019-08-201-1/+5
|
* int128 on firstOrd, lastOrd and lengthOrd (#11701)Arne Döring2019-08-071-1/+1
| | | | * fixes #11847
* fix #11812 (#11829)Arne Döring2019-07-271-0/+78
| | | | | | * fixes #11812 * fixes #10899 * fixes #11367
* close #9891 by adding a testnarimiran2019-07-252-0/+19
|