Changeset 2181


Ignore:
Timestamp:
12/23/08 10:28:21 (3 years ago)
Author:
tsee
Message:

skip if no DISPLAY

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Padre/t/01-load.t

    r2061 r2181  
    11#!/usr/bin/perl 
     2use strict; 
     3use Test::More; 
     4BEGIN { 
     5    if (not $ENV{DISPLAY} and not $^O eq 'MSWin32') { 
     6        plan skip_all => 'Needs DISPLAY'; 
     7        exit 0; 
     8    } 
     9} 
    210 
    3 use strict; 
    411BEGIN { 
    512    $|  = 1; 
     
    1118 
    1219use Test::NeedsDisplay; 
    13 use Test::More tests => 24; 
     20plan tests => 24; 
    1421use Test::Script; 
    1522use Test::NoWarnings; 
Note: See TracChangeset for help on using the changeset viewer.