X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/77df914b3af94cae62201bdc945fdddd639b1929..796f5749859a1fa48ad068b5f2ab9889e0ae88e8:/t/toc.t?ds=inline diff --git a/t/toc.t b/t/toc.t index ff8e9f991..dc7377647 100755 --- a/t/toc.t +++ b/t/toc.t @@ -10,6 +10,15 @@ BEGIN { use_ok("IkiWiki::Render"); } %config=IkiWiki::defaultconfig(); $config{srcdir}=$config{destdir}="/dev/null"; $config{add_plugins}=[qw(toc)]; + +my $installed = $ENV{INSTALLED_TESTS}; + +unless ($installed) { + $config{templatedir} = "templates"; + $config{underlaydir} = "underlays/basewiki"; + $config{underlaydirbase} = "underlays"; +} + IkiWiki::loadplugins(); IkiWiki::checkconfig();