]> git.ipfire.org Git - thirdparty/squid.git/commit
squid-conf-tests should test installed Squid (#1204)
authorAlex Rousskov <rousskov@measurement-factory.com>
Fri, 9 Dec 2022 11:51:39 +0000 (11:51 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Fri, 9 Dec 2022 18:44:13 +0000 (18:44 +0000)
commitcd3dc147bf8abc0225237ced865c6660fffcb63a
treedd124389cb30312e267b85203d4dd02129a241df
parent05ba40fc1059ffe75c9a15a4e0c2923eca6801b2
squid-conf-tests should test installed Squid (#1204)

    FATAL: ..._inst/etc/mime.conf: (2) No such file or directory
    FATAL: ..._inst/share/icons: (2) No such file or directory

Our squid-conf-tests are running "squid -k parse" that requires icons
and other supplementary files to be _installed_. Thus, squid-conf-tests
must run during "make installcheck" rather than during "make check".

With this change, "make distcheck" triggers squid-conf-tests at the
right time, after "all", "check", and "install" targets are built.
Also, we are now testing installed Squid binaries, as we should.
test-suite/Makefile.am
test-suite/test-squid-conf.sh