From: Ashish Agarwal <agarwal1975@gmail.com>
To: Malcolm Matalka <mmatalka@gmail.com>
Cc: Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] How to test a repository using OPAM?
Date: Mon, 2 Jan 2017 17:23:27 -0500 [thread overview]
Message-ID: <CAMu2m2JRdqoZ1Q9e2LvYn16rjiST_eqzvNePXHr6Unq916o8Zw@mail.gmail.com> (raw)
In-Reply-To: <86ful4e8qp.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1639 bytes --]
I can't find where, but recently it was mentioned that the recursive
application of -t is an obvious mistake. So I'm guessing this is already
resolved in the latest opam.
On Sat, Dec 31, 2016 at 4:41 AM, Malcolm Matalka <mmatalka@gmail.com> wrote:
> I'm setting up testing infrastructure for some of my repositories and
> I'm running into a bit of an issue. My setup looks like:
>
> 1. Update the standard opam-repository
>
> 2. Upgrade any dependencies (I want to know if I break against the
> bleeding edge
>
> 3. Automatically generate an OPAM package for my repository.
>
> 4. opam install --deps-only -t my-package
>
> 5. make tests
>
> The -t is in step 4 because I need the testing dependencies for
> my-package in order to run the tests. The problem I have is that the -t
> runs the tests for all packages it installs. I tried doing the install
> in two steps, the first without the -t and the second with, but that
> doesn't solve the problem because it installs testing libraries for all
> deps and runs those tests. In my case, I depend on Ctypes which depends
> on Lwt for testing and the Lwt tests take far too long.
>
> Is there a way to tell opam to only install the testing libraries needed
> to test but to not test? On top of that, can I tell it to only install
> the testing libraries needed for the package I want to install and not
> its dependencies?
>
> Thanks,
> /Malcolm
>
>
> --
> Caml-list mailing list. Subscription management and archives:
> https://sympa.inria.fr/sympa/arc/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>
[-- Attachment #2: Type: text/html, Size: 2415 bytes --]
prev parent reply other threads:[~2017-01-02 22:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-31 9:41 Malcolm Matalka
2017-01-02 22:23 ` Ashish Agarwal [this message]
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=CAMu2m2JRdqoZ1Q9e2LvYn16rjiST_eqzvNePXHr6Unq916o8Zw@mail.gmail.com \
--to=agarwal1975@gmail.com \
--cc=caml-list@inria.fr \
--cc=mmatalka@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