From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 B8750800B7 for ; Sat, 31 Dec 2016 10:41:21 +0100 (CET) Authentication-Results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=mmatalka@gmail.com; spf=Pass smtp.mailfrom=mmatalka@gmail.com; spf=None smtp.helo=postmaster@mail-wj0-f195.google.com Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of mmatalka@gmail.com) identity=pra; client-ip=209.85.210.195; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="mmatalka@gmail.com"; x-sender="mmatalka@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of mmatalka@gmail.com designates 209.85.210.195 as permitted sender) identity=mailfrom; client-ip=209.85.210.195; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="mmatalka@gmail.com"; x-sender="mmatalka@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-wj0-f195.google.com) identity=helo; client-ip=209.85.210.195; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="mmatalka@gmail.com"; x-sender="postmaster@mail-wj0-f195.google.com"; x-conformance=sidf_compatible IronPort-PHdr: =?us-ascii?q?9a23=3AtHLgTh00TxN0cmhgsmDT+DRfVm0co7zxezQtwd8Z?= =?us-ascii?q?sesRKfad9pjvdHbS+e9qxAeQG96Kt7Qc26GO6eigATVGusnR9ihaMdRlbFwst4?= =?us-ascii?q?Y/p0QYGsmLCEn2frbBThcRO4B8bmJj5GyxKkNPGczzNBX4q3y26iMOSF2kbVIm?= =?us-ascii?q?bre9JomHhM2y06W2+obPSwROnju0J71ofzusqgCEk8ASioxmL+4UwwfApnhBM7?= =?us-ascii?q?BTwGp0LFaQlj7z486x+Nho9CEG6KFpzNJJTaivJ/dwdrdfFjlza20=3D?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0ARAABSfGdYf8PSVdFdHgYMGAEFAQsBg?= =?us-ascii?q?wwBAQEBAYIKqwaKIYIPggiIAz8UAQEBAQEBAQEBAQESAQEJCwsJGzKCMxiCZAE?= =?us-ascii?q?bHgMSEBY0AQQPEQEFAYkJAQMYBKAUgz8/jgUFARyDCQWDUgoZJw1UgjUMHgIGC?= =?us-ascii?q?QEIhjOJc4UVBZp9gUuIG4dYgXWIIIZAh36IeTKBFB+BPxYNQINCgglyiGIBAQE?= X-IPAS-Result: =?us-ascii?q?A0ARAABSfGdYf8PSVdFdHgYMGAEFAQsBgwwBAQEBAYIKqwa?= =?us-ascii?q?KIYIPggiIAz8UAQEBAQEBAQEBAQESAQEJCwsJGzKCMxiCZAEbHgMSEBY0AQQPE?= =?us-ascii?q?QEFAYkJAQMYBKAUgz8/jgUFARyDCQWDUgoZJw1UgjUMHgIGCQEIhjOJc4UVBZp?= =?us-ascii?q?9gUuIG4dYgXWIIIZAh36IeTKBFB+BPxYNQINCgglyiGIBAQE?= X-IronPort-AV: E=Sophos;i="5.33,432,1477954800"; d="scan'208";a="252360662" Received: from mail-wj0-f195.google.com ([209.85.210.195]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/AES128-GCM-SHA256; 31 Dec 2016 10:41:21 +0100 Received: by mail-wj0-f195.google.com with SMTP id qs7so25442867wjc.1 for ; Sat, 31 Dec 2016 01:41:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version; bh=OPfwpNiU8qkPV4M2YSxsUjEV75v4A2Zo3x//TVLAQA4=; b=Kih7Ny4Mn5BoTEg4aSODj29pqtlstzHJqxVh4CwpgJNV3K9ctzBnYr8UkZfoIHBXJb +7FpcVKBygql92y0VpWHvJm4cUaxO7O8lLCYyHMaNs5DcClXAA9wmPC237tLSehnI/6N P2fL1TvaK9/9aeZbC53siBJTBQ5T8n+MWkIvmsdLH0u3MqHW/r1oJWE+Y5ljijfQeRdJ BONWI09VH6L4paV0Z0ox6A9WuJDtMSvZAqOHeSJsMsgpYc5HBEJr2OVQ0X5TLEYJuBFj 50aF9TwVDc5p3FJJq9D5U1iLlAe35fwOKJcJtkBRZMKqcQYmIl1QgwfqyVGKC9vDCuov FaoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=OPfwpNiU8qkPV4M2YSxsUjEV75v4A2Zo3x//TVLAQA4=; b=l5+K5MHQwBG5C1XvVKOeqmZlLkOlU06oIu9CcorUf5JrdVSFXqJnfzpDsB655ox89P Z914kHzFspbTiaw+jNcEjX4fF+NYASJC/oGu8TreeCHV1ZPpgvHdyeplhySloY342l0V nBML+F5yWe1t4YHdSmCSD2H7IPy1NwLpGD2sR5Jr5dx4Ey+JFCZlKTS02F7QceaGBHQP drbmXdwCzlH6wQT6N6Em/94aBQfp1C+2SItqfd9QvNpPcefLbyEgE757UZSuv+IgDbFM SYxsOct1TOdLsWUqJpNcPPRQ8sazqnCibjWJetF07czTJcRceZuz5pkQTdXPgB/bwZze UXyQ== X-Gm-Message-State: AIkVDXIsC8KKef8UbifqYMCwJ8VPC28fcDyOxTBgun0jqyLVaG/SWkiCvUIU6gJHalyA9g== X-Received: by 10.194.157.41 with SMTP id wj9mr41662781wjb.160.1483177280401; Sat, 31 Dec 2016 01:41:20 -0800 (PST) Received: from localhost ([37.153.108.22]) by smtp.gmail.com with ESMTPSA id l6sm74162212wmd.5.2016.12.31.01.41.19 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 31 Dec 2016 01:41:19 -0800 (PST) From: Malcolm Matalka To: caml-list@inria.fr Date: Sat, 31 Dec 2016 09:41:18 +0000 Message-ID: <86ful4e8qp.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Subject: [Caml-list] How to test a repository using OPAM? 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