diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-07-22 16:30:49 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-07-22 16:30:49 -0700 |
| commit | 4c1f0aca7af9eaedd66ce1244557358d9d36411c (patch) | |
| tree | 42b4c2d43ae458bad7564704b648089b307c2448 /tools | |
| parent | 04d7edefa372f80160603ddd9039a7120527e4bc (diff) | |
Moving all the rest of the tests over to inline versions.
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/test.nom | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/test.nom b/tools/test.nom index a80ea55..3f2622e 100755 --- a/tools/test.nom +++ b/tools/test.nom @@ -8,9 +8,13 @@ if (%args.1 == "-v"): remove index 1 from %args %verbose = (yes) +# Make sure all the files get run +for %path in (command line args): + for file %filename in %path: + if (%filename matches "%.nom$"): use %filename + %tests = ((=lua "Source:from_string(\%s)") = %t for %s = %t in (tests)) for %path in (command line args): - if (%path is "-i"): %inplace = (yes) for file %filename in %path: unless (%filename matches "%.nom$"): do next %filename %file_tests = [] |
