Login
7 branches 0 tags
Benjamin Vincent Schulenburg Added reduce/filter/remove for trees f81f10a 3 years ago 481 Commits
nujel / tools / suite.nuj
#!/usr/bin/env nujel

[println "Entered SUITE.NUJ"]
[defun directory/read-relative [path]
       [map [directory/read path]
            [\ [α] [cat path "/" α]]]]
[for-each [directory/read-relative "tests/suite"] file/eval]
[println "Loaded all Tests"]

[if [tree/get repl/options :bytecoded]
    [exit [test-run-bytecode]]
    [exit [test-run]]]