]> git.ipfire.org Git - thirdparty/squid.git/commit
Tests: extend pre-compiler unit tests to check macro permutations
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 12 Mar 2015 01:30:21 +0000 (18:30 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 12 Mar 2015 01:30:21 +0000 (18:30 -0700)
commit937f9fb86dc6dd4bf0d4a7765312b049fd2d7da5
tree4cc8becf480f12b2cc5307a9214d118af8f04bf8
parent56d089f3982d11906264f60fc64810c3cd8909fb
Tests: extend pre-compiler unit tests to check macro permutations

We are getting come complaints about precompiler issues building with
#if FOO && FOO || FOO boolean constructs using undefined macros.

The particualr form reported so far dies when building the test, so will
be found earlier than these checks are run. This is to ensure its not a
widespread subtle error in other "working" installations.
compat/testPreCompiler.cc