From a3a9a1c71970d3ed73d1b65663a02cad95ef580f Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Wed, 11 Apr 2018 09:43:37 +0700 Subject: [PATCH] Move current configurator API to V1 module --- src/configurator/{configurator.ml => v1.ml} | 0 src/configurator/{configurator.mli => v1.mli} | 0 test/blackbox-tests/test-cases/configurator/c_test/run.ml | 1 + test/blackbox-tests/test-cases/configurator/config/run.ml | 2 ++ .../test-cases/configurator/import-define/run.ml | 2 ++ test/unit-tests/configurator/test_configurator.ml | 5 ++++- 6 files changed, 9 insertions(+), 1 deletion(-) rename src/configurator/{configurator.ml => v1.ml} (100%) rename src/configurator/{configurator.mli => v1.mli} (100%) diff --git a/src/configurator/configurator.ml b/src/configurator/v1.ml similarity index 100% rename from src/configurator/configurator.ml rename to src/configurator/v1.ml diff --git a/src/configurator/configurator.mli b/src/configurator/v1.mli similarity index 100% rename from src/configurator/configurator.mli rename to src/configurator/v1.mli diff --git a/test/blackbox-tests/test-cases/configurator/c_test/run.ml b/test/blackbox-tests/test-cases/configurator/c_test/run.ml index dc3a9f083d3..f74ebaae683 100644 --- a/test/blackbox-tests/test-cases/configurator/c_test/run.ml +++ b/test/blackbox-tests/test-cases/configurator/c_test/run.ml @@ -1,3 +1,4 @@ +module Configurator = Configurator.V1 let () = Configurator.main ~name:"c_test" (fun t -> diff --git a/test/blackbox-tests/test-cases/configurator/config/run.ml b/test/blackbox-tests/test-cases/configurator/config/run.ml index e7e39784a9e..b6f088d54d6 100644 --- a/test/blackbox-tests/test-cases/configurator/config/run.ml +++ b/test/blackbox-tests/test-cases/configurator/config/run.ml @@ -1,3 +1,5 @@ +module Configurator = Configurator.V1 + let () = Configurator.main ~name:"config" (fun t -> match Configurator.ocaml_config_var t "version" with diff --git a/test/blackbox-tests/test-cases/configurator/import-define/run.ml b/test/blackbox-tests/test-cases/configurator/import-define/run.ml index 42a9ab20ada..6b77f1961d5 100644 --- a/test/blackbox-tests/test-cases/configurator/import-define/run.ml +++ b/test/blackbox-tests/test-cases/configurator/import-define/run.ml @@ -1,3 +1,5 @@ +module Configurator = Configurator.V1 + let () = let module C_define = Configurator.C_define in Configurator.main ~name:"c_test" (fun t -> diff --git a/test/unit-tests/configurator/test_configurator.ml b/test/unit-tests/configurator/test_configurator.ml index fbfec437a43..d8c88b80def 100644 --- a/test/unit-tests/configurator/test_configurator.ml +++ b/test/unit-tests/configurator/test_configurator.ml @@ -1 +1,4 @@ -Configurator.main ~name:"test_configurator" (fun _ -> ()) +module Configurator = Configurator.V1 + +let () = + Configurator.main ~name:"test_configurator" (fun _ -> ())