Adam Strzelecki 567b7d5a6a tests: Trim .txt files trailing whitespace 9 年之前
..
cmain.c c55f884b5c integrated realtimegc stuff into testament 9 年之前
main.nim.cfg e940e7d37b Test the realtime GC, via long running process in a shared object, without linking nimrtl.dll/so. 10 年之前
nmain.nim c55f884b5c integrated realtimegc stuff into testament 9 年之前
readme.txt 567b7d5a6a tests: Trim .txt files trailing whitespace 9 年之前
shared.nim c55f884b5c integrated realtimegc stuff into testament 9 年之前
shared.nim.cfg c55f884b5c integrated realtimegc stuff into testament 9 年之前

readme.txt

Test the realtime GC without linking nimrtl.dll/so.

Note, this is a long running test, default is 35 minutes. To change the
the run time see RUNTIME in main.nim and main.c.

You can build shared.nim, main.nim, and main.c by running make (nix systems)
or maike.bat (Windows systems). They both assume GCC and that it's in your
path. Output: shared.(dll/so), camin(.exe), nmain(.exe).

To run the test: execute either nmain or cmain in a shell window.

To build buy hand:

- build the shared object (shared.nim):

$ nim c shared.nim

- build the client executables:

$ nim c -o:nmain main.nim
$ gcc -o cmain main.c -ldl