aboutsummaryrefslogtreecommitdiff
path: root/tools/test.nom
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test.nom')
-rwxr-xr-xtools/test.nom6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/test.nom b/tools/test.nom
index ebd9fab..bd51e10 100755
--- a/tools/test.nom
+++ b/tools/test.nom
@@ -16,9 +16,7 @@ for %path in (command line args):
for file %filename in %path:
if (%filename matches "%.nom$"): use %filename
-for %path in (command line args):
- use %path
-
+for %path in (command line args): use %path
%tests = ((=lua "Source:from_string(\%s)") = %t for %s = %t in (tests))
for %path in (command line args):
for file %filename in %path:
@@ -27,7 +25,7 @@ for %path in (command line args):
for %src = %test in %tests:
if (%src.filename == %filename):
add {test:%test, source:%src} to %file_tests
-
+
unless (%file_tests is empty):
sort %file_tests by % -> %.source
lua> "io.write('[ .. ] ', \%filename); io.flush()"