X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/01f2a843602ad19716db9e17f93c943e0c71cff9..6317ee847be90291b93a43507c182a7834bf0f8d:/t/color.t diff --git a/t/color.t b/t/color.t index dca0d865c..bd353b58e 100755 --- a/t/color.t +++ b/t/color.t @@ -10,6 +10,14 @@ BEGIN { use_ok("IkiWiki::Render"); } %config=IkiWiki::defaultconfig(); $config{srcdir}=$config{destdir}="/dev/null"; +my $installed = $ENV{INSTALLED_TESTS}; + +unless ($installed) { + $config{templatedir} = "templates"; + $config{underlaydir} = "underlays/basewiki"; + $config{underlaydirbase} = "underlays"; +} + sub render { my $content = shift; $IkiWiki::pagesources{foo} = "foo.mdwn";