Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37813783
en ru br
Репозитории ALT
S:1.46-alt1
5.1: 1.19-alt1
4.1: 1.17a-alt1
4.0: 1.16-alt1
3.0: 1.15-alt1.1
www.altlinux.org/Changes

Группа :: Разработка/Perl
Пакет: perl-Term-ReadLine-Gnu

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: perl-Term-ReadLine-Gnu-at-disable-Tk-test.patch
Скачать


commit 21cb3279b7b9982a2de0c5ac65015c1ed839382b
Author: Alexey Tourbin <at@altlinux.ru>
Date:   Fri Oct 13 04:14:18 2006 +0400
    disable Tk test by default
    
    perl-Term-ReadLine-Gnu-1.14-alt-disable-tk-test.patch
    This test produces extra build dependencies (and also requires X display)
    so I disable it by default.
--- a/t/callback.t
+++ b/t/callback.t
@@ -44,7 +44,7 @@
 ########################################################################
 # check Tk is installed and X Window is available
 {
-    if (eval "use Tk; 1" && $ENV{DISPLAY} && $ENV{DISPLAY} ne '') {
+    if (eval "use Tk; 1" && $ENV{DISPLAY} && $ENV{DISPLAY} ne '' && $ENV{PERL_RL_TEST_TK}) {
 	ok(1, 'use Tk');
     } else {
 	diag 'skipped since Tk is not available.';
--- a/t/Tk.t	2016-07-29 12:26:58.000000000 +0000
+++ b/t/Tk.t	2016-07-29 12:35:43.342087981 +0000
@@ -2,7 +2,7 @@
 
 use Test::More;
 
-eval "use Tk; 1" or
+eval "use Tk; 1" and $ENV{PERL_RL_TEST_TK} or
     plan skip_all => "Tk is not installed.";
 
 # seeing as the entire point of this test is to test the event handler,
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin