projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git.freeside.biz:/home/git/freeside
[freeside.git]
/
rt
/
t
/
mail
/
dashboard-chart-with-utf8.t
diff --git
a/rt/t/mail/dashboard-chart-with-utf8.t
b/rt/t/mail/dashboard-chart-with-utf8.t
index
6d07b96
..
79f5f0e
100644
(file)
--- a/
rt/t/mail/dashboard-chart-with-utf8.t
+++ b/
rt/t/mail/dashboard-chart-with-utf8.t
@@
-1,7
+1,17
@@
use strict;
use warnings;
use strict;
use warnings;
-use RT::Test tests => 15;
+BEGIN {
+ require RT::Test;
+
+ if (eval { require GD }) {
+ RT::Test->import(tests => 15);
+ }
+ else {
+ RT::Test->import(skip_all => 'GD required.');
+ }
+}
+
use utf8;
my $root = RT::Test->load_or_create_user( Name => 'root' );
use utf8;
my $root = RT::Test->load_or_create_user( Name => 'root' );