3 Commits
Author SHA1 Message Date
Tomas Popela 81735cf96f meson: Check for all Apache modules required for running tests
The names of the missing ones could be found in the meson log. Also
print a warning if anything that is needed for running all the tests is
missing.
2018-08-31 10:44:22 +02:00
Tomas Popela c6476049e2 meson: Use apachectl for obtaining the Apache configuration
For running some of the tests we need the Apache's httpd binary. As we want to
know more about its configuration we have to run it and parse the output. But
here is the first problem, because on Debian we can't run the binary unless the
/etc/apache2/envvars file is sourced, otherwise it ends with failure. The
recommended way to communicate with the Apache is the apachectl that passes
the arguments to httpd and also sources the envvars file. In the ideal world
we could use the apachectl to run the tests as well, but on Fedora any non
trivial call to it ends with the following error:
    Passing arguments to httpd using apachectl is no longer supported.

The summary is that for the configuration parsing we will use the apachectl,
but for running the tests we will use the httpd binary.

Closes: #7
2018-08-31 10:44:22 +02:00
Tomas Popela 0d86b87b4c meson: Rename variables and the Apache script for clarification
We are checking for multiple modules in multiple directories.
2018-08-31 10:25:06 +02:00