On Mon, Mar 16, 2009 at 11:16 AM, Amos Jeffries <[email protected]> wrote:
> Kinkie wrote:
>>> squid --parse of a config with one-of-everything should do it.
>>
>> This sounds to me like a GREAT addition to the test-suite...
>> Amos? What do you think?
>>
>
> Hmm, I've been thinking parse tests were needed. But as unit-tests.
> Unit-tests would still be *best* IMO since they can cover all the
> permutation tests and failure cases very quickly.
>
> But as a temporary measure we could hack up some squid.conf to run --parse
> over as final step to each build test (once the binary is present).
> I'd do it as a set of per-component stub configs, and have one for each
> *.opts which just included the relevant for built components on that run.
> (possible problem with absolute paths being needed for include)
Sounds good.
--
/kinkie