Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mail-client/clawsker-1.3.5: remove failed test #25741

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions mail-client/clawsker/clawsker-1.3.5.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ RDEPEND="
"
BDEPEND="test? ( dev-perl/Test-Exception )"

PATCHES=(
# TODO: add Test::NeedsDisplay Perl package and remove this patch (bug #841707)
"${FILESDIR}/${PN}-remove-get_screen_height-test.patch"
)

src_install() {
emake install DESTDIR="${D}" PREFIX=/usr
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
deleted file mode 100644
--- a/t/get_screen_height.t
+++ /dev/null
@@ -1,19 +0,0 @@
-use 5.010_000;
-use strict;
-use utf8;
-use Test::NeedsDisplay;
-use Test::More tests => 3;
-use Gtk3;
-
-require_ok ('Clawsker');
-
-use Clawsker;
-
-Gtk3->init;
-
-ok ( defined &Clawsker::get_screen_height, 'has function' );
-
-my $height = Clawsker::get_screen_height();
-
-ok ( $height > 0, "has $height pixels" );
-