Browse Source

Cosmetic improvements of _oasis

 + Build tests as byte, doesn't need to be binary since it is not
 distributed
Leo 8 years ago
parent
commit
b4ef608636
4 changed files with 20 additions and 20 deletions
  1. 2 2
      INSTALL.md
  2. 3 3
      _oasis
  3. 8 8
      _tags
  4. 7 7
      setup.ml

+ 2 - 2
INSTALL.md

@@ -1,5 +1,5 @@
 <!--- OASIS_START --->
-<!--- DO NOT EDIT (digest: 82837b65c0730b7a1c78065ed839afd8) --->
+<!--- DO NOT EDIT (digest: 66ae045c13d05b88691d4262e6b6e66e) --->
 
 This is the INSTALL file for the OcLaunch distribution.
 
@@ -11,7 +11,7 @@ Dependencies
 
 In order to compile this package, you will need:
 
-* ocaml for all, test tests
+* ocaml for all, test alcotests
 * findlib
 * core
 * textutils

+ 3 - 3
_oasis

@@ -32,14 +32,14 @@ Executable oclaunch
   BuildDepends: core, textutils, atdgen, threads, re2
   CompiledObject: best
 
-Executable "run_test"
+Executable run_test
   Path: src
   MainIs: test/test.ml
-  CompiledObject: best
+  CompiledObject: byte
   Install: false
   BuildDepends: alcotest, oUnit, core, textutils, atdgen, threads, re2
 
-Test tests
+Test alcotests
   Command: $run_test -q
   WorkingDirectory: src/test
 

+ 8 - 8
_tags

@@ -1,5 +1,5 @@
 # OASIS_START
-# DO NOT EDIT (digest: db4bdd27155ce9d25c2a54aac4c69750)
+# DO NOT EDIT (digest: 9247e1447cdec4448281089474469785)
 # Ignore VCS directories, you can use the same kind of rule outside
 # OASIS_START/STOP if you want to exclude directories that contains
 # useless stuff for the build process
@@ -21,13 +21,13 @@ true: annot, bin_annot
 <src/oclaunch.{native,byte}>: pkg_textutils
 <src/oclaunch.{native,byte}>: pkg_threads
 # Executable run_test
-<src/test/test.{native,byte}>: pkg_alcotest
-<src/test/test.{native,byte}>: pkg_atdgen
-<src/test/test.{native,byte}>: pkg_core
-<src/test/test.{native,byte}>: pkg_oUnit
-<src/test/test.{native,byte}>: pkg_re2
-<src/test/test.{native,byte}>: pkg_textutils
-<src/test/test.{native,byte}>: pkg_threads
+"src/test/test.byte": pkg_alcotest
+"src/test/test.byte": pkg_atdgen
+"src/test/test.byte": pkg_core
+"src/test/test.byte": pkg_oUnit
+"src/test/test.byte": pkg_re2
+"src/test/test.byte": pkg_textutils
+"src/test/test.byte": pkg_threads
 <src/*.ml{,i,y}>: pkg_alcotest
 <src/*.ml{,i,y}>: pkg_atdgen
 <src/*.ml{,i,y}>: pkg_core

+ 7 - 7
setup.ml

@@ -1,7 +1,7 @@
 (* setup.ml generated for the first time by OASIS v0.4.5 *)
 
 (* OASIS_START *)
-(* DO NOT EDIT (digest: 68d9f4cf9636434214c4fc1c9378047e) *)
+(* DO NOT EDIT (digest: 9faef1402edb5230530d17b9bdf0bd43) *)
 (*
    Regenerated by OASIS v0.4.6
    Visit http://oasis.forge.ocamlcore.org for more information and
@@ -6848,7 +6848,7 @@ let setup_t =
          ];
      test =
        [
-          ("tests",
+          ("alcotests",
             CustomPlugin.Test.main
               {
                  CustomPlugin.cmd_main =
@@ -6863,7 +6863,7 @@ let setup_t =
      clean = [OCamlbuildPlugin.clean];
      clean_test =
        [
-          ("tests",
+          ("alcotests",
             CustomPlugin.Test.clean
               {
                  CustomPlugin.cmd_main =
@@ -6876,7 +6876,7 @@ let setup_t =
      distclean = [];
      distclean_test =
        [
-          ("tests",
+          ("alcotests",
             CustomPlugin.Test.distclean
               {
                  CustomPlugin.cmd_main =
@@ -6999,7 +6999,7 @@ let setup_t =
                       bs_build = [(OASISExpr.EBool true, true)];
                       bs_install = [(OASISExpr.EBool true, false)];
                       bs_path = "src";
-                      bs_compiled_object = Best;
+                      bs_compiled_object = Byte;
                       bs_build_depends =
                         [
                            FindlibPackage ("alcotest", None);
@@ -7024,7 +7024,7 @@ let setup_t =
                    {exec_custom = false; exec_main_is = "test/test.ml"});
                Test
                  ({
-                     cs_name = "tests";
+                     cs_name = "alcotests";
                      cs_data = PropList.Data.create ();
                      cs_plugin_data = []
                   },
@@ -7058,7 +7058,7 @@ let setup_t =
        };
      oasis_fn = Some "_oasis";
      oasis_version = "0.4.6";
-     oasis_digest = Some "\168\019\203\152\003\255\235OV\217e\023\184$\0251";
+     oasis_digest = Some "\246nj\234\185]\210\181\234\2233\203;to\164";
      oasis_exec = None;
      oasis_setup_args = [];
      setup_update = false