tests: Trim .txt files trailing whitespace
via OSX: find . -name '*.txt' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
This commit is contained in:
parent
0b44d812f1
commit
567b7d5a6a
3 changed files with 35 additions and 35 deletions
|
|
@ -1,13 +1,13 @@
|
||||||
This directory contains the test cases.
|
This directory contains the test cases.
|
||||||
Each test must have a filename of the form: ``t*.nim``
|
Each test must have a filename of the form: ``t*.nim``
|
||||||
|
|
||||||
Each test can contain a spec in a ``discard """"""`` block.
|
Each test can contain a spec in a ``discard """"""`` block.
|
||||||
|
|
||||||
The folder ``rodfiles`` contains special tests that test incremental
|
The folder ``rodfiles`` contains special tests that test incremental
|
||||||
compilation via symbol files.
|
compilation via symbol files.
|
||||||
|
|
||||||
The folder ``dll`` contains simple DLL tests.
|
The folder ``dll`` contains simple DLL tests.
|
||||||
|
|
||||||
The folder ``realtimeGC`` contains a test for validating that the realtime GC
|
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
|
can run properly without linking against the nimrtl.dll/so. It includes a C
|
||||||
client and platform specific build files for manual compilation.
|
client and platform specific build files for manual compilation.
|
||||||
|
|
|
||||||
|
|
@ -1,21 +1,21 @@
|
||||||
Test the realtime GC without linking nimrtl.dll/so.
|
Test the realtime GC without linking nimrtl.dll/so.
|
||||||
|
|
||||||
Note, this is a long running test, default is 35 minutes. To change the
|
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 main.nim and main.c.
|
||||||
|
|
||||||
You can build shared.nim, main.nim, and main.c by running make (nix systems)
|
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
|
or maike.bat (Windows systems). They both assume GCC and that it's in your
|
||||||
path. Output: shared.(dll/so), camin(.exe), nmain(.exe).
|
path. Output: shared.(dll/so), camin(.exe), nmain(.exe).
|
||||||
|
|
||||||
To run the test: execute either nmain or cmain in a shell window.
|
To run the test: execute either nmain or cmain in a shell window.
|
||||||
|
|
||||||
To build buy hand:
|
To build buy hand:
|
||||||
|
|
||||||
- build the shared object (shared.nim):
|
- build the shared object (shared.nim):
|
||||||
|
|
||||||
$ nim c shared.nim
|
$ nim c shared.nim
|
||||||
|
|
||||||
- build the client executables:
|
- build the client executables:
|
||||||
|
|
||||||
$ nim c -o:nmain main.nim
|
$ nim c -o:nmain main.nim
|
||||||
$ gcc -o cmain main.c -ldl
|
$ 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.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue