Neelesh Chandola 7c5ae00887 exportc is now not allowed for type aliases (#9979) | 6 gadi atpakaļ | |
---|---|---|
.. | ||
actiontable | 6 gadi atpakaļ | |
alias | 7 gadi atpakaļ | |
ambsym | 6 gadi atpakaļ | |
arithm | 6 gadi atpakaļ | |
array | 6 gadi atpakaļ | |
assert | 6 gadi atpakaļ | |
assign | 6 gadi atpakaļ | |
astoverload | 11 gadi atpakaļ | |
async | 6 gadi atpakaļ | |
bind | 6 gadi atpakaļ | |
borrow | 6 gadi atpakaļ | |
casestmt | 6 gadi atpakaļ | |
ccgbugs | 6 gadi atpakaļ | |
clearmsg | 6 gadi atpakaļ | |
closure | 6 gadi atpakaļ | |
cnstseq | 6 gadi atpakaļ | |
collections | 6 gadi atpakaļ | |
compilerapi | 6 gadi atpakaļ | |
compiles | 6 gadi atpakaļ | |
concat | 11 gadi atpakaļ | |
concepts | 6 gadi atpakaļ | |
constr | 6 gadi atpakaļ | |
constraints | 6 gadi atpakaļ | |
constructors | 6 gadi atpakaļ | |
controlflow | 6 gadi atpakaļ | |
converter | 6 gadi atpakaļ | |
coroutines | 6 gadi atpakaļ | |
cpp | 6 gadi atpakaļ | |
defaultprocparam | 6 gadi atpakaļ | |
deprecated | 6 gadi atpakaļ | |
deps | 6 gadi atpakaļ | |
destructor | 6 gadi atpakaļ | |
dir with space | 6 gadi atpakaļ | |
discard | 6 gadi atpakaļ | |
distinct | 6 gadi atpakaļ | |
dll | 6 gadi atpakaļ | |
effects | 6 gadi atpakaļ | |
enum | 6 gadi atpakaļ | |
errmsgs | 6 gadi atpakaļ | |
exception | 6 gadi atpakaļ | |
exprs | 6 gadi atpakaļ | |
fields | 6 gadi atpakaļ | |
flags | 6 gadi atpakaļ | |
float | 6 gadi atpakaļ | |
fragmentation | 6 gadi atpakaļ | |
friends | 9 gadi atpakaļ | |
gc | 6 gadi atpakaļ | |
generics | 6 gadi atpakaļ | |
gensym | 7 gadi atpakaļ | |
global | 6 gadi atpakaļ | |
implicit | 6 gadi atpakaļ | |
import_in_config | 8 gadi atpakaļ | |
init | 6 gadi atpakaļ | |
iter | 6 gadi atpakaļ | |
js | 6 gadi atpakaļ | |
lent | 7 gadi atpakaļ | |
let | 6 gadi atpakaļ | |
lexer | 6 gadi atpakaļ | |
lookups | 6 gadi atpakaļ | |
macros | 6 gadi atpakaļ | |
magics | 6 gadi atpakaļ | |
manyloc | 6 gadi atpakaļ | |
metatype | 6 gadi atpakaļ | |
method | 6 gadi atpakaļ | |
misc | 6 gadi atpakaļ | |
modules | 6 gadi atpakaļ | |
namedparams | 6 gadi atpakaļ | |
newconfig | 6 gadi atpakaļ | |
nimble | 7 gadi atpakaļ | |
niminaction | 6 gadi atpakaļ | |
notnil | 6 gadi atpakaļ | |
objects | 6 gadi atpakaļ | |
objvariant | 6 gadi atpakaļ | |
openarray | 6 gadi atpakaļ | |
osproc | 6 gadi atpakaļ | |
overflw | 6 gadi atpakaļ | |
overload | 6 gadi atpakaļ | |
package_level_objects | 7 gadi atpakaļ | |
parallel | 6 gadi atpakaļ | |
parser | 6 gadi atpakaļ | |
pragmas | 6 gadi atpakaļ | |
proc | 6 gadi atpakaļ | |
procvar | 6 gadi atpakaļ | |
range | 6 gadi atpakaļ | |
rational | 6 gadi atpakaļ | |
realtimeGC | 6 gadi atpakaļ | |
rodfiles | 6 gadi atpakaļ | |
seq | 6 gadi atpakaļ | |
sets | 6 gadi atpakaļ | |
showoff | 7 gadi atpakaļ | |
specialops | 7 gadi atpakaļ | |
statictypes | 6 gadi atpakaļ | |
stdlib | 6 gadi atpakaļ | |
system | 6 gadi atpakaļ | |
template | 6 gadi atpakaļ | |
testament | 6 gadi atpakaļ | |
testdata | 8 gadi atpakaļ | |
threads | 6 gadi atpakaļ | |
trmacros | 6 gadi atpakaļ | |
tuples | 6 gadi atpakaļ | |
typerel | 6 gadi atpakaļ | |
types | 6 gadi atpakaļ | |
untestable | 6 gadi atpakaļ | |
usingstmt | 6 gadi atpakaļ | |
varres | 6 gadi atpakaļ | |
varstmt | 6 gadi atpakaļ | |
vm | 6 gadi atpakaļ | |
dummy.txt | 6 gadi atpakaļ | |
js.html | 11 gadi atpakaļ | |
js.nim | 9 gadi atpakaļ | |
mmaptest.nim | 9 gadi atpakaļ | |
readme.md | 6 gadi atpakaļ | |
rectest.nim | 9 gadi atpakaļ | |
stckovfl.nim | 9 gadi atpakaļ | |
test_nimscript.nims | 6 gadi atpakaļ |
This directory contains the test cases.
Each test must have a filename of the form: t*.nim
Note: Tests are only compiled by default. In order to get the tester to
execute the compiled binary, you need to specify a spec with an action
key
(see below for details).
Each test can contain a spec in a discard """ ... """
block.
Check out the parseSpec
procedure in the specs
module for a full and reliable reference
Specifies what action this test should take.
Default: compile
Options:
compile
- compiles the module and fails the test if compilations fails.run
- compiles and runs the module, fails the test if compilation or
execution of test code fails.reject
- compiles the module and fails the test if compilation succeeds.There are certain spec keys that imply run
, including output
and
outputsub
.
Specifies the Nim command to use for compiling the test.
There are a number of variables that are replaced in this spec option:
$target
- the compilation target, e.g. c
.$options
- the options for the compiler.$file
- the filename of the test.$filedir
- the directory of the test file.Example:
discard """
cmd: "nim $target --nimblePath:./nimbleDir/simplePkgs $options $file"
"""
Each folder under this directory represents a test category, which can be
tested by running koch tests cat <category>
.
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.