When building ikiwiki-hosting in a container/autobuilder environment where it is not already installed, the makesite.t
test fails because /etc/ikiwiki-hosting/ikiwiki-hosting.conf
doesn't exist yet.
This seems to have been triggered by adding a call to IkiWiki::Hosting::readconfig
in the makesite
plugin.
Proposed fix
(git fetch https://git.pseudorandom.co.uk/git/smcv/ikiwiki-hosting.git build-time-makesite-test
)
--smcv
This fix is ok, but I don't see any reason to check
INSTALLED_TESTS
, that is not a concept that this test suite knows about, and AFAICS the source tree will always be present when running tests.I've applied a version of the fix without that check. Am making a release to fix this since I suppose you hit it while updating to the previous release.