Nim/tests
Andreas Rumpf f5c0d07a76 Merge pull request #929 from skyfex/devel
Fixed issue 391 (nested break in except-stmts)
2014-02-16 11:36:08 +01:00
..
actiontable new tester; all tests categorized 2014-01-13 02:10:03 +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 new tester; all tests categorized 2014-01-13 02:10:03 +01:00
assert fix the error "only proc headers can feature pragmas" when compiling in JS mode 2014-01-23 00:02:57 +02:00
assign new tester; all tests categorized 2014-01-13 02:10:03 +01:00
astoverload new tester; all tests categorized 2014-01-13 02:10:03 +01:00
async new tester; all tests categorized 2014-01-13 02:10:03 +01:00
benchmarks Added benchmark tool and some benchmarks. 2012-03-22 20:15:16 +00:00
bind new tester; all tests categorized 2014-01-13 02:10:03 +01:00
borrow new tester; all tests categorized 2014-01-13 02:10:03 +01:00
caas Take into account dirty buffers in suggest output; Fixes zah/nimrod.vim#14 2013-08-07 18:58:46 +03:00
casestmt Changed tests and tools to use 'discard' statements instead of 'nil' for empty blocks. 2014-02-15 18:57:03 -05:00
ccg fixes #230; fixes #227 2012-10-19 20:45:26 +02:00
ccgbugs fixes #914 2014-02-14 15:49:44 +01:00
closure closure iterators work 2014-01-23 08:47:22 +01:00
cnstseq new tester; all tests categorized 2014-01-13 02:10:03 +01:00
collections moved tsets test to collections/ 2014-02-12 16:15:34 -06:00
compiles new tester; all tests categorized 2014-01-13 02:10:03 +01:00
concat new tester; all tests categorized 2014-01-13 02:10:03 +01:00
concurrency Changed tests and tools to use 'discard' statements instead of 'nil' for empty blocks. 2014-02-15 18:57:03 -05:00
constr new tester; all tests categorized 2014-01-13 02:10:03 +01:00
constraints new tester; all tests categorized 2014-01-13 02:10:03 +01:00
controlflow next steps for closure iterators 2014-01-22 17:32:38 +01:00
converter new tester; all tests categorized 2014-01-13 02:10:03 +01:00
defaultprocparam new tester; all tests categorized 2014-01-13 02:10:03 +01:00
deprecated new tester; all tests categorized 2014-01-13 02:10:03 +01:00
destructor Changed tests and tools to use 'discard' statements instead of 'nil' for empty blocks. 2014-02-15 18:57:03 -05:00
discard new tester; all tests categorized 2014-01-13 02:10:03 +01:00
distinct new tester; all tests categorized 2014-01-13 02:10:03 +01:00
dll DLLs should work again; fixes #169 2012-07-24 01:14:21 +02:00
effects fixes #584 2014-02-14 23:47:06 +01:00
enum new tester; all tests categorized 2014-01-13 02:10:03 +01:00
exception Fixed issue 391 (nested break in except-stmts) 2014-02-16 02:08:36 +01:00
exprs fixes #712 2014-02-14 02:29:19 +01:00
fields new tester; all tests categorized 2014-01-13 02:10:03 +01:00
float new tester; all tests categorized 2014-01-13 02:10:03 +01:00
friends new tester; all tests categorized 2014-01-13 02:10:03 +01:00
gc tester compiles again 2014-02-07 18:49:41 +01:00
generics Changed tests and tools to use 'discard' statements instead of 'nil' for empty blocks. 2014-02-15 18:57:03 -05:00
gensym new tester; all tests categorized 2014-01-13 02:10:03 +01:00
global new tester; all tests categorized 2014-01-13 02:10:03 +01:00
implicit new tester; all tests categorized 2014-01-13 02:10:03 +01:00
init new tester; all tests categorized 2014-01-13 02:10:03 +01:00
iter fixes #885 2014-02-09 02:37:49 +01:00
js don't mess with semfold, use vars instead 2013-09-26 15:10:54 -05:00
let new tester; all tests categorized 2014-01-13 02:10:03 +01:00
lexer new tester; all tests categorized 2014-01-13 02:10:03 +01:00
lookups Changed tests and tools to use 'discard' statements instead of 'nil' for empty blocks. 2014-02-15 18:57:03 -05:00
macros tyTypeDesc and tyRange always have 1 child; this might be tyNone but it is required for skipTypes 2014-02-05 23:43:13 +01:00
magics new tester; all tests categorized 2014-01-13 02:10:03 +01:00
manyloc the compiler can now deal with multiple modules of the same name 2013-09-26 17:34:46 +02:00
matrix new tester; all tests categorized 2014-01-13 02:10:03 +01:00
metatype fix some regressions caused by tyTypeDesc[tyNone] 2014-02-15 20:44:01 +02:00
method Changed tests and tools to use 'discard' statements instead of 'nil' for empty blocks. 2014-02-15 18:57:03 -05:00
module new tester; all tests categorized 2014-01-13 02:10:03 +01:00
modules new tester; all tests categorized 2014-01-13 02:10:03 +01:00
namedparams new tester; all tests categorized 2014-01-13 02:10:03 +01:00
namspc new tester; all tests categorized 2014-01-13 02:10:03 +01:00
notnil fixes #584 2014-02-14 23:47:06 +01:00
objects next steps for closure iterators 2014-01-22 17:32:38 +01:00
objvariant new tester; all tests categorized 2014-01-13 02:10:03 +01:00
openarray new tester; all tests categorized 2014-01-13 02:10:03 +01:00
overflw new tester; all tests categorized 2014-01-13 02:10:03 +01:00
overload Changed tests and tools to use 'discard' statements instead of 'nil' for empty blocks. 2014-02-15 18:57:03 -05:00
parser Remove spurious import added in the last commit. 2014-02-03 01:12:27 -02:00
patterns Changed tests and tools to use 'discard' statements instead of 'nil' for empty blocks. 2014-02-15 18:57:03 -05: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 new tester; all tests categorized 2014-01-13 02:10:03 +01:00
range Changed tests and tools to use 'discard' statements instead of 'nil' for empty blocks. 2014-02-15 18:57:03 -05:00
rodfiles Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
seq new tester; all tests categorized 2014-01-13 02:10:03 +01:00
sets Changed tests and tools to use 'discard' statements instead of 'nil' for empty blocks. 2014-02-15 18:57:03 -05:00
showoff next steps for closure iterators 2014-01-22 17:32:38 +01:00
specialops the delegator pragma becomes a set of dot operators 2014-02-15 17:41:35 +02:00
stdlib Changed tests and tools to use 'discard' statements instead of 'nil' for empty blocks. 2014-02-15 18:57:03 -05:00
system use parseopt2 in parseopt2 test 2013-12-10 20:48:18 +01:00
table Changed tests and tools to use 'discard' statements instead of 'nil' for empty blocks. 2014-02-15 18:57:03 -05:00
template fixes #892 2014-02-14 02:02:01 +01:00
testament the tester now produces a diff in the JSON 2014-02-13 21:29:50 +01:00
testdata Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
threads Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
trmacros new tester; all tests categorized 2014-01-13 02:10:03 +01:00
tuples new tester; all tests categorized 2014-01-13 02:10:03 +01:00
typerel Changed tests and tools to use 'discard' statements instead of 'nil' for empty blocks. 2014-02-15 18:57:03 -05:00
types new tester; all tests categorized 2014-01-13 02:10:03 +01:00
usingstmt new tester; all tests categorized 2014-01-13 02:10:03 +01:00
varres new tester; all tests categorized 2014-01-13 02:10:03 +01:00
varstmt new tester; all tests categorized 2014-01-13 02:10:03 +01:00
vm new tester; all tests categorized 2014-01-13 02:10:03 +01:00
benchmark.nim Added benchmark tool and some benchmarks. 2012-03-22 20:15:16 +00:00
js.html Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
js.nim Removes executable bit for text files. 2013-03-16 23:53:07 +01: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
sunset.tmpl 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.