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 mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 9F6C6800B6 for ; Mon, 2 Jan 2017 23:23:50 +0100 (CET) Authentication-Results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=agarwal1975@gmail.com; spf=Pass smtp.mailfrom=agarwal1975@gmail.com; spf=None smtp.helo=postmaster@mail-vk0-f48.google.com Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of agarwal1975@gmail.com) identity=pra; client-ip=209.85.213.48; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="agarwal1975@gmail.com"; x-sender="agarwal1975@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of agarwal1975@gmail.com designates 209.85.213.48 as permitted sender) identity=mailfrom; client-ip=209.85.213.48; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="agarwal1975@gmail.com"; x-sender="agarwal1975@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-vk0-f48.google.com) identity=helo; client-ip=209.85.213.48; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="agarwal1975@gmail.com"; x-sender="postmaster@mail-vk0-f48.google.com"; x-conformance=sidf_compatible IronPort-PHdr: =?us-ascii?q?9a23=3AIVMI3BVdBGuFAta1rqQOAhKmiI/V8LGtZVwlr6E/?= =?us-ascii?q?grcLSJyIuqrYbBKBt8tkgFKBZ4jH8fUM07OQ6PG8HzVaqs7Y+Fk5M7V0Hycfjs?= =?us-ascii?q?sXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aFRrwLxd6?= =?us-ascii?q?KfroEYDOkcu3y/qy+5rOaAlUmTaxe71/IRG5oAnLq8Uan4RuJrosxhDUvnZGZu?= =?us-ascii?q?NayH9yK1mOhRj8/MCw/JBi8yRUpf0s8tNLXLv5caolU7FWFSwqPG8p6sLlsxnD?= =?us-ascii?q?VhaP6WAHUmoKiBpIAhPK4w/8U5zsryb1rOt92C2dPc3rUbA5XCmp4ql3RBP0ji?= =?us-ascii?q?oMKiU0+3/LhMNukK1boQqhpx1hzI7SfIGVL+d1cqfEcd8HWWZNQsNdWipGDY2h?= =?us-ascii?q?cosPFPIBMvhEoInhqVUOqh6+ChOtBOPp1zREgnD70Kk/3+knDArI3hEvH8gWvX?= =?us-ascii?q?vWotX7NKkcX+OowqfW0TrOdOlZ1Svn5YXSbhwtvfOBULRtesTR00kvEAbFg02M?= =?us-ascii?q?pIz+PzOV1/8Ns2iG5Od8WuKgkXQnqg9rrTir28whjZPGho0PxVDe+yR22oI1Kc?= =?us-ascii?q?C8RUN5YdOpC5RQtySAOIt3RsMuWX1nuCE/yrAfv5OwYSYEyJMixxHFavyHdZCF?= =?us-ascii?q?4hPlVOaLIDd3nmhpeLylhxqq8Umv0O38Vs6z0FpQsiVFldzMu3YQ3BLQ8siKUu?= =?us-ascii?q?Vx8lul1DqV1A3e6vtILV4pmafVMZIszb09m5wOukrZBCD2gl/5jKqOe0Uk5Oeo?= =?us-ascii?q?7+Pnb63jppCGNo90jhjyMrotmsCjGOg4PAcDUmuB9eSz073j+kL5QLFUgfEsjq?= =?us-ascii?q?bZt5XaKdwapq6/HQBVzp4u5wijAzqiytgVnnkKIEhbdB6agYXlIV7DLfPgAfe6?= =?us-ascii?q?mVuskTNrx/7cPr3mB5XANmLMkLj7crZn5U9T0g4zwc1b6p9WCrwMO/3zWkrru9?= =?us-ascii?q?zZCh81KRC7w+HiCNllzIMRRXqPArOFMKPVqVKH+vggI+yIZIMMvDb9KuMl5+L1?= =?us-ascii?q?gH8imV4deLGp0oENZHC5GPRmOUSZbmD2jtcPC2dZ9jY5GcnjjFaFVTsbQn+uVq?= =?us-ascii?q?Y/73lvDYevEY7HRYmFj7mI3SP9FZpTMDNoEFeJRF7zd4SfW78lZyuIPcZl2mgN?= =?us-ascii?q?WrG7VIYljEDx6Sf1zrNmKqzf/ShO5sGr78R8++CGzUJ6zjdzFcnIljzUQg=3D?= =?us-ascii?q?=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0ArBwBh0mpYhzDVVdFdGwEBAQMBAQEJA?= =?us-ascii?q?QEBFwEBBAEBCgEBgwwBAQEBAUABPXwQB6IUgjSKV4JoggaBE4IPgggqhXgCgVg?= =?us-ascii?q?HQRIBAQEBAQEBAQEBARIBAQEIDQkJHTCCMxqCHAEEASMdARsSCwEDAQsGBQQHA?= =?us-ascii?q?xcdAgIhAQERAQUBChIGEwgKiEIBAxAIDqIuP4wCggMFARyDCQWDTAoZJwMKVII?= =?us-ascii?q?1AQEBAQEBAQMBAQEBAQEBAQEXAgYSixSCToIlgleCXQWBJQEBAYVpDIhlikYrC?= =?us-ascii?q?AEBgTQJhReDEoNfg3mBdVGOD4d+gXWEO4JJFB6BFA8XBYEzURJBglgpIIIHIDS?= =?us-ascii?q?IZwEBAQ?= X-IPAS-Result: =?us-ascii?q?A0ArBwBh0mpYhzDVVdFdGwEBAQMBAQEJAQEBFwEBBAEBCgE?= =?us-ascii?q?BgwwBAQEBAUABPXwQB6IUgjSKV4JoggaBE4IPgggqhXgCgVgHQRIBAQEBAQEBA?= =?us-ascii?q?QEBARIBAQEIDQkJHTCCMxqCHAEEASMdARsSCwEDAQsGBQQHAxcdAgIhAQERAQU?= =?us-ascii?q?BChIGEwgKiEIBAxAIDqIuP4wCggMFARyDCQWDTAoZJwMKVII1AQEBAQEBAQMBA?= =?us-ascii?q?QEBAQEBAQEXAgYSixSCToIlgleCXQWBJQEBAYVpDIhlikYrCAEBgTQJhReDEoN?= =?us-ascii?q?fg3mBdVGOD4d+gXWEO4JJFB6BFA8XBYEzURJBglgpIIIHIDSIZwEBAQ?= X-IronPort-AV: E=Sophos;i="5.33,451,1477954800"; d="scan'208,217";a="206731066" Received: from mail-vk0-f48.google.com ([209.85.213.48]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/AES128-GCM-SHA256; 02 Jan 2017 23:23:49 +0100 Received: by mail-vk0-f48.google.com with SMTP id y197so119468423vky.2 for ; Mon, 02 Jan 2017 14:23:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=TkxzfdLs+B0VlI9KGLz2QqsQsCSeiZfxTZNuOecC/hY=; b=tBMZzxQZE6c/va3NV7aCxlbtBt5haSpk1H/B4ujImGrdW21gZEk2O3NKq/mvmVj0zE j8yPzgkXnca1uakKBqeq6aIjRJNoRLACVZCxm/aey0nDqolf4a2PruDywwFgahoG2fIL VK9EVh6+ePS2zaGGNr5HRV02Jd/q4P28JtFvPVE9JnGvnT9fEFwxKZ0Pj/Ufy5e9Y63d U2V/2nsoLX2NWLG5MIJEReQaNu9REYK29Dzbvq3kEYu0Ei9rZ/hQR9i76fgiGVl5wNXa 4knpOkqyH4QzXgayrXY0SbCuq8pzKX+vVmLwO8L+HRK1qXIwlgIGuZ+JlXCQ6q7NPIKO qeyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=TkxzfdLs+B0VlI9KGLz2QqsQsCSeiZfxTZNuOecC/hY=; b=HZH44v4r7OlXvz/SSdguNLebEuM1tGT117KirPpFrROVseqF9LN1w7aqetWReF3cIp ipXs5I3AdiPVSu+4T2RT30os/NBm7fUVTwHXO9xzAugBtrQgb7Z+elM/xNLVq3IgJuH1 6ll3VEMUUxRthiyWqIyPyYpYA4ACuLHpJdouGLe94z8YfmqHZzFdpJfUdHjrKfbBHDaN 5ztkqER74YYtTipYrtGIZMA1nwanW9OyBWH0cFGkEm0upiyLJfQkpPB8UYQLi3zgVWMC /qGrwh0mPlVbfMJ5OBaZWNGIKRdypFhClhGjJOvEDEbKZXrI3d9TtYgdkfPqkAh1yZOW CwkA== X-Gm-Message-State: AIkVDXKiyiKXwQGk13gvvbRlBaXc7tbt0aTstqpjchOHIgUl1v/C+4OMoVoxZh5eK4iaqgeP46/Z6e2OjxG1jw== X-Received: by 10.31.236.7 with SMTP id k7mr21719589vkh.96.1483395828069; Mon, 02 Jan 2017 14:23:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.131.138 with HTTP; Mon, 2 Jan 2017 14:23:27 -0800 (PST) In-Reply-To: <86ful4e8qp.fsf@gmail.com> References: <86ful4e8qp.fsf@gmail.com> From: Ashish Agarwal Date: Mon, 2 Jan 2017 17:23:27 -0500 Message-ID: To: Malcolm Matalka Cc: Caml List Content-Type: multipart/alternative; boundary=94eb2c09617c64bb9e054524012b Subject: Re: [Caml-list] How to test a repository using OPAM? --94eb2c09617c64bb9e054524012b Content-Type: text/plain; charset=UTF-8 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 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 > --94eb2c09617c64bb9e054524012b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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 repo= sitories and
I'm running into a bit of an issue.=C2=A0 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.=C2=A0 The problem I have is that the = -t
runs the tests for all packages it installs.=C2=A0 I tried doing the instal= l
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.=C2=A0 In my case, I depend on Ctypes which depen= ds
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?=C2=A0 On top of that, can I tell it to only instal= l
the testing libraries needed for the package I want to install and not
its dependencies?

Thanks,
/Malcolm


--
Caml-list mailing list.=C2=A0 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

--94eb2c09617c64bb9e054524012b--