11(* setup.ml generated for the first time by OASIS v0.3.1 *)
22
33(* OASIS_START *)
4- (* DO NOT EDIT (digest: 191706ac62aaead93b537f0b6b72194e ) *)
4+ (* DO NOT EDIT (digest: 0ee01babea67a544f01f0f92ee08aa60 ) *)
55(*
66 Regenerated by OASIS v0.3.0
77 Visit http://oasis.forge.ocamlcore.org for more information and
@@ -5715,6 +5715,14 @@ let setup_t =
57155715 [(OASISExpr. EBool true , (" ./test_fork.native" , [] ))];
57165716 cmd_clean = [(OASISExpr. EBool true , None )];
57175717 cmd_distclean = [(OASISExpr. EBool true , None )];
5718+ });
5719+ (" test_tuntap" ,
5720+ CustomPlugin.Test. main
5721+ {
5722+ CustomPlugin. cmd_main =
5723+ [(OASISExpr. EBool true , (" ./test_tuntap.native" , [] ))];
5724+ cmd_clean = [(OASISExpr. EBool true , None )];
5725+ cmd_distclean = [(OASISExpr. EBool true , None )];
57185726 })
57195727 ];
57205728 doc = [(" api" , OCamlbuildDocPlugin. doc_build " doc" )];
@@ -5738,6 +5746,14 @@ let setup_t =
57385746 [(OASISExpr. EBool true , (" ./test_fork.native" , [] ))];
57395747 cmd_clean = [(OASISExpr. EBool true , None )];
57405748 cmd_distclean = [(OASISExpr. EBool true , None )];
5749+ });
5750+ (" test_tuntap" ,
5751+ CustomPlugin.Test. clean
5752+ {
5753+ CustomPlugin. cmd_main =
5754+ [(OASISExpr. EBool true , (" ./test_tuntap.native" , [] ))];
5755+ cmd_clean = [(OASISExpr. EBool true , None )];
5756+ cmd_distclean = [(OASISExpr. EBool true , None )];
57415757 })
57425758 ];
57435759 clean_doc = [(" api" , OCamlbuildDocPlugin. doc_clean " doc" )];
@@ -5759,12 +5775,20 @@ let setup_t =
57595775 [(OASISExpr. EBool true , (" ./test_fork.native" , [] ))];
57605776 cmd_clean = [(OASISExpr. EBool true , None )];
57615777 cmd_distclean = [(OASISExpr. EBool true , None )];
5778+ });
5779+ (" test_tuntap" ,
5780+ CustomPlugin.Test. distclean
5781+ {
5782+ CustomPlugin. cmd_main =
5783+ [(OASISExpr. EBool true , (" ./test_tuntap.native" , [] ))];
5784+ cmd_clean = [(OASISExpr. EBool true , None )];
5785+ cmd_distclean = [(OASISExpr. EBool true , None )];
57625786 })
57635787 ];
57645788 distclean_doc = [] ;
57655789 package =
57665790 {
5767- oasis_version = " 0.2 " ;
5791+ oasis_version = " 0.3 " ;
57685792 ocaml_version = None ;
57695793 findlib_version = None ;
57705794 name = " fd-send-recv" ;
@@ -5822,6 +5846,18 @@ let setup_t =
58225846 files_ab = [] ;
58235847 sections =
58245848 [
5849+ Flag
5850+ ({
5851+ cs_name = " tuntap" ;
5852+ cs_data = PropList.Data. create () ;
5853+ cs_plugin_data = [] ;
5854+ },
5855+ {
5856+ flag_description =
5857+ Some
5858+ " Enable the tuntap test (require package tuntap)" ;
5859+ flag_default = [(OASISExpr. EBool true , false )];
5860+ });
58255861 Library
58265862 ({
58275863 cs_name = " fd_send_recv" ;
@@ -5865,7 +5901,11 @@ let setup_t =
58655901 pre_command = [(OASISExpr. EBool true , None )];
58665902 post_command = [(OASISExpr. EBool true , None )];
58675903 };
5868- doc_build = [(OASISExpr. EBool true , true )];
5904+ doc_build =
5905+ [
5906+ (OASISExpr. ENot (OASISExpr. EFlag " docs" ), false );
5907+ (OASISExpr. EFlag " docs" , true )
5908+ ];
58695909 doc_install = [(OASISExpr. EBool true , false )];
58705910 doc_install_dir = " $docdir" ;
58715911 doc_title = " Documentation and API reference" ;
@@ -5926,6 +5966,41 @@ let setup_t =
59265966 bs_nativeopt = [(OASISExpr. EBool true , [] )];
59275967 },
59285968 {exec_custom = false ; exec_main_is = " test_fork.ml" ; });
5969+ Executable
5970+ ({
5971+ cs_name = " test_tuntap" ;
5972+ cs_data = PropList.Data. create () ;
5973+ cs_plugin_data = [] ;
5974+ },
5975+ {
5976+ bs_build =
5977+ [
5978+ (OASISExpr. EBool true , false );
5979+ (OASISExpr. EFlag " tuntap" , true )
5980+ ];
5981+ bs_install =
5982+ [
5983+ (OASISExpr. EBool true , false );
5984+ (OASISExpr. EFlag " tuntap" , true )
5985+ ];
5986+ bs_path = " test" ;
5987+ bs_compiled_object = Best ;
5988+ bs_build_depends =
5989+ [
5990+ InternalLibrary " fd_send_recv" ;
5991+ FindlibPackage (" tuntap" , None )
5992+ ];
5993+ bs_build_tools = [ExternalTool " ocamlbuild" ];
5994+ bs_c_sources = [] ;
5995+ bs_data_files = [] ;
5996+ bs_ccopt = [(OASISExpr. EBool true , [] )];
5997+ bs_cclib = [(OASISExpr. EBool true , [] )];
5998+ bs_dlllib = [(OASISExpr. EBool true , [] )];
5999+ bs_dllpath = [(OASISExpr. EBool true , [] )];
6000+ bs_byteopt = [(OASISExpr. EBool true , [] )];
6001+ bs_nativeopt = [(OASISExpr. EBool true , [] )];
6002+ },
6003+ {exec_custom = false ; exec_main_is = " test_tuntap.ml" ; });
59296004 Test
59306005 ({
59316006 cs_name = " test" ;
@@ -5942,7 +6017,11 @@ let setup_t =
59426017 post_command = [(OASISExpr. EBool true , None )];
59436018 };
59446019 test_working_directory = None ;
5945- test_run = [(OASISExpr. EBool true , true )];
6020+ test_run =
6021+ [
6022+ (OASISExpr. ENot (OASISExpr. EFlag " tests" ), false );
6023+ (OASISExpr. EFlag " tests" , true )
6024+ ];
59466025 test_tools = [ExternalTool " ocamlbuild" ];
59476026 });
59486027 Test
@@ -5961,25 +6040,53 @@ let setup_t =
59616040 post_command = [(OASISExpr. EBool true , None )];
59626041 };
59636042 test_working_directory = None ;
5964- test_run = [(OASISExpr. EBool true , true )];
6043+ test_run =
6044+ [
6045+ (OASISExpr. ENot (OASISExpr. EFlag " tests" ), false );
6046+ (OASISExpr. EFlag " tests" , true )
6047+ ];
6048+ test_tools = [ExternalTool " ocamlbuild" ];
6049+ });
6050+ Test
6051+ ({
6052+ cs_name = " test_tuntap" ;
6053+ cs_data = PropList.Data. create () ;
6054+ cs_plugin_data = [] ;
6055+ },
6056+ {
6057+ test_type = (`Test , " custom" , Some " 0.3" );
6058+ test_command =
6059+ [(OASISExpr. EBool true , (" ./test_tuntap.native" , [] ))
6060+ ];
6061+ test_custom =
6062+ {
6063+ pre_command = [(OASISExpr. EBool true , None )];
6064+ post_command = [(OASISExpr. EBool true , None )];
6065+ };
6066+ test_working_directory = None ;
6067+ test_run =
6068+ [
6069+ (OASISExpr. ENot (OASISExpr. EFlag " tests" ), false );
6070+ (OASISExpr. EFlag " tests" , true )
6071+ ];
59656072 test_tools = [ExternalTool " ocamlbuild" ];
59666073 })
59676074 ];
5968- plugins = [(`Extra , " META" , Some " 0.2" )];
6075+ plugins =
6076+ [(`Extra , " META" , Some " 0.3" ); (`Extra , " DevFiles" , Some " 0.3" )];
59696077 schema_data = PropList.Data. create () ;
59706078 plugin_data = [] ;
59716079 };
59726080 oasis_fn = Some " _oasis" ;
59736081 oasis_version = " 0.3.0" ;
5974- oasis_digest =
5975- Some " \004 ;\028 u\162\132\202\213 P\196\155\022\189\007 C\006 " ;
6082+ oasis_digest = Some " \134 ^\152\180\168\209\237\224 QO\217\139 u\024\024 v" ;
59766083 oasis_exec = None ;
59776084 oasis_setup_args = [] ;
59786085 setup_update = false ;
59796086 };;
59806087
59816088let setup () = BaseSetup. setup setup_t;;
59826089
5983- # 5984 " setup.ml"
6090+ # 6091 " setup.ml"
59846091(* OASIS_STOP *)
59856092let () = setup () ;;
0 commit comments