Skip to content

Commit b863b90

Browse files
authored
Merge pull request #71 from mirage/fix-ci
Fix our tests and the name of our program when we test it - and keep ocaml-crunch as the program name
2 parents dfeeafb + 4fbfe51 commit b863b90

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/main.ml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@
1515
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1616
*)
1717

18-
let binary = Sys.argv.(0) |> Filename.basename |> Filename.remove_extension
18+
(* let binary = Sys.argv.(0) |> Filename.basename |> Filename.remove_extension *)
19+
(* NOTE(dinosaure): for the sake of compatibility, we must keep the
20+
["ocaml-crunch"] name even for tests where the binary is named by [dune] as
21+
["main"]. *)
22+
let binary = "ocaml-crunch"
1923

2024
let walker output mode dirs exts silent =
2125
let log fmt =

0 commit comments

Comments
 (0)