Nim/tests
Zahary Karadjov 4b7655fd10 reference implementation of a vector swizzle library
This also provides the initial steps towards support for type class "filtered" type inference
fixes an "ordinal type expected" ICE, related to the use of static params
2014-03-20 01:16:50 +02:00
..
actiontable fix tbindtypedesc and tactiontable2 2014-02-18 01:37:00 +02: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 PFuture[void] now works. 2014-03-15 00:11:01 +00:00
benchmarks Added benchmark tool and some benchmarks. 2012-03-22 20:15:16 +00:00
bind reference implementation of a vector swizzle library 2014-03-20 01:16:50 +02: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 bugfix: unreported 'compiles' bug 2014-03-05 08:47:27 +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 fix #807 2014-02-17 20:44:11 +02:00
discard fixes #942 2014-03-05 08:30:05 +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 make some tests red :) (i.e. print failure details while running the tester) 2014-03-16 21:05:20 +02:00
enum new tester; all tests categorized 2014-01-13 02:10:03 +01:00
exception Added test cases for return in except statements. 2014-02-23 00:20:16 +01:00
exprs split the inline and closure iterators into different symbol kinds for easier discrimination between them 2014-03-06 21:57:35 +02: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 handle arbitrary expressions dependent on static input params in proc signatures 2014-03-16 20:42:06 +02:00
gensym new tester; all tests categorized 2014-01-13 02:10:03 +01:00
global fix some trivial errors in the test suite and some more regressions caused by tyTypeDesc[tyNone] 2014-02-18 02:46:14 +02: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 fix #966 2014-03-09 14:02:01 +02: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 new VM is getting stable 2014-02-24 01:30:40 +01:00
magics new tester; all tests categorized 2014-01-13 02:10:03 +01:00
manyloc keine_schweine test is not platform dependent 2014-02-24 16:41:26 +01:00
matrix new tester; all tests categorized 2014-01-13 02:10:03 +01:00
metatype reference implementation of a vector swizzle library 2014-03-20 01:16:50 +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 fix some trivial errors in the test suite and some more regressions caused by tyTypeDesc[tyNone] 2014-02-18 02:46:14 +02: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 Added support for {.packed.} pragma on objects 2014-03-18 21:11:57 +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 make some tests red :) (i.e. print failure details while running the tester) 2014-03-16 21:05:20 +02:00
parser osproc compiles again for haiku 2014-03-10 17:32:50 +01: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
static teach opcLdObj about nkExprColonExpr 2014-03-09 17:06:29 +02:00
stdlib make some tests green 2014-03-16 20:42:49 +02:00
system Update unit test. 2014-03-07 01:09:16 +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 #993 2014-03-13 22:29:48 +01:00
testament make some tests red :) (i.e. print failure details while running the tester) 2014-03-16 21:05:20 +02:00
testdata Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
threads fix #931 and few more tests 2014-02-18 20:04:58 +02: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 fix some trivial errors in the test suite and some more regressions caused by tyTypeDesc[tyNone] 2014-02-18 02:46:14 +02:00
types fix #587 2014-03-06 23:25:04 +02: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 make some tests green 2014-03-16 20:42:49 +02: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

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.