diff options
author | Sergey Avseyev <sergey.avseyev@gmail.com> | 2018-01-22 17:08:27 +0300 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-01-22 15:08:27 +0100 |
commit | 73af427f23f7a235f114074625d7137837add427 (patch) | |
tree | 93c8b5b7d0600394beb28e5c300ee640a6ebb627 /tests/realtimeGC/readme.txt | |
parent | cd26d0288256c8966edb0762828e599f5fc6cc09 (diff) | |
download | Nim-73af427f23f7a235f114074625d7137837add427.tar.gz |
Fix longgc category tests (#7095)
testC command already has "gcc" as command, second "gcc" as option generates "file not found error", and terminates the compiler with error code
Diffstat (limited to 'tests/realtimeGC/readme.txt')
-rw-r--r-- | tests/realtimeGC/readme.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/realtimeGC/readme.txt b/tests/realtimeGC/readme.txt index 17e18a5e5..b2e37a1f0 100644 --- a/tests/realtimeGC/readme.txt +++ b/tests/realtimeGC/readme.txt @@ -1,21 +1,21 @@ 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. +the run time see RUNTIME in nmain.nim and cmain.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). +You can build shared.nim, nmain.nim, and cmain.c by running make (nix systems) +or make.bat (Windows systems). They both assume GCC and that it's in your +path. Output: shared.(dll/so), cmain(.exe), nmain(.exe). To run the test: execute either nmain or cmain in a shell window. -To build buy hand: +To build by hand: - build the shared object (shared.nim): - $ nim c shared.nim + $ nim c tests/realtimeGC/shared.nim - build the client executables: - $ nim c -o:nmain main.nim - $ gcc -o cmain main.c -ldl + $ nim c --threads:on tests/realtimeGC/nmain.nim + $ gcc -o tests/realtimeGC/cmain tests/realtimeGC/cmain.c -ldl |