Nim/tests
2017-08-06 00:15:41 +02:00
..
actiontable tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
alias Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
ambsym tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
arithm Removed platform-specific arithm test cases (#6189) 2017-08-06 00:15:41 +02:00
array make tests green again 2016-08-25 20:21:08 +02:00
assert Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
assign tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
astoverload new tester; all tests categorized 2014-01-13 02:10:03 +01:00
async Fixes #5738 (#6059) 2017-07-15 08:50:41 +02:00
benchmarks tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
bind Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
borrow tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
caas Rename PNimrodNode to NimNode 2015-03-17 17:50:32 +01:00
casestmt use 'using' instead of 'sig' keyword; cleans up new features a bit 2016-02-29 12:19:54 +01:00
ccgbugs Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
clearmsg lift parameter-less do block to lambdas 2017-04-10 23:58:05 +03:00
closure disable tboehmdeepcopy for Windows as we don't have a version of Boehm GC on Windows 2017-08-04 22:24:37 +02:00
cnstseq tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
collections Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
compiles Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
concat new tester; all tests categorized 2014-01-13 02:10:03 +01:00
concepts Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
constr tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
constraints tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
constructors object construction: test cases and manual additions 2017-04-06 00:46:18 +03:00
controlflow tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
converter fixes #4537 2016-08-02 14:53:21 +02:00
coroutines attempt to make travis OSX tests green and mandatory 2017-03-29 10:14:03 +02:00
cpp fixes #6016 union alias trigger bad codegen (#6117) 2017-08-03 11:03:47 +02:00
defaultprocparam new tester; all tests categorized 2014-01-13 02:10:03 +01:00
deprecated fixes --gc:none regression; made some tests green 2015-03-10 12:32:47 +01:00
destructor fixes regressions 2016-01-08 12:08:42 +01:00
dir with space tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
discard Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
distinct make tests on Windows green 2017-01-31 23:05:36 +01:00
dll tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
effects side-effect computation now done in the proper pass; fixes #4254 2016-08-25 16:33:51 +02:00
enum Fixes #5062 (#5527); JS: holes in enums 2017-03-15 10:33:37 +01:00
errmsgs Fix #4737 2017-06-20 11:29:42 +02:00
exception Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
exprs compiler: better error messages (#5613) 2017-03-26 20:24:06 +02:00
fields Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
float Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
friends tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
gc Add `tearDownForeignThreadGc` function (#5369) 2017-02-13 13:37:20 +01:00
generics Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
gensym Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
global tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
implicit unsigned array indexes work better; minor cleanups 2015-02-10 20:19:46 +01:00
import_in_config fixes a regression that caused --import in a config file to break things 2016-08-29 11:33:41 +02:00
init tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
iter simple closure iterator calling closure iterator works; refs #3837 2016-12-27 09:51:58 +01:00
js fixes #5986 js backend failed to compile try ... except new syntax (#6116) 2017-07-17 08:07:47 +02:00
let Fix tests some more 2015-03-17 00:02:47 +01:00
lexer Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
lookups fixes #4353 2016-08-04 19:36:13 +02:00
macros Fixed NimTypeKind enum, added missing values. (#6157) 2017-07-30 11:10:07 +02:00
magics tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
manyloc Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
metatype Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
method Lineinfo change (#6084) 2017-07-17 08:12:15 +02:00
misc Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
modules distinguish between 'reorder' and 'noforward' 2017-07-26 08:20:11 +02:00
namedparams tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
newconfig fixes #5228 2017-03-18 13:59:35 +01:00
notnil cleaned up the code and implemented proper error messages 2017-04-06 00:46:18 +03:00
objects Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
objvariant tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
openarray fixed #2240 and #3586 2016-01-05 07:52:56 +07:00
osproc WIFSIGNALED means process has exited too (with a bang!) (#5678) 2017-04-27 21:39:32 +02:00
overflw tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
overload Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
parallel Channels can now block depending on maxItems (#6153) 2017-07-31 20:06:55 +02:00
parser Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
pragmas Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
proc tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
procvar tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
range Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
rational add two test: 2015-10-01 20:32:49 +10:00
realtimeGC tests: Trim .txt files trailing whitespace 2015-09-04 23:11:11 +02:00
rodfiles updated test case 2016-08-27 13:26:16 +02:00
seq fixes #4973 2017-02-01 12:09:24 +01:00
sets tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
showoff Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
specialops Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
statictypes close #1051 2017-06-20 11:29:42 +02:00
stdlib Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
system Handle different enum sizes in reprAux (#5207) 2017-01-11 05:54:04 +01:00
template Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
testament review and merge zahary's work (#5849) 2017-06-03 12:45:10 +02:00
testdata Fix for #5134 (parseJson(string) should fail on leftover data) (#5203) 2017-01-11 06:50:18 +01:00
threads Fixes #4719. (#5585) 2017-03-23 16:13:38 +01:00
trmacros Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
tuples Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
typerel Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
types fixes #6016 union alias trigger bad codegen (#6117) 2017-08-03 11:03:47 +02:00
untestable Column details for postgres. (#5380) 2017-02-13 09:09:43 +01:00
usingstmt Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
varres Fixed ret by var in js 2015-10-15 16:04:53 +03:00
varstmt tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
vm Vm fix zero extend proc ze/ze64 && toU32/toU16/toU8 (#5988) 2017-08-03 10:58:45 +02:00
benchmark.nim tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
js.html Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
js.nim tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
mmaptest.nim tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
readme.txt tests: Trim .txt files trailing whitespace 2015-09-04 23:11:11 +02:00
rectest.nim tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
stckovfl.nim tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
test_nimscript.nims Added deques module, deprecating queues 2016-11-24 19:11:51 +07:00

This directory contains the test cases.
Each test must have a filename of the form: ``t*.nim``

Each test can contain a spec in a ``discard """"""`` block.

The folder ``rodfiles`` contains special tests that test incremental
compilation via symbol files.

The folder ``dll`` contains simple DLL tests.

The folder ``realtimeGC`` contains a test for validating that the realtime GC
can run properly without linking against the nimrtl.dll/so. It includes a C
client and platform specific build files for manual compilation.