]> git.saurik.com Git - apt.git/blame_incremental - test/libapt/makefile
test/integration/test-debsrc-hashes: add integration test, thanks to Daniel Hartwig
[apt.git] / test / libapt / makefile
... / ...
CommitLineData
1# -*- make -*-
2BASE=../..
3SUBDIR=test/libapt
4BASENAME=_libapt_test
5
6# Bring in the default rules
7include ../../buildlib/defaults.mak
8
9.PHONY: test
10test:
11 ./run-tests
12
13# Program for testing getLanguageCode
14PROGRAM = getLanguages${BASENAME}
15SLIBS = -lapt-pkg
16SOURCE = getlanguages_test.cc
17include $(PROGRAM_H)
18
19PROGRAM = getArchitectures${BASENAME}
20SLIBS = -lapt-pkg
21SOURCE = getarchitectures_test.cc
22include $(PROGRAM_H)
23
24# Program for testing ParseDepends
25PROGRAM = ParseDepends${BASENAME}
26SLIBS = -lapt-pkg
27SOURCE = parsedepends_test.cc
28include $(PROGRAM_H)
29
30# Program for testing GetListOfFilesInDir
31PROGRAM = GetListOfFilesInDir${BASENAME}
32SLIBS = -lapt-pkg
33SOURCE = getlistoffilesindir_test.cc
34include $(PROGRAM_H)
35
36# Program for testing CommandLine reconstruction
37PROGRAM = Commandline${BASENAME}
38SLIBS = -lapt-pkg
39SOURCE = commandline_test.cc
40include $(PROGRAM_H)
41
42# Program for testing CommandLine reconstruction
43PROGRAM = CommandlineAsString${BASENAME}
44SLIBS = -lapt-pkg
45SOURCE = commandlineasstring_test.cc
46include $(PROGRAM_H)
47
48# Program for testing debians version comparing
49PROGRAM = CompareVersion${BASENAME}
50SLIBS = -lapt-pkg
51SOURCE = compareversion_test.cc
52include $(PROGRAM_H)
53
54# test the GlobalError stack class
55PROGRAM = GlobalError${BASENAME}
56SLIBS = -lapt-pkg
57SOURCE = globalerror_test.cc
58include $(PROGRAM_H)
59
60# test the different Hashsum classes
61PROGRAM = HashSums${BASENAME}
62SLIBS = -lapt-pkg
63SOURCE = hashsums_test.cc
64include $(PROGRAM_H)
65
66# test the strutils stuff
67PROGRAM = StrUtil${BASENAME}
68SLIBS = -lapt-pkg
69SOURCE = strutil_test.cc
70include $(PROGRAM_H)
71
72# test the URI parsing stuff
73PROGRAM = URI${BASENAME}
74SLIBS = -lapt-pkg
75SOURCE = uri_test.cc
76include $(PROGRAM_H)
77
78# test the Configuration class
79PROGRAM = Configuration${BASENAME}
80SLIBS = -lapt-pkg
81SOURCE = configuration_test.cc
82include $(PROGRAM_H)
83
84# test cdroms core FindPackages
85PROGRAM = CdromFindPackages${BASENAME}
86SLIBS = -lapt-pkg
87SOURCE = cdromfindpackages_test.cc
88include $(PROGRAM_H)
89
90# test cdroms index reduction for source.list
91PROGRAM = CdromReduceSourceList${BASENAME}
92SLIBS = -lapt-pkg
93SOURCE = cdromreducesourcelist_test.cc
94include $(PROGRAM_H)
95
96# text IndexCopy::ConvertToSourceList
97PROGRAM = IndexCopyToSourceList${BASENAME}
98SLIBS = -lapt-pkg
99SOURCE = indexcopytosourcelist_test.cc
100include $(PROGRAM_H)