summary refs log tree commit diff stats
path: root/tests/misc
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* fixes #11792 (#11793)cooldome2019-07-211-0/+30
|
* Offsetof fixes (#11690)Arne Döring2019-07-092-1/+85
| | | | | | | | * first fixes * more tests and fixes * code normalization
* fixes #11660 (#11677)Andreas Rumpf2019-07-071-0/+6
|
* [backport] fix #11320 (#11538)Arne Döring2019-07-031-0/+13
| | | | | * [backport] fix #11320 * fix test for 32 bit test
* parseopt fix (#11363) [backport]Jasper Jenkins2019-06-011-1/+2
|
* Remove immediate pragma (#11308)Arne Döring2019-05-291-1/+1
| | | | | * remove immediate from tests * remove immediate from the compiler
* right shift is now by default sign preserving (#11322)Arne Döring2019-05-292-6/+6
| | | | | | | | | | | * right shift is now by default sign preserving * fix hashString and semfold * enable arithmetic shift right globally for CI * fix typo * remove xxx * use oldShiftRight as flag * apply feedback * add changelog entry
* make tests green againAraq2019-05-271-3/+1
|
* Enable range checking for unsigned integers (#11313)Oscar Nihlgård2019-05-251-1/+1
| | | | | | * Enable range checking for unsigned integers * Make the tests green
* Add test case for #3766 (#11252)Oscar Nihlgård2019-05-151-0/+14
|
* Make range checks in semConv (#7164)Oscar Nihlgård2019-05-101-0/+43
| | | | | | | | | | | * Remove NaN/Inf/NegInf magic * Make range checks in semConv * fix the failing line * fix `firstOrd` and `lastOrd` * fix `localError` * remove debug comment * Cleanup, fix failing test * make tests green
* low/high for float ranges (#11177)Oscar Nihlgård2019-05-061-0/+14
|
* sizeof alignof offsetof macros api (#10855)Arne Döring2019-03-191-0/+51
|
* tsizeof test is now correct (#10788)Arne Döring2019-03-061-16/+47
|
* make megatest green againAndreas Rumpf2019-03-051-0/+1
|
* sizealign of union type (#10780)Arne Döring2019-03-041-2/+10
| | | | | | * sizealign of union type * add error message for packed union
* quickfix: make `tsizeof3` also work on 32-bitnarimiran2019-02-281-2/+2
|