Nim/tests
Andreas Rumpf 38de553b86 Merge pull request #4398 from vegansk/issue88
Fix generics inheritance issues
2016-06-27 09:54:43 +02: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 new tester; all tests categorized 2014-01-13 02:10:03 +01:00
async Event enum is now .pure. 2016-06-26 09:51:01 +03: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 fixes #4186 2016-06-02 17:23:39 +02:00
clearmsg fixes #2252 2015-03-04 21:19:38 +01:00
closure make tests green 2016-05-11 21:17:13 +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 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 #3799 2016-01-30 23:09:55 +01:00
cpp fixes #2259, fixes #1389 2016-06-02 18:12:11 +02: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 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 Added a test case 2016-05-18 13:51:07 +03: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 fixes issue 4212 && add test for various valid zero floats. 2016-05-25 11:57:09 +02: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 Fix generics inheritance issues 2016-06-23 18:37:14 +06: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
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 moved random procs from math to its own module (breaking change) 2016-05-30 16:24:52 +02: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 tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
macros getTypeInst and getTypeImpl mostly working now and added test 2016-05-04 00:24:44 -05:00
magics tests: Trim .nim files trailing whitespace 2015-09-04 23:04:32 +02:00
manyloc changed the compiler's path handling; fixes #546 2016-05-31 03:04:45 +02: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 make test green again (code was wrong, but not detected by compiler) 2016-04-30 02:00:50 +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 Modification to implementation of round() such that it returns a float and accepts a places argument (fixes #3473). 2016-05-31 13:17:40 +01:00
parallel moved random procs from math to its own module (breaking change) 2016-05-30 16:24:52 +02:00
parser fixes critical 'do' parsing bug 2016-05-28 02:17:13 +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 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 os tests for directory creation, iteration and deletion 2016-06-20 14:32:01 -06:00
system Fixes #2889. Merges *tostring tests in tests/system. 2015-09-23 00:04:31 +01:00
template makes tests green again 2016-05-28 09:49:16 +02:00
testament added 'koch testinstall' command; more installer related bugfixes 2016-06-09 17:34:57 +02:00
testdata Add a test to xmlparser 2015-10-31 13:30:07 -05:00
threads moved random procs from math to its own module (breaking change) 2016-05-30 16:24:52 +02:00
trmacros fixes #4227 2016-05-27 19:18:08 +02:00
tuples fixes #3579 2016-06-05 18:50:52 +02:00
typerel fixes #950 2016-05-12 00:38:15 +02:00
types fixes #4124 2016-04-29 20:56:30 +02: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 #3729 2016-05-29 21:01:15 +02: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 file back with proper access rights (thanks for that, only took me an hour) 2016-06-07 01:21:10 +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.