r29317 - in /trunk/libtest-needsdisplay-perl: Changes MANIFEST META.yml Makefile.PL README debian/changelog lib/Test/NeedsDisplay.pm t/02_skip_all.t t/10_run.t t/11_run.t t/12_run.t t/lib/
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Mon Jan 5 14:20:36 UTC 2009
Author: gregoa
Date: Mon Jan 5 14:20:33 2009
New Revision: 29317
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=29317
Log:
New upstream release.
Added:
trunk/libtest-needsdisplay-perl/t/02_skip_all.t
- copied unchanged from r29316, branches/upstream/libtest-needsdisplay-perl/current/t/02_skip_all.t
trunk/libtest-needsdisplay-perl/t/10_run.t
- copied unchanged from r29316, branches/upstream/libtest-needsdisplay-perl/current/t/10_run.t
trunk/libtest-needsdisplay-perl/t/11_run.t
- copied unchanged from r29316, branches/upstream/libtest-needsdisplay-perl/current/t/11_run.t
trunk/libtest-needsdisplay-perl/t/12_run.t
- copied unchanged from r29316, branches/upstream/libtest-needsdisplay-perl/current/t/12_run.t
trunk/libtest-needsdisplay-perl/t/lib/
- copied from r29316, branches/upstream/libtest-needsdisplay-perl/current/t/lib/
Modified:
trunk/libtest-needsdisplay-perl/Changes
trunk/libtest-needsdisplay-perl/MANIFEST
trunk/libtest-needsdisplay-perl/META.yml
trunk/libtest-needsdisplay-perl/Makefile.PL
trunk/libtest-needsdisplay-perl/README
trunk/libtest-needsdisplay-perl/debian/changelog
trunk/libtest-needsdisplay-perl/lib/Test/NeedsDisplay.pm
Modified: trunk/libtest-needsdisplay-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-needsdisplay-perl/Changes?rev=29317&op=diff
==============================================================================
--- trunk/libtest-needsdisplay-perl/Changes (original)
+++ trunk/libtest-needsdisplay-perl/Changes Mon Jan 5 14:20:33 2009
@@ -1,4 +1,12 @@
Changes for Perl extension Test-NeedsDisplay
+
+1.07 Sun 4 Jan 2009
+ - Fixing a typo bug
+ - More tests thanks to Gabor
+
+1.06 Sun 4 Jan 2009
+ - Don't require xvfb-run if running under wxPerl
+ - Add support for :skip_all
1.05 Wed 29 Oct 2008
- Adding support for passing through -d and -Mblib
Modified: trunk/libtest-needsdisplay-perl/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-needsdisplay-perl/MANIFEST?rev=29317&op=diff
==============================================================================
--- trunk/libtest-needsdisplay-perl/MANIFEST (original)
+++ trunk/libtest-needsdisplay-perl/MANIFEST Mon Jan 5 14:20:33 2009
@@ -15,6 +15,11 @@
META.yml
README
t/01_compile.t
+t/02_skip_all.t
+t/10_run.t
+t/11_run.t
+t/12_run.t
t/97_meta.t
t/98_pod.t
t/99_pmv.t
+t/lib/Display.pm
Modified: trunk/libtest-needsdisplay-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-needsdisplay-perl/META.yml?rev=29317&op=diff
==============================================================================
--- trunk/libtest-needsdisplay-perl/META.yml (original)
+++ trunk/libtest-needsdisplay-perl/META.yml Mon Jan 5 14:20:33 2009
@@ -2,8 +2,6 @@
abstract: 'Ensure that tests needing a display have one'
author:
- 'Adam Kennedy <adamk at cpan.org>'
-build_requires:
- Test::More: 0.47
distribution_type: module
generated_by: 'Module::Install version 0.77'
license: perl
@@ -18,7 +16,8 @@
- t
requires:
File::Spec: 0.80
+ Test::More: 0.47
perl: 5.6.0
resources:
license: http://dev.perl.org/licenses/
-version: 1.05
+version: 1.07
Modified: trunk/libtest-needsdisplay-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-needsdisplay-perl/Makefile.PL?rev=29317&op=diff
==============================================================================
--- trunk/libtest-needsdisplay-perl/Makefile.PL (original)
+++ trunk/libtest-needsdisplay-perl/Makefile.PL Mon Jan 5 14:20:33 2009
@@ -1,11 +1,15 @@
use inc::Module::Install 0.77;
-all_from 'lib/Test/NeedsDisplay.pm';
-requires 'File::Spec' => '0.80';
-test_requires 'Test::More' => '0.47';
+all_from 'lib/Test/NeedsDisplay.pm';
+requires 'File::Spec' => '0.80';
+requires 'Test::More' => '0.47';
-unless ( $^O eq 'MSWin32' or $ENV{DISPLAY} ) {
- requires_external_bin 'xvfb-run';
+unless ( $^O eq 'MSWin32' or $ENV{DISPLAY} or $^X =~ /wxPerl/ ) {
+ if ( $^O eq 'darwin') {
+ print STDERR 'Consider running as "wxPerl Makefile.PL" or "wxPerl -MCPAN -e shell"';
+ } else {
+ requires_external_bin 'xvfb-run';
+ }
}
WriteAll;
Modified: trunk/libtest-needsdisplay-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-needsdisplay-perl/README?rev=29317&op=diff
==============================================================================
--- trunk/libtest-needsdisplay-perl/README (original)
+++ trunk/libtest-needsdisplay-perl/README Mon Jan 5 14:20:33 2009
@@ -84,7 +84,7 @@
Adam Kennedy <adamk at cpan.org>
COPYRIGHT
- Copyright 2005 - 2008 Adam Kennedy.
+ Copyright 2005 - 2009 Adam Kennedy.
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
Modified: trunk/libtest-needsdisplay-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-needsdisplay-perl/debian/changelog?rev=29317&op=diff
==============================================================================
--- trunk/libtest-needsdisplay-perl/debian/changelog (original)
+++ trunk/libtest-needsdisplay-perl/debian/changelog Mon Jan 5 14:20:33 2009
@@ -1,3 +1,9 @@
+libtest-needsdisplay-perl (1.07-1) UNRELEASED; urgency=low
+
+ * New upstream release.
+
+ -- gregor herrmann <gregoa at debian.org> Mon, 05 Jan 2009 15:19:38 +0100
+
libtest-needsdisplay-perl (1.05-1) unstable; urgency=low
* Initial Release. (Closes: #507548)
Modified: trunk/libtest-needsdisplay-perl/lib/Test/NeedsDisplay.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-needsdisplay-perl/lib/Test/NeedsDisplay.pm?rev=29317&op=diff
==============================================================================
--- trunk/libtest-needsdisplay-perl/lib/Test/NeedsDisplay.pm (original)
+++ trunk/libtest-needsdisplay-perl/lib/Test/NeedsDisplay.pm Mon Jan 5 14:20:33 2009
@@ -85,10 +85,11 @@
use strict;
use Config ();
use File::Spec ();
+use Test::More ();
use vars qw{$VERSION};
BEGIN {
- $VERSION = '1.05';
+ $VERSION = '1.07';
}
sub import {
@@ -111,6 +112,12 @@
($INC{'perl5db.pl'} ? '-d' : ()),
$0,
);
+ }
+
+ # If provided with the :skip_all, abort the run
+ if ( $_[1] and $_[1] eq ':skip_all' ) {
+ Test::More::plan( skip_all => 'Test needs a DISPLAY' );
+ exit(0);
}
print "# Failed to find xvfb-run.\n";
@@ -139,7 +146,7 @@
=head1 COPYRIGHT
-Copyright 2005 - 2008 Adam Kennedy.
+Copyright 2005 - 2009 Adam Kennedy.
This program is free software; you can redistribute
it and/or modify it under the same terms as Perl itself.
More information about the Pkg-perl-cvs-commits
mailing list