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
|
||||
rules = config.rules .. '/'
|
||||
end
|
||||
read_xml(confdir .. rules .. 'config.xml', confdir .. rules .. 'catalog.xml')
|
||||
eressea.config.read(rules .. 'config.json', confdir)
|
||||
assert(0 == read_xml(confdir .. rules .. 'config.xml', confdir .. rules .. 'catalog.xml'), "could not load XML data, did you compile with LIBXML2 ?")
|
||||
assert(0 == eressea.config.read(rules .. 'config.json', confdir), "could not read JSON data")
|
||||
|
|
Loading…
Reference in New Issue