• Tomas Popela's avatar
    meson: Use apachectl for obtaining the Apache configuration · c6476049
    Tomas Popela authored
    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
    c6476049
Name
Last commit
Last update
docs Loading commit data...
examples Loading commit data...
libsoup Loading commit data...
m4 Loading commit data...
po Loading commit data...
tests Loading commit data...
win32 Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog.pre-git Loading commit data...
HACKING Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
Makefile.glib Loading commit data...
NEWS Loading commit data...
README Loading commit data...
autogen.sh Loading commit data...
config.h.win32.in Loading commit data...
configure.ac Loading commit data...
get_apache_modules_dirs.py Loading commit data...
glib-tap.mk Loading commit data...
libsoup-2.4.pc.in Loading commit data...
libsoup-gnome-2.4.pc.in Loading commit data...
libsoup-zip.in Loading commit data...
libsoup.doap Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
tap-driver.sh Loading commit data...
tap-test Loading commit data...