From 4c1f0aca7af9eaedd66ce1244557358d9d36411c Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 22 Jul 2018 16:30:49 -0700 Subject: Moving all the rest of the tests over to inline versions. --- tools/test.nom | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tools') 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 = [] -- cgit v1.2.3