From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 6655BBB84 for ; Mon, 16 Jun 2008 11:07:53 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEANfJVUiE5UFf/2dsb2JhbACtAg X-IronPort-AV: E=Sophos;i="4.27,651,1204498800"; d="scan'208";a="14049739" Received: from fswmim01.dmz.fsw.leidenuniv.nl ([132.229.65.95]) by mail3-smtp-sop.national.inria.fr with ESMTP; 16 Jun 2008 11:07:52 +0200 Received: from studies.cwts.nl (unverified [132.229.67.201]) by FSWMIM01.dmz.fsw.leidenuniv.nl (Clearswift SMTPRS 5.2.9) with ESMTP id for ; Mon, 16 Jun 2008 11:07:43 +0200 Received: from [132.229.67.31] (infinite.fsw.leidenuniv.nl [132.229.67.31]) by studies.cwts.nl (Postfix) with ESMTP id B5D0048259AF for ; Mon, 16 Jun 2008 11:07:43 +0200 (CEST) Message-ID: <48562D5F.80407@cwts.leidenuniv.nl> Date: Mon, 16 Jun 2008 11:07:43 +0200 From: Renald Buter Organization: CWTS User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: caml-list@yquem.inria.fr Subject: ocamlbuild: simplification of invocation Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; invocation:01 unix:01 assert:01 native:03 let:03 let:03 confused:04 anyway:05 i'd:06 entity:08 i'm:09 file:11 i've:12 error:12 question:13 Hello, I'm not sure if this is the right forum to ask this question, but I'll post it anyway :) Hello list, I have a simple test setup that I'd like to build with ocamlbuild: open OUnit let test_failure _ = assert_failure "failed" let test_suite = "Setup" >::: [ "failure" >:: test_failure ] let _ = run_test_tt_main test_suite To build this, I have to enter: ocamlbuild -cflags -I,+oUnit -lflags -I,+oUnit -libs unix,oUnit test_setup.native Now, is there any way of simplifying this? I've tried looking into the tags for the _tags file, but got confused... With kind regards, Renald Buter ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. **********************************************************************