Skip to content

Commit

Permalink
Merge pull request #692 from rgrinberg/configurator-v1
Browse files Browse the repository at this point in the history
Move current configurator API to V1 module
  • Loading branch information
rgrinberg authored Apr 11, 2018
2 parents 5217051 + a3a9a1c commit 7a3917b
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 1 deletion.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions test/blackbox-tests/test-cases/configurator/c_test/run.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
module Configurator = Configurator.V1

let () =
Configurator.main ~name:"c_test" (fun t ->
Expand Down
2 changes: 2 additions & 0 deletions test/blackbox-tests/test-cases/configurator/config/run.ml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
module Configurator = Configurator.V1

let () =
Configurator.main ~name:"config" (fun t ->
match Configurator.ocaml_config_var t "version" with
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
module Configurator = Configurator.V1

let () =
let module C_define = Configurator.C_define in
Configurator.main ~name:"c_test" (fun t ->
Expand Down
5 changes: 4 additions & 1 deletion test/unit-tests/configurator/test_configurator.ml
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
Configurator.main ~name:"test_configurator" (fun _ -> ())
module Configurator = Configurator.V1

let () =
Configurator.main ~name:"test_configurator" (fun _ -> ())

0 comments on commit 7a3917b

Please sign in to comment.