From owner-freebsd-perl@FreeBSD.ORG Wed Dec 5 06:31:41 2012 Return-Path: Delivered-To: perl@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E1174B01; Wed, 5 Dec 2012 06:31:41 +0000 (UTC) (envelope-from vovkasm@gmail.com) Received: from mail-ia0-f172.google.com (mail-ia0-f172.google.com [209.85.210.172]) by mx1.freebsd.org (Postfix) with ESMTP id 8A2868FC16; Wed, 5 Dec 2012 06:31:41 +0000 (UTC) Received: by mail-ia0-f172.google.com with SMTP id z13so3817180iaz.3 for ; Tue, 04 Dec 2012 22:31:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=U6HD/sZZGZGISfG1cE8M/pOgNKMZ7yz0AuT/9BUMWg8=; b=vEYMucJfiVGejMKomCz02Tv7T8uLwKNuLI3Umpg/G4y+mALXwQM60ODKQGy7QLInSX 7m7ahUbH0nUw6p+H8yWk8myiiHfa5W0asW/j31+1U+2xsxggnahlthg5AZzCO12Jb4as kZT2ORxew2YrD40DXFEoFTaXzgC+hCM7+MGjEz9CZhqrjXob7oxLVmVW7tRZ08pi6ZCw pTiVf+QZlpz5XtXUR54mJ8HMGWVs4al+SbcSk+qxxNOEY09+Ts+BL00u+utOeEnupzD3 RpMtk/HVnPdTwvpU7oq0kFHedxcM7I/9LcQbR/kDl/jnoXRvmOAl8iBjPCsHgd6INzKw Y+JQ== MIME-Version: 1.0 Received: by 10.50.40.137 with SMTP id x9mr963336igk.1.1354689095111; Tue, 04 Dec 2012 22:31:35 -0800 (PST) Received: by 10.64.130.134 with HTTP; Tue, 4 Dec 2012 22:31:34 -0800 (PST) In-Reply-To: <38866d12f1539d327825fc1f8451d515.squirrel@mouf.net> References: <38866d12f1539d327825fc1f8451d515.squirrel@mouf.net> Date: Wed, 5 Dec 2012 10:31:34 +0400 Message-ID: Subject: Re: p5- port testing From: Vladimir Timofeev To: Steve Wills Content-Type: multipart/mixed; boundary=14dae93404b94b955704d015223b Cc: perl@freebsd.org X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2012 06:31:42 -0000 --14dae93404b94b955704d015223b Content-Type: text/plain; charset=UTF-8 Year of silence... Perl is a language with very mature test culture. Why we can't utilize it? Why we can't add regression-test target? Can I help with this? Mk/bsd.cran.mk has unified "regression-test" target, Others have it in individual ports, counts: all: 292 ports p5: 52 ports Why individual maintainers should invent his own "regression-test" target? So I propose to add "regression-test" target to Mk/bsd.perl.mk This would allow: 1. To maintainers easy test their ports 2. Build packages with more quality 3. Later we can automatically send the test failures to CPANTS, so the real developers of CPAN-modules can have direct feedback on errors in their modules with freebsd I already use modified Mk/bsd.perl.mk for some time on my system (attached patch). On Thu, Nov 17, 2011 at 10:01 PM, Steve Wills wrote: > Hi, > > Recently versions of ports-mgmt/tinderbox have support for TEST_DEPENDS. > That, plus the attached patch, plus adding "export USE_PERL_TEST=yes" to > .../tinderbox/scripts/etc/env/GLOBAL gives us the ability to automatically > run test on p5- ports in tinderbox. Would anyone be interested in > committing the patch to bsd.perl.mk? > > Also attached is a list of p5- ports that fail their "make test" with this > enabled. I have been slowly working through this list, if anyone else is > interested in helping out, that would be great. Usually it's just missing > BUILD_DEPENDS or TEST_DEPENDS, but often there are more significant > problems. The list is incomplete, this is just what I've happened to find. > > Steve > > _______________________________________________ > freebsd-perl@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-perl > To unsubscribe, send any mail to "freebsd-perl-unsubscribe@freebsd.org" > -- Vladimir Timofeev --14dae93404b94b955704d015223b Content-Type: application/octet-stream; name="bsd.port.mk-add-regression-test.patch" Content-Disposition: attachment; filename="bsd.port.mk-add-regression-test.patch" Content-Transf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