Nim/tests
Reimer Behrends 79891b6b9b Added support for ref type hash tables.
This reuses the hash table implementation for objects (and the
associated tests). For efficiency reasons, iterator implementations
are currently adapted rather than calling the TTable code.
2014-05-04 15:22:50 +02:00
..
actiontable removed flawed thread analysis pass 2014-04-20 14:00:04 +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 Fix some tests. 2014-03-31 21:38:35 +02:00
assert Change the expected path in tfailedassert. 2014-04-06 23:57:20 +01:00
assign Improves tobjasgn test. 2014-04-18 23:31:45 +01:00
astoverload new tester; all tests categorized 2014-01-13 02:10:03 +01:00
async Fix #1171. 2014-05-03 23:32:14 +02:00
benchmarks Added benchmark tool and some benchmarks. 2012-03-22 20:15:16 +00:00
bind removed flawed thread analysis pass 2014-04-20 14:00:04 +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 some progress for #1082 2014-04-21 01:34:54 +02:00
closure Param name and type combos now work in type sig. sugar. 2014-04-20 22:08:03 +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 Tester now appreciates the test target. Modified 'cmd' in specs. 2014-04-16 21:28:19 +01: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 borrow dots for distinct types documented 2014-03-26 08:42:27 +01:00
dll Tester now appreciates the test target. Modified 'cmd' in specs. 2014-04-16 21:28:19 +01: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 fixes #992 2014-03-26 16:22:34 +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 Tester now appreciates the test target. Modified 'cmd' in specs. 2014-04-16 21:28:19 +01: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 Tester now appreciates the test target. Modified 'cmd' in specs. 2014-04-16 21:28:19 +01:00
js Tester now appreciates the test target. Modified 'cmd' in specs. 2014-04-16 21:28:19 +01: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 Fixes #1093. 2014-04-20 21:55:45 +01:00
magics new tester; all tests categorized 2014-01-13 02:10:03 +01:00
manyloc attempt to make some tests green 2014-04-21 00:07:31 +02:00
matrix fix #1013 2014-03-20 01:16:50 +02:00
metatype fix #1015 2014-03-20 23:45:31 +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
misc Disabled tgtk test. 2014-04-19 00:17:35 +01: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 fixes yet another option type 2014-04-03 07:54:58 +02: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
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 Tester now appreciates the test target. Modified 'cmd' in specs. 2014-04-16 21:28:19 +01:00
showoff Fix some tests. 2014-03-31 21:38:35 +02: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 Merge pull request #1099 from Varriount/os/getFileInfo 2014-04-20 23:40:29 +02:00
system Merge pull request #1121 from EXetoC/spawn-test 2014-04-23 19:47:03 -04:00
table Added support for ref type hash tables. 2014-05-04 15:22:50 +02:00
template fixes #880 2014-04-01 08:17:23 +02:00
testament fixed paths because caasdriver is now in testament 2014-05-03 12:14:28 -05:00
testdata Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
threads removed flawed thread analysis pass 2014-04-20 14:00:04 +02:00
trmacros fixes #798 2014-04-06 22:05:42 +02:00
tuples new tester; all tests categorized 2014-01-13 02:10:03 +01:00
typerel new concurrency model: first steps; shared is not a keyword anymore 2014-04-14 08:45:43 +02:00
types Tester now appreciates the test target. Modified 'cmd' in specs. 2014-04-16 21:28:19 +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 fixes #1063 2014-04-07 14:21:33 +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 Tester now appreciates the test target. Modified 'cmd' in specs. 2014-04-16 21:28:19 +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.