From 264de4537ef5b24986789ff3c858f6cb113913f9 Mon Sep 17 00:00:00 2001 From: dom96 Date: Fri, 4 Nov 2011 00:22:04 +0000 Subject: Added ftpclient module. Fixed docs in sockets module. Added dll tests to test suite. --- tests/tester.nim | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests/tester.nim') diff --git a/tests/tester.nim b/tests/tester.nim index 8d9df2824..071561b30 100755 --- a/tests/tester.nim +++ b/tests/tester.nim @@ -323,6 +323,15 @@ proc compileRodFiles(r: var TResults, options: string) = # ----------------------------------------------------------------------------- +# DLL generation tests +proc testDLLGen(r: var TResults, options: string) = + compileSingleTest(r, "lib/nimrtl.nim", "--app:lib -d:createNimRtl") + + template test(filename: expr): stmt = + compileSingleTest(r, "tests/dll/" / filename, options) + + test "dllsimple.nim" + proc compileExample(r: var TResults, pattern, options: string) = for test in os.walkFiles(pattern): compileSingleTest(r, test, options) @@ -360,6 +369,7 @@ proc main(action: string) = compile(compileRes, "tests/accept/compile/t*.nim", options) compile(compileRes, "tests/ecmas.nim", options) compileRodFiles(compileRes, options) + testDllGen(compileRes, options) writeResults(compileJson, compileRes) of "examples": var compileRes = readResults(compileJson) -- cgit 1.4.1-2-gfad0 '/ahoang/Nim/blame/compiler/ccgutils.nim?h=devel&id=3444b8707907a7d7a9d22fde022cba55a1e2206a'>blame commit diff stats
path: root/compiler/ccgutils.nim
blob: 4ba6643ecf17f2a191bfec6396f8521b1f236cec (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11