mirror of
https://github.com/janet-lang/janet
synced 2025-06-02 06:34:11 +00:00
Sort files when running tests.
This commit is contained in:
parent
0e7144f2dc
commit
8aba5e76ae
@ -778,7 +778,7 @@ int main(int argc, const char **argv) {
|
|||||||
(phony "test" ["build"]
|
(phony "test" ["build"]
|
||||||
(defn dodir
|
(defn dodir
|
||||||
[dir]
|
[dir]
|
||||||
(each sub (os/dir dir)
|
(each sub (sort (os/dir dir))
|
||||||
(def ndir (string dir sep sub))
|
(def ndir (string dir sep sub))
|
||||||
(case (os/stat ndir :mode)
|
(case (os/stat ndir :mode)
|
||||||
:file (when (string/has-suffix? ".janet" ndir)
|
:file (when (string/has-suffix? ".janet" ndir)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user