Nim/tests
Dominik Picheta 152fcc8ec4 Change the expected path in tfailedassert.
This will cause this test to fail on Linux. The behaviour on Windows is
however correct, the filename returned by instantiationInfo is the
projPath defined as being "relative to the project's root".
2014-04-06 23:57:20 +01: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 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 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 Move asyncdispatch tests to asyncnet. 2014-03-26 10:31:16 +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 borrow dots for distinct types documented 2014-03-26 08:42:27 +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 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 Fix some tests. 2014-03-31 21:38:35 +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 fixes #911 2014-03-28 08:40:15 +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 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
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 Changed tests and tools to use 'discard' statements instead of 'nil' for empty blocks. 2014-02-15 18:57:03 -05: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 branch 'devel' of https://github.com/Araq/Nimrod into devel 2014-03-27 21:24:53 +01: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 #880 2014-04-01 08:17:23 +02:00
testament tester outputs full test path 2014-03-28 18:15:51 +01:00
testdata Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
threads made some tests green 2014-03-27 19:43:17 +01: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 fixes #297 2014-04-06 19:53:24 +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 Merge pull request #1060 from EXetoC/vm-arithmetic-overflow 2014-04-02 19:59:26 +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.