From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sa-prd-fep-043.btinternet.com (mailomta22-sa.btinternet.com [213.120.69.28]) by sourceware.org (Postfix) with ESMTPS id 326C33858D37 for ; Sun, 16 Aug 2020 18:05:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 326C33858D37 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dronecode.org.uk Authentication-Results: sourceware.org; spf=none smtp.mailfrom=jon.turney@dronecode.org.uk Received: from sa-prd-rgout-004.btmx-prd.synchronoss.net ([10.2.38.7]) by sa-prd-fep-043.btinternet.com with ESMTP id <20200816180545.VBLT26847.sa-prd-fep-043.btinternet.com@sa-prd-rgout-004.btmx-prd.synchronoss.net> for ; Sun, 16 Aug 2020 19:05:45 +0100 Authentication-Results: btinternet.com; auth=pass (PLAIN) smtp.auth=jonturney@btinternet.com X-Originating-IP: [86.141.130.84] X-OWM-Source-IP: 86.141.130.84 (GB) X-OWM-Env-Sender: jonturney@btinternet.com X-VadeSecure-score: verdict=clean score=0/300, class=clean X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgeduiedruddtuddguddvfecutefuodetggdotefrodftvfcurfhrohhfihhlvgemuceutffkvffkuffjvffgnffgvefqofdpqfgfvfenuceurghilhhouhhtmecufedtudenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpeflohhnucfvuhhrnhgvhicuoehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkqeenucggtffrrghtthgvrhhnpeelieegheeghfevfeevhfdviedugfdvuefhjeehteejffefhfeuudetheeugfffhfenucfkphepkeeirddugedurddufedtrdekgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhephhgvlhhopegludelvddrudeikedruddrudduudgnpdhinhgvthepkeeirddugedurddufedtrdekgedpmhgrihhlfhhrohhmpeeojhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukhequceuqfffjgepkeeukffvoffkoffgpdhrtghpthhtohepoegthihgfihinhdqrghpphhssegthihgfihinhdrtghomheq X-RazorGate-Vade-Verdict: clean 0 X-RazorGate-Vade-Classification: clean Received: from [192.168.1.111] (86.141.130.84) by sa-prd-rgout-004.btmx-prd.synchronoss.net (5.8.340) (authenticated as jonturney@btinternet.com) id 5ED9B6610BF2A225 for cygwin-apps@cygwin.com; Sun, 16 Aug 2020 19:05:45 +0100 Subject: Re: git repositories for cygwin packaging - please test To: "cygwin-apps@cygwin.com" References: <20e2f046-af24-14b8-b6c4-263f859042b8@dronecode.org.uk> <181ea3fa-1a50-7db4-0009-47ea9af77cdc@dronecode.org.uk> <0def9976-1575-7b03-995b-e4276bc23292@dronecode.org.uk> <87bljm9rae.fsf@Rainer.invalid> From: Jon Turney Message-ID: Date: Sun, 16 Aug 2020 19:05:44 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00, FORGED_SPF_HELO, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin-apps@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin package maintainer discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Aug 2020 18:05:48 -0000 On 07/08/2020 23:05, Ken Brown via Cygwin-apps wrote: > On 8/7/2020 3:42 PM, Achim Gratz wrote: >> Jon Turney writes: >>> One problem I have noticed is that some packages have test suites >>> (which are getting run via 'cygport test' invoking src_test()) which: >>> >>> - require lots of extra dependencies to run, or >> >> I currently subsume these in BUILD_REQUIRES as they are indeed required >> for a (complete) build.  It'd be possible to split them out into a >> separate variable indeed, but that is yet another level of >> specificatrion that needs to be figured out if it should become useful. Yeah, the only saving is that we don't need to spend the time to install those packages if we aren't going to run the tests. >>> - don't succeed on Cygwin, or >> >> Any such tests I usually patch out or mark expected fail whichever seems >> easier. >> >>> - take an inordinate amount of time to run (exceeding the resource >>> limits) >> >> That is a problem that comes with CI I think and we didn't really have >> had to consider so far.  I have a few packages that I don't run tests on >> by default because the test suite produces hangs or other unstable >> behaviour, but that is dealt with in the src_test function itself. >> If there are really resource hungry tests they usually need to be >> enabled somewhere and one could skip those if the build runs on CIm (how >> to find that out?). > > Here's an example where Jon's suggestion would have been useful: While > building php recently, I noticed that the test suite took forever.  I > would have been happy to have a way to tell the CI to skip the tests and > avoid exceeding the resource limits.  But I wouldn't want to do that by > modifying src_test, because I would still want to run the tests locally. It should now be possible to add to the .cygport a line like: SCALLYWAG="notest" which instructs it not to run the src_test() phase.