Skip to content

Commit 69aedac

Browse files
committed
Fix compilation test
1 parent 104fc55 commit 69aedac

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

test/executable.janet

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,10 @@
1010

1111
(defn- rmrf
1212
[path]
13-
(def sep (get {:windows "\\" :cygwin "\\" :mingw "\\"} (os/which) "/"))
1413
(case (os/lstat path :mode)
1514
:directory (do
1615
(each subpath (os/dir path)
17-
(rmrf (string path sep subpath)))
16+
(rmrf (string path "/" subpath)))
1817
(os/rmdir path))
1918
nil nil # do nothing if file does not exist
2019
(os/rm path)))
@@ -120,6 +119,6 @@
120119
(with-dyns [:out @"" :err @""]
121120
(def build (module/value bundle 'build))
122121
(build {:info test-info})))
123-
(os/rename "predoc-test" "tmp/predoc")
122+
(os/rename "_build/predoc-test" "tmp/predoc")
124123
(os/chmod "tmp/predoc" 8r755)
125124
(run-tests!))

0 commit comments

Comments
 (0)