]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug #2240 fix: AsyncCall-related unit tests fail
authorrousskov <>
Tue, 26 Feb 2008 07:19:29 +0000 (07:19 +0000)
committerrousskov <>
Tue, 26 Feb 2008 07:19:29 +0000 (07:19 +0000)
commite24ee19dba5d424b31a807bf6c84755782589277
tree5c4739bdd3996a575d04e67d0d6cdba65ea104b1
parentaf256e2e4be6999a67180ba30acaacde1a36c51a
Bug #2240 fix: AsyncCall-related unit tests fail

Removed libsquid.la from SWAP_TEST_LDADD: Store-related test cases use comm
stubs. They must not include libsquid which provides the true comm code.

Added AsyncCall* sources to selected test cases: Every test case that needs
event.cc also needs AsyncCallQueue and AsyncCall.  Placed all three in
$TEST_CALL_SOURCES variable and used as needed. This prevents test case
compilation failures due to undefined call-related symbols.

I suspect that there are more files in the same "calls" group, but it would be
a lot easier to identify them once we clean src/ up and group files into
subdirs and libraries.
src/Makefile.am
src/Makefile.in