Browse Source

Remove flag in _oasis configuration

 + It's useless, since tests don't need a particular flag, and ocaml build
 thinks thats the never used "tests" flag is a typo.
 + However, ocamlbuild now complains for "test" and "quiet" tags.
Leo 9 years ago
parent
commit
5ed541fee1
2 changed files with 6 additions and 16 deletions
  1. 1 3
      _oasis
  2. 5 13
      setup.ml

+ 1 - 3
_oasis

@@ -34,13 +34,11 @@ Executable oclaunch
 Executable "run_test"
   Path: src
   MainIs: test/test.ml
-  Build$: flag(tests)
   CompiledObject: best
   Install: false
   BuildDepends: alcotest, oUnit, core, textutils, atdgen, threads, re2
 
-Test "tests"
-  Run$: flag(tests)
+Test tests
   Command: $run_test -q
   WorkingDirectory: src/test
 

+ 5 - 13
setup.ml

@@ -1,7 +1,7 @@
 (* setup.ml generated for the first time by OASIS v0.4.5 *)
 
 (* OASIS_START *)
-(* DO NOT EDIT (digest: 29148222c3727c6a2e17ba86cbb4f853) *)
+(* DO NOT EDIT (digest: 70330b54881acd2561c71818e36b1198) *)
 (*
    Regenerated by OASIS v0.4.5
    Visit http://oasis.forge.ocamlcore.org for more information and
@@ -6951,11 +6951,7 @@ let setup_t =
                      cs_plugin_data = []
                   },
                    {
-                      bs_build =
-                        [
-                           (OASISExpr.EBool true, false);
-                           (OASISExpr.EFlag "tests", true)
-                        ];
+                      bs_build = [(OASISExpr.EBool true, true)];
                       bs_install = [(OASISExpr.EBool true, false)];
                       bs_path = "src";
                       bs_compiled_object = Best;
@@ -7000,11 +6996,7 @@ let setup_t =
                       test_run =
                         [
                            (OASISExpr.ENot (OASISExpr.EFlag "tests"), false);
-                           (OASISExpr.EFlag "tests", false);
-                           (OASISExpr.EAnd
-                              (OASISExpr.EFlag "tests",
-                                OASISExpr.EFlag "tests"),
-                             true)
+                           (OASISExpr.EFlag "tests", true)
                         ];
                       test_tools =
                         [ExternalTool "ocamlbuild"; ExternalTool "camlp4o"]
@@ -7021,7 +7013,7 @@ let setup_t =
        };
      oasis_fn = Some "_oasis";
      oasis_version = "0.4.5";
-     oasis_digest = Some "\029\r\237\218zXPf\207\238d\143\005\003\189s";
+     oasis_digest = Some "\138\184\215\201c-\148D\234\195o\127\134\128#1";
      oasis_exec = None;
      oasis_setup_args = [];
      setup_update = false
@@ -7029,6 +7021,6 @@ let setup_t =
 
 let setup () = BaseSetup.setup setup_t;;
 
-# 7033 "setup.ml"
+# 7025 "setup.ml"
 (* OASIS_STOP *)
 let () = setup ();;