mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-11 22:08:54 +00:00
tests: Trim .txt files trailing whitespace
via OSX: find . -name '*.txt' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
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.
|
||||
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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
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
|
||||
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
|
||||
|
||||
2
tests/testdata/string.txt
vendored
2
tests/testdata/string.txt
vendored
@@ -1 +1 @@
|
||||
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
|
||||
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
|
||||
|
||||
Reference in New Issue
Block a user