Skip to content

Commit

Permalink
final tweaks and 0.1005 released
Browse files Browse the repository at this point in the history
  • Loading branch information
rcaputo committed May 23, 2000
1 parent 540beec commit 33828a3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/06_tk.t
Expand Up @@ -16,6 +16,12 @@ sub POE::Kernel::ASSERT_DEFAULT () { 1 }


# Skip if Tk isn't here. # Skip if Tk isn't here.
BEGIN { BEGIN {
unless ( exists $ENV{'DISPLAY'} and
defined $ENV{'DISPLAY'} and
length $ENV{'DISPLAY'}
) {
eval 'use TestSetup qw(0 no DISPLAY is set)';
}
eval 'use Tk'; eval 'use Tk';
unless (exists $INC{'Tk.pm'}) { unless (exists $INC{'Tk.pm'}) {
eval 'use TestSetup qw(0 the Tk module is not installed)'; eval 'use TestSetup qw(0 the Tk module is not installed)';
Expand Down

0 comments on commit 33828a3

Please sign in to comment.