From: Sylvain Le Gall <gildor478@gmail.com>
To: Francois Berenger <berenger@riken.jp>
Cc: caml-list <caml-list@inria.fr>
Subject: [Caml-list] Re: oasis help: support for qtest in oasis
Date: Tue, 14 May 2013 12:27:02 +0200 [thread overview]
Message-ID: <CAOCAUGOYVhsemrgP_ZFSvse4RZ68LJPaq+kA5zNaxtat9SPxjw@mail.gmail.com> (raw)
In-Reply-To: <5191BBC4.1040402@riken.jp>
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 ?
Regards
Sylvain
next prev parent reply other threads:[~2013-05-14 10:27 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 ` Sylvain Le Gall [this message]
2013-05-15 1:04 ` [Caml-list] " Francois Berenger
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=CAOCAUGOYVhsemrgP_ZFSvse4RZ68LJPaq+kA5zNaxtat9SPxjw@mail.gmail.com \
--to=gildor478@gmail.com \
--cc=berenger@riken.jp \
--cc=caml-list@inria.fr \
/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