Changeset 2167


Ignore:
Timestamp:
12/23/08 03:06:23 (3 years ago)
Author:
szabgab
Message:

workaround for the #170 bug

Location:
trunk/Padre
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Padre/Makefile.PL

    r2166 r2167  
    8181requires       'Thread::Queue'           => '2.11'; 
    8282requires       'YAML::Tiny'              => '1.32'; 
    83 requires       'Wx'                      => '0.89'; 
    84 requires       'Wx::Perl::Dialog'        => '0.04'; 
    85 requires       'Wx::Perl::ProcessStream' => '0.11'; 
     83 
     84# See #170 
     85if (win32 or $ENV{DISPLAY}) { 
     86    requires       'Wx'                      => '0.89'; 
     87    requires       'Wx::Perl::Dialog'        => '0.04'; 
     88    requires       'Wx::Perl::ProcessStream' => '0.11'; 
     89} 
     90 
    8691requires       'Parse::ErrorString::Perl'=> '0.06'; 
    8792test_requires  'Test::Compile'           => '0.08' unless win32; 
  • trunk/Padre/t/00-compile.t

    r1696 r2167  
    44 
    55use Test::More; 
     6plan skip_all => 'Needs DISPLAY' if 
    67plan skip_all => 'Needs Test::Compile 0.08 but that does not work on Windows' if $^O eq 'MSWin32'; # the same as File::Spec uses 
    78plan skip_all => 'Needs Test::Compile 0.08' if not eval "use Test::Compile 0.08; 1"; ## no critic 
Note: See TracChangeset for help on using the changeset viewer.