Nim/tests
2015-04-09 04:21:50 +03:00
..
actiontable some love for the testsuite; fixed regressions 2015-03-01 21:41:21 +01:00
alias new tester; all tests categorized 2014-01-13 02:10:03 +01:00
ambsym Changed tests and tools to use 'discard' statements instead of 'nil' for empty blocks. 2014-02-15 18:57:03 -05:00
array implemented a[^1] notation 2015-03-26 02:12:38 +01:00
assert Fix tests a bit more 2015-03-10 15:34:15 +01:00
assign overloading of '=' works 2015-04-06 23:21:52 +02:00
astoverload new tester; all tests categorized 2014-01-13 02:10:03 +01:00
async Fix infinite recursion when await is in except body. 2015-03-30 00:42:21 +01:00
benchmarks Added benchmark tool and some benchmarks. 2012-03-22 20:15:16 +00:00
bind Clean up tests/bind 2015-02-04 20:32:54 +01:00
borrow made some tests green 2014-08-31 12:34:35 +02:00
caas Rename PNimrodNode to NimNode 2015-03-17 17:50:32 +01:00
casestmt made test green 2015-03-25 14:26:47 +01:00
ccgbugs fixes #2489 2015-04-08 15:13:58 +02:00
clearmsg fixes #2252 2015-03-04 21:19:38 +01:00
closure fixes #2125 2015-02-18 13:44:01 +01:00
cnstseq new tester; all tests categorized 2014-01-13 02:10:03 +01:00
collections Added Test for zip() with anonymous tuples. 2015-03-17 00:15:23 +01:00
compiles fixes #1055 2014-11-16 20:32:05 +01:00
concat new tester; all tests categorized 2014-01-13 02:10:03 +01:00
concepts fixes #2404 2015-03-25 13:21:50 +01:00
constr make tests green 2014-08-31 15:15:26 +02:00
constraints new tester; all tests categorized 2014-01-13 02:10:03 +01:00
controlflow fixes recently introduced regression 2014-08-21 09:59:57 +02:00
converter Fix tests some more 2015-03-17 00:02:47 +01:00
cpp fixes #1717, fixes #2324 2015-03-22 09:31:16 +01: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 better alternative to 'override' 2015-04-07 00:13:47 +02:00
dir with space proper 'space in dir' test 2015-01-27 01:33:48 +01:00
discard fixes #942 2014-03-05 08:30:05 +01:00
distinct borrow dots for distinct types documented 2014-03-26 08:42:27 +01:00
dll Rename *.nimrod.cfg to *.nim.cfg 2015-02-03 09:04:24 +01:00
effects Clean up tests/effects 2015-02-04 21:20:01 +01:00
enum fixes --gc:none regression; made some tests green 2015-03-10 12:32:47 +01:00
exception some love for the testsuite; fixed regressions 2015-03-01 21:41:21 +01:00
exprs Use ^ instead of - in slices 2015-03-28 00:38:15 +01:00
fields fixes #2134 2015-02-20 20:01:25 +01:00
float make tests green 2014-08-31 15:15:26 +02:00
friends new tester; all tests categorized 2014-01-13 02:10:03 +01:00
gc increase limit for 64bit systems 2015-02-10 22:23:38 +01:00
generics Use ^ instead of - in slices 2015-03-28 00:38:15 +01:00
gensym new tester; all tests categorized 2014-01-13 02:10:03 +01:00
global some love for the testsuite; fixed regressions 2015-03-01 21:41:21 +01:00
implicit unsigned array indexes work better; minor cleanups 2015-02-10 20:19:46 +01:00
init fixes #2316 2015-03-11 20:11:08 +01:00
iter Clean up tests/iter 2015-02-04 21:40:33 +01:00
js Test JS proc header codegen 2015-04-09 04:21:50 +03:00
let Fix tests some more 2015-03-17 00:02:47 +01:00
lexer new tester; all tests categorized 2014-01-13 02:10:03 +01:00
lookups make tests green 2014-08-31 15:15:26 +02:00
macros added test for symbol type 2015-03-27 02:07:09 -05:00
magics new tester; all tests categorized 2014-01-13 02:10:03 +01:00
manyloc Rename PNimrodNode to NimNode 2015-03-17 17:50:32 +01:00
metatype fixes #1783 2015-03-23 00:09:34 +01:00
method fixes #2401 2015-03-25 13:05:32 +01:00
misc fixes #2427 2015-04-06 23:50:09 +02:00
modules Fix tests a bit more 2015-03-10 15:34:15 +01:00
namedparams new tester; all tests categorized 2014-01-13 02:10:03 +01:00
notnil fixes #2355 2015-03-28 00:47:03 +01:00
objects fixes #1791 2015-03-12 16:04:44 +01:00
objvariant Fix tests some more 2015-03-17 00:02:47 +01:00
openarray new tester; all tests categorized 2014-01-13 02:10:03 +01:00
osproc Clean up tests/osproc 2015-02-04 22:15:30 +01:00
overflw make tests green 2014-08-31 15:15:26 +02:00
overload fixes #2397 2015-03-25 11:50:38 +01:00
parallel GC-safety error messages are useful now 2015-04-04 01:19:32 +02:00
parser fixes long standing parsing issue with command syntax 2015-03-22 01:38:14 +01:00
pragmas parser support anon iterators 2014-01-20 20:07:44 +01:00
proc new tester; all tests categorized 2014-01-13 02:10:03 +01:00
procvar make tests green 2014-08-31 15:15:26 +02:00
range made some tests green 2014-08-31 12:34:35 +02:00
rodfiles nimrod -> nim in some filenames 2015-02-14 19:00:11 +01:00
seq fixed tests/seq/tsequtils.nim 2015-01-07 19:05:37 +08:00
sets Add TSet difference tests 2014-07-15 02:16:12 +02:00
showoff Rename PNimrodNode to NimNode 2015-03-17 17:50:32 +01:00
specialops the delegator pragma becomes a set of dot operators 2014-02-15 17:41:35 +02:00
stdlib fixes #1845, fixes #2224 2015-03-12 11:08:03 +01:00
system fixes #2420; negative indexing for slicing is obsolete (breaking change!) 2015-03-28 00:15:04 +01:00
template added system.typed and system.untyped aliases 2015-04-07 00:06:39 +02:00
testament Use ^ instead of - in slices 2015-03-28 00:38:15 +01:00
testdata Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
threads fixes #1816 2015-01-02 03:32:45 +01:00
trmacros some love for the testsuite; fixed regressions 2015-03-01 21:41:21 +01:00
tuples fixes #2369 2015-03-21 20:38:27 +01:00
typerel fixes #1988 2015-01-31 16:23:38 +01:00
types Add test case for infinite recursion in semtypes 2015-03-14 22:46:17 +01:00
usingstmt Rename PNimrodNode to NimNode 2015-03-17 17:50:32 +01:00
varres new tester; all tests categorized 2014-01-13 02:10:03 +01:00
varstmt make tests green 2014-08-31 15:15:26 +02:00
vm Rename PNimrodNode to NimNode 2015-03-17 17:50:32 +01:00
benchmark.nim renamed babelcmd to nimblecmd; config files are now nim.cfg; other renamings 2014-08-29 09:03:00 +02:00
js.html Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
js.nim renamed babelcmd to nimblecmd; config files are now nim.cfg; other renamings 2014-08-29 09:03:00 +02:00
mmaptest.nim bugfix: threading on PowerPC 2012-02-02 00:16:33 +01:00
readme.txt Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
rectest.nim Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
stckovfl.nim Removes executable bit for text files. 2013-03-16 23:53:07 +01: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.