]> git.ipfire.org Git - thirdparty/ccache.git/commit
Skip “Directory is not hashed if using -gz[=zlib]” tests for GCC 6
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 5 Jul 2020 18:34:54 +0000 (20:34 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 5 Jul 2020 19:05:42 +0000 (21:05 +0200)
commit8b58982dc099a5ea2bbd8abc7803a9f5a3b1148d
tree403ce861c3fd80b640a75f510280dde7d2af9507
parent88f03a210f3da8c5c219158293c3fcec979470ed
Skip “Directory is not hashed if using -gz[=zlib]” tests for GCC 6

The GCC 6 (tested with GCC 6.3) preprocessor includes the current
working directory in the preprocessed output if run with -gz, which
means that there won’t be cache hits between directories, thus failing
the “Directory is not hashed if using -gz[=zlib]” tests. Fix this by
skipping the test if the preprocessor behaves that way.

Fixes #602.
test/suites/base.bash