X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/77df914b3af94cae62201bdc945fdddd639b1929..fafca9860b3d88fe2b6d0bc413e8843d77123255:/t/toc.t 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();