]> git.ipfire.org Git - thirdparty/squid.git/commit - src/tests/STUB.h
Compile fixes for binutils-gold and gcc-4.6 support
authorAmos Jeffries <squid3@treenet.co.nz>
Wed, 4 May 2011 03:05:09 +0000 (15:05 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Wed, 4 May 2011 03:05:09 +0000 (15:05 +1200)
commit7c8931a1f908c09a8ab797e7354e8d57718d766d
tree8bc695e305a0b939b1b2810ec0642dce836730be
parent10228f687cd4d8594a8ed3e74a33cb8d63386690
Compile fixes for binutils-gold and gcc-4.6 support

These two tools are much stricter about dependency linkages. We have already
had to drop testAuth due to major dependency loops they dislike.
This makes the remainder of the dependency changes needed.

Also adds:
 - tests/STUB.h with macros for simpler stub file creation
 - stub_libmgr.cc for unit-test stub replacment of mgr/libmgr.la library.
   many API functions commented out, but sufficient for the current needs.
src/Makefile.am
src/icp_v2.cc
src/mgr/Makefile.am
src/mgr/stub_libmgr.cc [new file with mode: 0644]
src/tests/STUB.h [new file with mode: 0644]
src/tests/stub_MemObject.cc
src/tests/stub_store.cc
src/tests/stub_store_swapout.cc
src/tests/testHttpReply.cc