diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2018-11-26 16:28:06 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2018-11-26 16:28:06 -0800 |
| commit | 5027bd4f0f2c6dcebf667a6924c50b0ca3df235f (patch) | |
| tree | da3ed710dcbfc065a24ac3ab0c8b4917a22b6991 /tools/test.nom | |
| parent | 8e5f1b9e1e912f781738a564843e024b0e0b2e96 (diff) | |
Upgraded/autoformatted.
Diffstat (limited to 'tools/test.nom')
| -rwxr-xr-x | tools/test.nom | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/test.nom b/tools/test.nom index 1fd5ee3..bcbd289 100755 --- a/tools/test.nom +++ b/tools/test.nom @@ -1,4 +1,4 @@ -#!/usr/bin/env nomsu -V4.11.12.8 +#!/usr/bin/env nomsu -V4.12.12.8 # Tool to run all tests in a file (i.e. the code block inside a call to 'test %'). Usage: nomsu tools/test.nom file1 file2 directory1 ... @@ -18,9 +18,7 @@ for %filename in (command line args).extra_args: for %src = %test in %tests: if (%src.filename == %filename): if %version: - %test = "\ - ..#!/usr/bin/env nomsu -V\(%version) - \%test" + %test = "#!/usr/bin/env nomsu -V\%version\n\%test" %file_tests::add {test: %test, source: %src} unless (%file_tests is empty): |
