mirror of
https://github.com/duncs/clusterssh.git
synced 2025-07-03 18:03:23 +00:00
warn user when short-circuiting initialisation
See Debian bug report and discussion here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=989679
The bug submitter suggests using a mechanism like the following to
prevent test failures when Tk isn't present:
5cf873739e/t/config-model-ui.t (L96)
This commit is contained in:
parent
6cbec687bd
commit
0b5b5c8608
1 changed files with 4 additions and 1 deletions
|
@ -29,7 +29,10 @@ sub import {
|
|||
|
||||
# If we are building or in test here, just exit
|
||||
# as travis build servers will not have Tk installed
|
||||
return if $ENV{AUTHOR_TESTING} || $ENV{RELEASE_TESTING};
|
||||
if ($ENV{AUTHOR_TESTING} || $ENV{RELEASE_TESTING}) {
|
||||
print STDERR "skipping initialisation; AUTHOR_TESTING or RELEASE_TESTING are set\n";
|
||||
return;
|
||||
}
|
||||
|
||||
# Find what windows module we should be using and just overlay it into
|
||||
# this object
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue