Nim/tests
2017-02-08 14:33:05 +01: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
arithm fixes #5216 2017-01-27 09:49:45 +01:00
array make tests green again 2016-08-25 20:21:08 +02:00
assert make tests green again 2016-11-24 11:48:23 +01:00
assign tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
astoverload new tester; all tests categorized 2014-01-13 02:10:03 +01:00
async Merge branch 'accept-close-race-5279' of https://github.com/endragor/Nim into endragor-accept-close-race-5279 2017-02-07 14:44:27 +01:00
benchmarks tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
bind make tests green again 2016-08-25 20:21:08 +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 new name mangling scheme implemented 2017-02-02 10:30:01 +01:00
clearmsg add test 2016-10-27 20:01:23 +07:00
closure make tests green again 2016-08-25 21:56:21 +02:00
cnstseq tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
collections reenabled clear test, made clear working (#5323) 2017-02-02 23:06:13 +01:00
compiles renamed inCompilesContext to compilesContextId; added test case for #3313 2015-09-18 11:29:43 +02:00
concat new tester; all tests categorized 2014-01-13 02:10:03 +01:00
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 #4537 2016-08-02 14:53:21 +02:00
cpp fixes #5142 2016-12-23 12:27:14 +01:00
defaultprocparam new tester; all tests categorized 2014-01-13 02:10:03 +01:00
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 make tests on Windows green 2017-01-31 23:05:36 +01:00
dll tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
effects side-effect computation now done in the proper pass; fixes #4254 2016-08-25 16:33:51 +02:00
enum fixes #5148 2016-12-29 19:32:43 +01:00
errmsgs bugfix: inline iterator do not mess up line information anymore 2017-01-25 09:34:51 +01:00
exception Fixes test. 2017-02-06 22:01:27 +01: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 testament: OS specific disables 2017-01-31 22:54:58 +01:00
friends tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
gc fixes #3184 2016-05-22 14:28:53 +02:00
generics Correct the spelling of the word 'overridden'. (#5212) 2017-01-11 13:40:10 +01:00
gensym new tester; all tests categorized 2014-01-13 02:10:03 +01:00
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
import_in_config fixes a regression that caused --import in a config file to break things 2016-08-29 11:33:41 +02:00
init tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
iter simple closure iterator calling closure iterator works; refs #3837 2016-12-27 09:51:58 +01:00
js made nodecl implicit for vars in the js backend. (#5297) 2017-01-29 17:34:08 +01:00
let Fix tests some more 2015-03-17 00:02:47 +01:00
lexer adds support for unicode hexcode in string literals. 2016-06-01 23:36:46 +02:00
lookups fixes #4353 2016-08-04 19:36:13 +02:00
macros template+emit supports volatileRead and volatileWrite ops 2017-01-23 11:22:19 +01:00
magics tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
manyloc make tests green again 2016-11-24 11:48:23 +01:00
metatype fixes #5218 2017-01-16 23:04:53 +01:00
method make tests green again 2016-11-24 11:48:23 +01:00
misc make tests on Windows green under --pedantic 2017-02-02 21:12:36 +01:00
modules Fixes #5112 (Fix error messages raised when multiple modules have the same original name) (#5220) 2017-01-17 16:58:50 +01:00
namedparams tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
newconfig make tests green again 2016-07-10 01:17:08 +02:00
notnil tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
objects fixes #4673 2016-09-01 13:02:53 +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 make sure first call to running() after process exit returns false 2016-12-03 14:07:08 +01:00
overflw tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
overload fixes #4671 2016-09-13 16:33:43 +02:00
parallel fixes #4776 2016-09-24 02:27:12 +02:00
parser implements #?braces syntax 2016-10-16 00:35:49 +02: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 updated test case 2016-08-27 13:26:16 +02:00
seq fixes #4973 2017-02-01 12:09:24 +01: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 fixes #5349 2017-02-08 14:33:05 +01:00
system Handle different enum sizes in reprAux (#5207) 2017-01-11 05:54:04 +01:00
template fixes #5285 2017-02-04 21:00:07 +01:00
testament testament: be verbose when --pedantic fails 2017-02-03 10:29:08 +01:00
testdata Fix for #5134 (parseJson(string) should fail on leftover data) (#5203) 2017-01-11 06:50:18 +01:00
threads added a testcase for getThreadId 2017-01-31 13:18:18 +01:00
trmacros fixes #4227 2016-05-27 19:18:08 +02:00
tuples fix: generic tuples instantiations were cached incorrectly 2016-07-28 20:23:24 +02:00
typerel real world examples compile 2016-12-06 15:37:09 +01:00
types Recursively check literals for tyEmpty. 2016-07-11 19:12:05 +10:00
untestable More postgres test code. Added getValue for PreparedStmts. 2016-01-18 13:19:07 +00:00
usingstmt fixes #4177 2016-05-28 22:40:28 +02: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 #5269 2017-02-05 08:51:43 +01:00
benchmark.nim tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
js.html Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
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
test_nimscript.nims Added deques module, deprecating queues 2016-11-24 19:11:51 +07: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.