forked from github/server
for reasons, sometimes libxml2 is not compile, and all tests will fail. detect that.
This commit is contained in:
parent
3ee07a795d
commit
168fa02e68
|
@ -6,5 +6,5 @@ rules=''
|
||||||
if config.rules then
|
if config.rules then
|
||||||
rules = config.rules .. '/'
|
rules = config.rules .. '/'
|
||||||
end
|
end
|
||||||
read_xml(confdir .. rules .. 'config.xml', confdir .. rules .. 'catalog.xml')
|
assert(0 == read_xml(confdir .. rules .. 'config.xml', confdir .. rules .. 'catalog.xml'), "could not load XML data, did you compile with LIBXML2 ?")
|
||||||
eressea.config.read(rules .. 'config.json', confdir)
|
assert(0 == eressea.config.read(rules .. 'config.json', confdir), "could not read JSON data")
|
||||||
|
|
Loading…
Reference in New Issue