Skip to content

Commit

Permalink
Build the tests only in test mode
Browse files Browse the repository at this point in the history
  • Loading branch information
samoht committed May 8, 2015
1 parent db47060 commit 3f8d17c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions _oasis
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Library "ezjsonm-lwt"
BuildDepends: ezjsonm, lwt

Executable test
Build$: flag(tests)
Install: false
Path: test
MainIs: test.ml
Expand Down
12 changes: 8 additions & 4 deletions setup.ml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(* setup.ml generated for the first time by OASIS v0.3.0 *)

(* OASIS_START *)
(* DO NOT EDIT (digest: 4dcbe916a591b60451eb3680fe4e4ea8) *)
(* DO NOT EDIT (digest: 19cdafeac52bf7fb910cbd75c33222d4) *)
(*
Regenerated by OASIS v0.4.5
Visit http://oasis.forge.ocamlcore.org for more information and
Expand Down Expand Up @@ -7010,7 +7010,11 @@ let setup_t =
cs_plugin_data = []
},
{
bs_build = [(OASISExpr.EBool true, true)];
bs_build =
[
(OASISExpr.EBool true, false);
(OASISExpr.EFlag "tests", true)
];
bs_install = [(OASISExpr.EBool true, false)];
bs_path = "test";
bs_compiled_object = Byte;
Expand Down Expand Up @@ -7089,14 +7093,14 @@ let setup_t =
};
oasis_fn = Some "_oasis";
oasis_version = "0.4.5";
oasis_digest = Some "9\2180\197\253\2077W}^\024N\224\254m\137";
oasis_digest = Some "P\156¥ú3²Ã1J\149I`º~IJ";
oasis_exec = None;
oasis_setup_args = [];
setup_update = false
};;

let setup () = BaseSetup.setup setup_t;;

# 7101 "setup.ml"
# 7105 "setup.ml"
(* OASIS_STOP *)
let () = setup ();;

0 comments on commit 3f8d17c

Please sign in to comment.