aria2/test/Makefile.am
Tatsuhiro Tsujikawa e7d462bb39 2008-09-17 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Added cookies.sqlite to EXTRA_DIST
	* test/Makefile.am
2008-09-17 13:37:32 +00:00

225 lines
5.5 KiB
Makefile

TESTS = aria2c
check_PROGRAMS = $(TESTS)
aria2c_SOURCES = AllTest.cc\
TestUtil.cc TestUtil.h\
SocketCoreTest.cc\
array_funTest.cc\
HelpItemTest.cc\
TaggedItemTest.cc\
TagContainerTest.cc\
Base64Test.cc\
SequenceTest.cc\
a2functionalTest.cc\
FileEntryTest.cc\
PieceTest.cc\
SegmentTest.cc\
GrowSegmentTest.cc\
SingleFileAllocationIteratorTest.cc\
DefaultBtProgressInfoFileTest.cc\
SingleFileDownloadContextTest.cc\
RequestGroupTest.cc\
PStringBuildVisitorTest.cc\
ParameterizedStringParserTest.cc\
UtilTest.cc\
AlphaNumberDecoratorTest.cc\
UriListParserTest.cc\
HttpHeaderProcessorTest.cc\
RequestTest.cc\
CookieParserTest.cc\
HttpRequestTest.cc\
RequestGroupManTest.cc\
AuthConfigFactoryTest.cc\
NetrcAuthResolverTest.cc\
DefaultAuthResolverTest.cc\
OptionHandlerTest.cc\
SegmentManTest.cc\
BitfieldManTest.cc\
NetrcTest.cc\
SingletonHolderTest.cc\
HttpHeaderTest.cc\
HttpResponseTest.cc\
SharedHandleTest.cc\
FileTest.cc\
OptionTest.cc\
DefaultDiskWriterTest.cc\
FeatureConfigTest.cc\
SpeedCalcTest.cc\
MultiDiskAdaptorTest.cc\
MultiFileAllocationIteratorTest.cc\
FixedNumberRandomizer.h\
ProtocolDetectorTest.cc\
StringFormatTest.cc\
ExceptionTest.cc\
DownloadHandlerFactoryTest.cc\
ChunkedDecoderTest.cc\
SignatureTest.cc\
ServerStatManTest.cc\
ServerStatURISelectorTest.cc\
InOrderURISelectorTest.cc\
ServerStatTest.cc\
NsCookieParserTest.cc\
DirectDiskAdaptorTest.cc\
CookieTest.cc\
CookieStorageTest.cc\
TimeTest.cc\
CopyDiskAdaptorTest.cc\
FtpConnectionTest.cc
if HAVE_LIBZ
aria2c_SOURCES += GZipDecoderTest.cc
endif # HAVE_LIBZ
if HAVE_SQLITE3
aria2c_SOURCES += Sqlite3MozCookieParserTest.cc
endif # HAVE_SQLITE3
if ENABLE_MESSAGE_DIGEST
aria2c_SOURCES += MessageDigestHelperTest.cc\
IteratableChunkChecksumValidatorTest.cc\
IteratableChecksumValidatorTest.cc
endif # ENABLE_MESSAGE_DIGEST
if ENABLE_BITTORRENT
aria2c_SOURCES += BtAllowedFastMessageTest.cc\
BtBitfieldMessageTest.cc\
BtCancelMessageTest.cc\
BtChokeMessageTest.cc\
BtHandshakeMessageTest.cc\
BtHaveAllMessageTest.cc\
BtHaveMessageTest.cc\
BtHaveNoneMessageTest.cc\
BtInterestedMessageTest.cc\
BtKeepAliveMessageTest.cc\
BtNotInterestedMessageTest.cc\
BtPieceMessageTest.cc\
BtPortMessageTest.cc\
BtRejectMessageTest.cc\
BtRequestMessageTest.cc\
BtSuggestPieceMessageTest.cc\
BtUnchokeMessageTest.cc\
DefaultPieceStorageTest.cc\
DefaultBtAnnounceTest.cc\
DefaultBtContextTest.cc\
DefaultBtMessageDispatcherTest.cc\
DefaultBtRequestFactoryTest.cc\
MockBtMessage.h\
MockBtMessageDispatcher.h\
MockBtMessageFactory.h\
DefaultPeerListProcessorTest.cc\
AnnounceListTest.cc\
DefaultPeerStorageTest.cc\
MockPeerStorage.h\
DataTest.cc\
DictionaryTest.cc\
ListTest.cc\
MetaFileUtilTest.cc\
ByteArrayDiskWriterTest.cc\
PeerTest.cc\
PeerSessionResourceTest.cc\
PeerMessageUtilTest.cc\
ShareRatioSeedCriteriaTest.cc\
BtRegistryTest.cc\
BtDependencyTest.cc\
BtPostDownloadHandlerTest.cc\
TimeSeedCriteriaTest.cc\
BencodeVisitorTest.cc\
BtExtendedMessageTest.cc\
HandshakeExtensionMessageTest.cc\
UTPexExtensionMessageTest.cc\
DefaultBtMessageFactoryTest.cc\
DefaultExtensionMessageFactoryTest.cc\
DHTNodeTest.cc\
DHTBucketTest.cc\
DHTRoutingTableTest.cc\
DHTMessageTrackerEntryTest.cc\
DHTMessageTrackerTest.cc\
DHTConnectionImplTest.cc\
DHTPingMessageTest.cc\
DHTPingReplyMessageTest.cc\
DHTFindNodeMessageTest.cc\
DHTFindNodeReplyMessageTest.cc\
DHTGetPeersMessageTest.cc\
DHTGetPeersReplyMessageTest.cc\
DHTAnnouncePeerMessageTest.cc\
DHTAnnouncePeerReplyMessageTest.cc\
DHTUnknownMessageTest.cc\
DHTMessageFactoryImplTest.cc\
BNodeTest.cc\
DHTPeerAnnounceEntryTest.cc\
DHTPeerAnnounceStorageTest.cc\
DHTTokenTrackerTest.cc\
XORCloserTest.cc\
DHTIDCloserTest.cc\
DHTRoutingTableSerializerTest.cc\
DHTRoutingTableDeserializerTest.cc\
DHKeyExchangeTest.cc\
ARC4Test.cc\
MSEHandshakeTest.cc\
DHTUtilTest.cc\
MockBtAnnounce.h\
MockBtContext.h\
MockBtProgressInfoFile.h\
MockBtRequestFactory.h\
MockDHTMessage.h\
MockDHTMessageCallback.h\
MockDHTMessageDispatcher.h\
MockDHTMessageFactory.h\
MockDHTTask.h\
MockDHTTaskFactory.h\
MockDHTTaskQueue.h\
MockExtensionMessage.h\
MockExtensionMessageFactory.h\
MockPieceStorage.h\
RarestPieceSelectorTest.cc
endif # ENABLE_BITTORRENT
if ENABLE_METALINK
aria2c_SOURCES += MetalinkerTest.cc\
MetalinkEntryTest.cc\
Metalink2RequestGroupTest.cc\
MetalinkPostDownloadHandlerTest.cc\
MetalinkHelperTest.cc\
MetalinkParserControllerTest.cc\
MetalinkProcessorTest.cc
endif # ENABLE_METALINK
#aria2c_CXXFLAGS = ${CPPUNIT_CFLAGS} -I../src -I../lib -Wall -D_FILE_OFFSET_BITS=64
#aria2c_LDFLAGS = ${CPPUNIT_LIBS}
aria2c_LDADD = ../src/libaria2c.a\
@LIBINTL@ @LIBGNUTLS_LIBS@\
@LIBGCRYPT_LIBS@ @OPENSSL_LIBS@ @XML_LIBS@ @LIBARES_LIBS@\
@LIBCARES_LIBS@ @WINSOCK_LIBS@ @LIBEXPAT_LIBS@ @LIBZ_LIBS@\
@SQLITE3_LIBS@\
${CPPUNIT_LIBS}
AM_CPPFLAGS = -Wall\
${CPPUNIT_CFLAGS}\
-I ../src\
-I../lib -I../intl -I$(top_srcdir)/intl\
@LIBGNUTLS_CFLAGS@ @LIBGCRYPT_CFLAGS@ @OPENSSL_CFLAGS@ @XML_CPPFLAGS@\
@LIBARES_CPPFLAGS@ @LIBCARES_CPPFLAGS@ @LIBEXPAT_CPPFLAGS@\
@LIBZ_CPPFLAGS@ @SQLITE3_CPPFLAGS@ -DLOCALEDIR=\"$(localedir)\" @DEFS@
EXTRA_DIST = 4096chunk.txt\
chunkChecksumTestFile250.txt\
cookies.sqlite\
cookietest.txt\
emptyfile\
file1r.txt\
file2r.txt\
file3r.txt\
filelist1.txt\
gzip_decode_test.gz\
load-nonBt.aria2\
load-nonBt-v0001.aria2\
load.aria2\
load-v0001.aria2\
malformed.netrc\
nscookietest.txt\
sample.netrc\
single.torrent\
test.torrent\
test.xml\
url-list-multiFile.torrent\
url-list-singleFile.torrent