Nim/tests
Andreas Rumpf 439aa2d04d version 0.7.4
2009-01-07 17:03:25 +01:00
..
gtk version 0.7.4 2009-01-07 17:03:25 +01:00
cairotest.nim version 0.7.2 2008-12-12 14:02:27 +01:00
cgitest.nim version 0.7.2 2008-12-12 14:02:27 +01:00
ecmas.html deleted web and dist 2008-08-23 11:32:48 +02:00
ecmas.nim deleted web and dist 2008-08-23 11:32:48 +02:00
gcbench.nim version 0.7.0 2008-11-16 22:08:15 +01:00
gctest.nim version 0.7.0 2008-11-16 22:08:15 +01:00
hallo.nim deleted web and dist 2008-08-23 11:32:48 +02:00
mambsym1.nim version 0.7.0 2008-11-16 22:08:15 +01:00
mambsym2.nim version 0.7.0 2008-11-16 22:08:15 +01:00
mambsys1.nim first release 2008-06-23 01:37:49 +02:00
mambsys2.nim first release 2008-06-23 01:37:49 +02:00
minit.nim too many changes to list 2008-08-23 11:16:44 +02:00
mnamspc1.nim first release 2008-06-23 01:37:49 +02:00
mnamspc2.nim first release 2008-06-23 01:37:49 +02:00
mopaque.nim too many changes to list 2008-08-23 11:16:44 +02:00
mrecmod.nim first release 2008-06-23 01:37:49 +02:00
mvarious.nim first release 2008-06-23 01:37:49 +02:00
readme.txt version 0.7.4 2009-01-07 17:03:25 +01:00
rectest.nim deleted web and dist 2008-08-23 11:32:48 +02:00
scantest.nim too many changes to list 2008-08-23 11:16:44 +02:00
sdltest.nim first release 2008-06-23 01:37:49 +02:00
stckovfl.nim version 0.7.2 2008-12-12 14:02:27 +01:00
sunset.tmpl version 0.7.2 2008-12-12 14:02:27 +01:00
tack.nim too many changes to list 2008-08-23 11:16:44 +02:00
tambsym.nim version 0.7.0 2008-11-16 22:08:15 +01:00
tambsym2.nim version 0.7.2 2008-12-12 14:02:27 +01:00
tambsym3.nim version 0.7.2 2008-12-12 14:02:27 +01:00
tambsys.nim first release 2008-06-23 01:37:49 +02:00
tarray.nim version 0.7.0 2008-11-16 22:08:15 +01:00
tarrindx.nim version 0.7.0 2008-11-16 22:08:15 +01:00
tassert.nim too many changes to list 2008-08-23 11:16:44 +02:00
tassign.nim version 0.7.0 2008-11-16 22:08:15 +01:00
tblock1.nim version 0.7.0 2008-11-16 22:08:15 +01:00
tcasestm.nim first release 2008-06-23 01:37:49 +02:00
tcmdline.nim first release 2008-06-23 01:37:49 +02:00
tconstr1.nim version 0.7.0 2008-11-16 22:08:15 +01:00
tconstr2.nim version 0.7.0 2008-11-16 22:08:15 +01:00
tcopy.nim too many changes to list 2008-08-23 11:16:44 +02:00
tdialogs.nim first release 2008-06-23 01:37:49 +02:00
tendian.nim first release 2008-06-23 01:37:49 +02:00
tenum.nim first release 2008-06-23 01:37:49 +02:00
tester.nim version 0.7.2 2008-12-12 14:02:27 +01:00
tformat.nim too many changes to list 2008-08-23 11:16:44 +02:00
tforwty.nim too many changes to list 2008-08-23 11:16:44 +02:00
tforwty2.nim version 0.7.0 2008-11-16 22:08:15 +01:00
tgtk.nim first release 2008-06-23 01:37:49 +02:00
thallo.nim version 0.7.4 2009-01-07 17:03:25 +01:00
tillrec.nim version 0.7.0 2008-11-16 22:08:15 +01:00
tinit.nim too many changes to list 2008-08-23 11:16:44 +02:00
tinout.nim too many changes to list 2008-08-23 11:16:44 +02:00
tints.nim version 0.7.2 2008-12-12 14:02:27 +01:00
tinvwhen.nim version 0.7.0 2008-11-16 22:08:15 +01:00
tio.nim too many changes to list 2008-08-23 11:16:44 +02:00
tisopr.nim version 0.7.2 2008-12-12 14:02:27 +01:00
titer.nim version 0.7.4 2009-01-07 17:03:25 +01:00
tlastmod.nim version 0.7.0 2008-11-16 22:08:15 +01:00
tlibs.nim version 0.7.4 2009-01-07 17:03:25 +01:00
tloops.nim too many changes to list 2008-08-23 11:16:44 +02:00
tlowhigh.nim too many changes to list 2008-08-23 11:16:44 +02:00
tmath.nim version 0.7.0 2008-11-16 22:08:15 +01:00
tnamspc.nim first release 2008-06-23 01:37:49 +02:00
tnestif.nim too many changes to list 2008-08-23 11:16:44 +02:00
tnew.nim version 0.7.4 2009-01-07 17:03:25 +01:00
tnewsets.nim first release 2008-06-23 01:37:49 +02:00
tnewuns.nim first release 2008-06-23 01:37:49 +02:00
tnoop.nim version 0.7.0 2008-11-16 22:08:15 +01:00
tobject2.nim version 0.7.0 2008-11-16 22:08:15 +01:00
tobjects.nim version 0.7.0 2008-11-16 22:08:15 +01:00
topaque.nim first release 2008-06-23 01:37:49 +02:00
topenlen.nim version 0.7.2 2008-12-12 14:02:27 +01:00
toptions.nim version 0.7.0 2008-11-16 22:08:15 +01:00
tos.nim version 0.7.2 2008-12-12 14:02:27 +01:00
toverflw.nim too many changes to list 2008-08-23 11:16:44 +02:00
toverl.nim version 0.7.0 2008-11-16 22:08:15 +01:00
toverlop.nim version 0.7.0 2008-11-16 22:08:15 +01:00
toverwr.nim version 0.7.0 2008-11-16 22:08:15 +01:00
tovfint.nim too many changes to list 2008-08-23 11:16:44 +02:00
tparedef.nim first release 2008-06-23 01:37:49 +02:00
tparscfg.nim version 0.7.0 2008-11-16 22:08:15 +01:00
tparsopt.nim deleted web and dist 2008-08-23 11:32:48 +02:00
tpos.nim too many changes to list 2008-08-23 11:16:44 +02:00
tposix.nim first release 2008-06-23 01:37:49 +02:00
tprep.nim too many changes to list 2008-08-23 11:16:44 +02:00
tprintf.nim version 0.7.0 2008-11-16 22:08:15 +01:00
tprocvar.nim too many changes to list 2008-08-23 11:16:44 +02:00
tpush.nim too many changes to list 2008-08-23 11:16:44 +02:00
tquit.nim too many changes to list 2008-08-23 11:16:44 +02:00
tradix.nim version 0.7.0 2008-11-16 22:08:15 +01:00
trawstr.nim first release 2008-06-23 01:37:49 +02:00
treadln.nim version 0.7.0 2008-11-16 22:08:15 +01:00
trecmod.nim first release 2008-06-23 01:37:49 +02:00
trectype.nim version 0.7.2 2008-12-12 14:02:27 +01:00
trefs.nim too many changes to list 2008-08-23 11:16:44 +02:00
tregex.nim version 0.7.0 2008-11-16 22:08:15 +01:00
treguse.nim too many changes to list 2008-08-23 11:16:44 +02:00
trepr.nim version 0.7.0 2008-11-16 22:08:15 +01:00
tseqcon.nim version 0.7.0 2008-11-16 22:08:15 +01:00
tsets.nim version 0.7.2 2008-12-12 14:02:27 +01:00
tsimtych.nim first release 2008-06-23 01:37:49 +02:00
tsizeof.nim too many changes to list 2008-08-23 11:16:44 +02:00
tstatret.nim version 0.7.0 2008-11-16 22:08:15 +01:00
tstmtexp.nim version 0.7.0 2008-11-16 22:08:15 +01:00
tstrace.nim first release 2008-06-23 01:37:49 +02:00
tstrange.nim first release 2008-06-23 01:37:49 +02:00
tstrdesc.nim version 0.7.0 2008-11-16 22:08:15 +01:00
tstrdist.nim version 0.7.0 2008-11-16 22:08:15 +01:00
tstreams.nim version 0.7.2 2008-12-12 14:02:27 +01:00
tstrset.nim version 0.7.0 2008-11-16 22:08:15 +01:00
tstrtabs.nim deleted web and dist 2008-08-23 11:32:48 +02:00
tstrutil.nim version 0.7.0 2008-11-16 22:08:15 +01:00
ttempl.nim version 0.7.2 2008-12-12 14:02:27 +01:00
ttime.nim version 0.7.0 2008-11-16 22:08:15 +01:00
tvardecl.nim version 0.7.0 2008-11-16 22:08:15 +01:00
tvarious.nim too many changes to list 2008-08-23 11:16:44 +02:00
tvarnums.nim version 0.7.2 2008-12-12 14:02:27 +01:00
twalker.nim too many changes to list 2008-08-23 11:16:44 +02:00
typalias.nim version 0.7.2 2008-12-12 14:02:27 +01:00
typredef.nim version 0.7.0 2008-11-16 22:08:15 +01:00
wingui.nim first release 2008-06-23 01:37:49 +02:00
x11test.nim version 0.7.2 2008-12-12 14:02:27 +01:00

This directory contains the test cases.
Each test must have a filename of the form: ``t*.nim``

The testcases may contain the directives ``#ERROR``, ``#ERROR_IN``, 
``#ERROR_MSG`` or ``#OUT``.
``#ERROR`` is used to indicate that the compiler should report
an error in the marked line (the line that contains the ``#ERROR``
directive.)
The format for ``#ERROR_IN`` is::

     #ERROR_IN filename linenumber

You can omit the extension of the filename (``.nim`` is then assumed).
The format for ``#ERROR_MSG`` is::

     #ERROR_MSG message

This directive specifies the error message Nimrod shall produce.

Tests which contain none of the ``#ERROR*`` directives should compile. 
Thus they are executed after successful compilation and their output 
is compared to the expected results (specified with the ``#OUT`` 
directive). Tests which require user interaction are currently not 
possible.