caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Francois Berenger <berenger@riken.jp>
To: Sylvain Le Gall <gildor478@gmail.com>
Cc: caml-list <caml-list@inria.fr>
Subject: [Caml-list] Re: oasis help: support for qtest in oasis
Date: Wed, 15 May 2013 10:04:20 +0900	[thread overview]
Message-ID: <5192DF14.4080409@riken.jp> (raw)
In-Reply-To: <CAOCAUGOYVhsemrgP_ZFSvse4RZ68LJPaq+kA5zNaxtat9SPxjw@mail.gmail.com>

On 05/14/2013 07:27 PM, Sylvain Le Gall wrote:
> 2013/5/14 Francois Berenger <berenger@riken.jp>:
>> 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 ?

It looks perfect, just by looking at its name.
I'll give it a try.

Thanks a lot,
F.

PS: I looked in the oasis doc but was not able to identify this one


  reply	other threads:[~2013-05-15  1:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-14  4:21 [Caml-list] " Francois Berenger
2013-05-14 10:27 ` [Caml-list] " Sylvain Le Gall
2013-05-15  1:04   ` Francois Berenger [this message]
2013-06-23 20:36     ` [Caml-list] oasis and foreign code Chet Murthy
2013-06-23 20:39       ` Török Edwin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5192DF14.4080409@riken.jp \
    --to=berenger@riken.jp \
    --cc=caml-list@inria.fr \
    --cc=gildor478@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).