]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - t/color.t
Update URL of a website (using ikiwiki)
[git.ikiwiki.info.git] / t / color.t
index dca0d865c69692582e5c976a8c773d991fa28537..bd353b58ed6e8c1efe8a055c3db566ac09c2144f 100755 (executable)
--- 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";