From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id C60147EE51 for ; Tue, 14 May 2013 12:27:04 +0200 (CEST) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of gildor478@gmail.com) identity=pra; client-ip=209.85.223.181; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="gildor478@gmail.com"; x-sender="gildor478@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of gildor478@gmail.com designates 209.85.223.181 as permitted sender) identity=mailfrom; client-ip=209.85.223.181; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="gildor478@gmail.com"; x-sender="gildor478@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-ie0-f181.google.com) identity=helo; client-ip=209.85.223.181; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="gildor478@gmail.com"; x-sender="postmaster@mail-ie0-f181.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: An0CAHcQklHRVd+1m2dsb2JhbABagz6xYI5TeQgWDgEBAQEBBgsLCRQogiABBUABGx0BAwwGBQs7IgERAQUBHAYTh3kBAw8Mn2iMPYFygQyEfgoZJw1Yh2oBBQyPEweDVQOXL4Emji0WKYQ3Og X-IPAS-Result: An0CAHcQklHRVd+1m2dsb2JhbABagz6xYI5TeQgWDgEBAQEBBgsLCRQogiABBUABGx0BAwwGBQs7IgERAQUBHAYTh3kBAw8Mn2iMPYFygQyEfgoZJw1Yh2oBBQyPEweDVQOXL4Emji0WKYQ3Og X-IronPort-AV: E=Sophos;i="4.87,669,1363129200"; d="scan'208";a="17329051" Received: from mail-ie0-f181.google.com ([209.85.223.181]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 14 May 2013 12:27:04 +0200 Received: by mail-ie0-f181.google.com with SMTP id x12so617777ief.40 for ; Tue, 14 May 2013 03:27:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=aqSEgDLsPmXY7d47ghwXcP0/NbH8A4mruIYy/sJN8AQ=; b=BidkOv6dXygQIeyQ5CWpcSOLDlgOLzkYhoHu+ZE1UoKU1wPUTYwpQe0eYtBk3pIKYT Pm5SFVRtcPc+Qk1Tn9z40s/f+S25U+3K0SVAPBIleNHzpNjiIPf+5vxK4HMwiG5POOxa dQ0cRCI69PPGCqiVZGZl86m7saMeVA17/kMzFFg5pCWrgngYqQN3V0v7YKHvAjRM+J0N MVrLOF3l9zgsdwWjz27R4ae+5jKO2jvHtruqpwSmp1T2luPBBvHbfzTVQxrK8ZIyzogU idrVuQbWMXO+5uTdHUvijhOwR/BF1Y+s0a2ivyNcjMa1Qrw8UhZQKaP1PVWyvg3SHPb7 dUbw== MIME-Version: 1.0 X-Received: by 10.50.114.106 with SMTP id jf10mr1458722igb.111.1368527222871; Tue, 14 May 2013 03:27:02 -0700 (PDT) Received: by 10.64.7.166 with HTTP; Tue, 14 May 2013 03:27:02 -0700 (PDT) In-Reply-To: <5191BBC4.1040402@riken.jp> References: <5191BBC4.1040402@riken.jp> Date: Tue, 14 May 2013 12:27:02 +0200 Message-ID: From: Sylvain Le Gall To: Francois Berenger Cc: caml-list Content-Type: text/plain; charset=ISO-8859-1 X-Validation-by: sylvain@le-gall.net Subject: [Caml-list] Re: oasis help: support for qtest in oasis 2013/5/14 Francois Berenger : > Hello, > > Is there some way to plug qtest into > an oasis-managed project? > > My current problem is that qtest > generates the main.ml (for example) file to run the tests > and I don't want to add this file under VC > so oasis should allow me to run a command > to create this file before it is compiled. I don't know how qtest works, but I would say, that you should use PreBuildCommand http://oasis.forge.ocamlcore.org/MANUAL.html#package This is a toplevel field and you can surround it with conditional: if flag(tests) PreBuildCommand: foo-bar --output main.ml Is this what you want ? Regards Sylvain