Nim/tests
2016-04-07 22:57:35 +03:00
..
actiontable tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
alias test case for #2245 2015-09-09 21:32:29 +08:00
ambsym tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
array tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
assert tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
assign tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
astoverload
async await x where x is Fut var now reads after yield. Fixes #3964. 2016-04-04 22:50:31 +01:00
benchmarks tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
bind fixes some regressions 2015-09-12 13:32:51 +02:00
borrow tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
caas Rename PNimrodNode to NimNode 2015-03-17 17:50:32 +01:00
casestmt use 'using' instead of 'sig' keyword; cleans up new features a bit 2016-02-29 12:19:54 +01:00
ccgbugs made tests green again 2016-03-29 21:44:42 +02:00
clearmsg fixes #2252 2015-03-04 21:19:38 +01:00
closure fixes #3995 2016-04-03 18:12:25 +02:00
cnstseq tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
collections Merge branch 'mget' of https://github.com/def-/Nim into def--mget 2015-10-13 00:22:27 +02:00
compiles renamed inCompilesContext to compilesContextId; added test case for #3313 2015-09-18 11:29:43 +02:00
concat
concepts fixes #3686 2016-03-01 23:07:22 +01:00
constr tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
constraints tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
controlflow tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
converter fixes #3799 2016-01-30 23:09:55 +01:00
cpp Fix a few deprecation warnings 2016-01-25 19:10:37 +01:00
defaultprocparam
deprecated fixes --gc:none regression; made some tests green 2015-03-10 12:32:47 +01:00
destructor fixes regressions 2016-01-08 12:08:42 +01:00
dir with space tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
discard fixes #1528 2015-09-12 11:07:47 +02:00
distinct tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
dll tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
effects tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
enum add tfile/tline assertions for template expansion file/line 2015-10-06 15:47:07 -07:00
exception tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
exprs tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
fields tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
float tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
friends tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
gc makes tests green 2016-01-15 14:44:54 +01:00
generics fixes #3998 2016-03-28 02:26:38 +02:00
gensym
global tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
implicit unsigned array indexes work better; minor cleanups 2015-02-10 20:19:46 +01:00
init tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
iter fixes iterator codegen regression 2016-01-14 10:52:18 +01:00
js Added js closures test. Fixes #3132. 2016-04-07 22:57:35 +03:00
let Fix tests some more 2015-03-17 00:02:47 +01:00
lexer tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
lookups tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
macros fixes #1152 2016-04-03 23:38:29 +02:00
magics tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
manyloc Removed local TAU constant. 2016-03-17 23:01:09 -04:00
metatype made test green 2016-01-05 10:19:36 +01:00
method fix issue #3550 2015-12-24 00:07:03 +01:00
misc fixed regressions 2016-03-29 12:19:49 +02:00
modules Rename rawsockets module to nativesockets 2015-10-03 19:45:41 +02:00
namedparams tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
newconfig cleaned up ospaths module 2015-10-12 16:55:23 +02:00
notnil tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
objects fixes regression: tobjconstr2 test works again 2015-10-14 00:41:27 +02:00
objvariant tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
openarray fixed #2240 and #3586 2016-01-05 07:52:56 +07:00
osproc tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
overflw tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
overload sequtils related changes 2015-10-05 22:42:22 +02:00
parallel Consistently use Channel instead of TChannel 2016-02-25 04:04:45 +01:00
parser fixes multi-line comments 2016-01-17 23:46:23 +01:00
pragmas ensure generated c-code matches 2015-09-30 11:42:50 -07:00
proc tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
procvar tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
range tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
rational add two test: 2015-10-01 20:32:49 +10:00
realtimeGC tests: Trim .txt files trailing whitespace 2015-09-04 23:11:11 +02:00
rodfiles tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
seq add test for shallow seq copy 2016-03-23 22:29:28 +08:00
sets tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
showoff tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
specialops the delegator pragma becomes a set of dot operators 2014-02-15 17:41:35 +02:00
stdlib Add parseUInt and parseBiggestUInt functions to stdlib (parseutils, strutils) 2016-03-30 17:38:57 +06:00
system Fixes #2889. Merges *tostring tests in tests/system. 2015-09-23 00:04:31 +01:00
template use 'using' instead of 'sig' keyword; cleans up new features a bit 2016-02-29 12:19:54 +01:00
testament Merge pull request #4049 from arnetheduck/tester-targets 2016-04-07 13:34:01 +02:00
testdata Add a test to xmlparser 2015-10-31 13:30:07 -05:00
threads Consistently use Channel instead of TChannel 2016-02-25 04:04:45 +01:00
trmacros tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
tuples Spellcheck 2016-02-29 11:25:51 +00:00
typerel made tests green again 2016-03-29 21:44:42 +02:00
types Fix a few deprecation warnings 2016-01-25 19:10:37 +01:00
untestable More postgres test code. Added getValue for PreparedStmts. 2016-01-18 13:19:07 +00:00
usingstmt Rename PNimrodNode to NimNode 2015-03-17 17:50:32 +01:00
varres Fixed ret by var in js 2015-10-15 16:04:53 +03:00
varstmt tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
vm fixes #3859 2016-04-04 10:19:20 +02:00
benchmark.nim tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
js.html
js.nim tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
mmaptest.nim tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
readme.txt tests: Trim .txt files trailing whitespace 2015-09-04 23:11:11 +02:00
rectest.nim tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
stckovfl.nim tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02: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.

The folder ``realtimeGC`` contains a test for validating that the realtime GC
can run properly without linking against the nimrtl.dll/so. It includes a C
client and platform specific build files for manual compilation.