From: Amos Jeffries Date: Mon, 2 May 2011 13:04:21 +0000 (+1200) Subject: Drop testAuth unit-tests X-Git-Tag: take07~16^2~45 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3afd4f2d741f12be682d5bf52018c4aed7e5629b;p=thirdparty%2Fsquid.git Drop testAuth unit-tests Preparing to move the tests into src/auth. These old tests construction style also require quite a lot of dependencies which include several loops causing problems in modern strict linkers. Opted to remove now and stabilize trunk without it before re-adding simpler auth unit tests. --- diff --git a/src/Makefile.am b/src/Makefile.am index 27d715dfee..ca297af135 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -37,7 +37,7 @@ if ENABLE_AUTH SUBDIRS += auth AUTH_LIBS= auth/libauth.la AUTH_ACL_LIBS= auth/libacls.la -check_PROGRAMS+= tests/testAuth tests/testACLMaxUserIP +check_PROGRAMS+= tests/testACLMaxUserIP endif DIST_SUBDIRS += auth @@ -1055,81 +1055,6 @@ tests_testHttpReply_LDADD=\ $(XTRA_LIBS) tests_testHttpReply_DEPENDENCIES= $(SQUID_CPPUNIT_LA) -tests_testAuth_SOURCES = \ - cbdata.cc \ - ClientInfo.h \ - ConfigParser.cc \ - ETag.cc \ - event.cc \ - HelperChildConfig.cc \ - HelperChildConfig.h \ - HttpHdrCc.cc \ - HttpHdrContRange.cc \ - HttpHdrRange.cc \ - HttpHdrSc.cc \ - HttpHdrScTarget.cc \ - HttpHeaderTools.cc \ - HttpHeader.cc \ - HttpMsg.cc \ - HttpRequestMethod.cc \ - mem_node.cc \ - mem.cc \ - MemBuf.cc \ - Packer.cc \ - StatHist.cc \ - stmem.cc \ - String.cc \ - tests/stub_access_log.cc \ - tests/stub_acl.cc \ - tests/stub_cache_cf.cc \ - tests/stub_cache_manager.cc \ - tests/stub_comm.cc \ - tests/stub_debug.cc \ - tests/stub_DelayId.cc \ - tests/stub_errorpage.cc \ - tests/stub_helper.cc \ - tests/stub_HttpRequest.cc \ - tests/stub_http.cc \ - tests/stub_MemObject.cc \ - tests/stub_mime.cc \ - tests/stub_store.cc \ - tests/testAuth.cc \ - tests/testAuth.h \ - tests/testMain.cc \ - time.cc \ - URLScheme.cc \ - url.cc \ - wordlist.cc -nodist_tests_testAuth_SOURCES = \ - $(TESTSOURCES) - -tests_testAuth_LDADD= \ - $(AUTH_ACL_LIBS) \ - ident/libident.la \ - acl/libacls.la \ - eui/libeui.la \ - acl/libstate.la \ - $(AUTH_LIBS) \ - acl/libapi.la \ - base/libbase.la \ - libsquid.la \ - ip/libip.la \ - fs/libfs.la \ - ipc/libipc.la \ - mgr/libmgr.la \ - anyp/libanyp.la \ - $(top_builddir)/lib/libmisccontainers.la \ - $(top_builddir)/lib/libmiscencoding.la \ - $(top_builddir)/lib/libmiscutil.la \ - $(REGEXLIB) \ - $(SQUID_CPPUNIT_LIBS) \ - $(SSLLIB) \ - $(COMPAT_LIB) \ - $(XTRA_LIBS) -tests_testAuth_LDFLAGS = $(LIBADD_DL) -tests_testAuth_DEPENDENCIES = \ - $(SQUID_CPPUNIT_LA) - ## Tests for the ACLMaxUserIP class ## acl needs wordlist. wordlist needs MemBug ## MemBuf needs mem, MemBuf needs event,