]> git.saurik.com Git - apt.git/blame - test/libapt/makefile
depend on libapt-pkg in the libapt-inst build process
[apt.git] / test / libapt / makefile
CommitLineData
45df0ad2
DK
1# -*- make -*-
2BASE=../..
3SUBDIR=test/libapt
4BASENAME=_libapt_test
5
6# Bring in the default rules
7include ../../buildlib/defaults.mak
8
92d5a40d
DK
9.PHONY: test
10test:
11 ./run-tests
12
45df0ad2
DK
13# Program for testing getLanguageCode
14PROGRAM = getLanguages${BASENAME}
15SLIBS = -lapt-pkg
16SOURCE = getlanguages_test.cc
17include $(PROGRAM_H)
41c81fd8 18
3152f4aa
DK
19PROGRAM = getArchitectures${BASENAME}
20SLIBS = -lapt-pkg
21SOURCE = getarchitectures_test.cc
22include $(PROGRAM_H)
23
41c81fd8
DK
24# Program for testing ParseDepends
25PROGRAM = ParseDepends${BASENAME}
26SLIBS = -lapt-pkg
27SOURCE = parsedepends_test.cc
28include $(PROGRAM_H)
e29a6bb1
DK
29
30# Program for testing GetListOfFilesInDir
31PROGRAM = GetListOfFilesInDir${BASENAME}
32SLIBS = -lapt-pkg
33SOURCE = getlistoffilesindir_test.cc
34include $(PROGRAM_H)
2bb25574 35
ae2be086
DH
36# Program for testing CommandLine reconstruction
37PROGRAM = Commandline${BASENAME}
38SLIBS = -lapt-pkg
39SOURCE = commandline_test.cc
40include $(PROGRAM_H)
41
2bb25574 42# Program for testing CommandLine reconstruction
c4ba7c44 43PROGRAM = CommandlineAsString${BASENAME}
2bb25574
DK
44SLIBS = -lapt-pkg
45SOURCE = commandlineasstring_test.cc
46include $(PROGRAM_H)
ea5624c3
DK
47
48# Program for testing debians version comparing
c4ba7c44 49PROGRAM = CompareVersion${BASENAME}
ea5624c3
DK
50SLIBS = -lapt-pkg
51SOURCE = compareversion_test.cc
52include $(PROGRAM_H)
c4ba7c44
DK
53
54# test the GlobalError stack class
55PROGRAM = GlobalError${BASENAME}
56SLIBS = -lapt-pkg
57SOURCE = globalerror_test.cc
58include $(PROGRAM_H)
67dc3830
DK
59
60# test the different Hashsum classes
61PROGRAM = HashSums${BASENAME}
62SLIBS = -lapt-pkg
63SOURCE = hashsums_test.cc
64include $(PROGRAM_H)
0b7d641c 65
a513ace2
MV
66# test the strutils stuff
67PROGRAM = StrUtil${BASENAME}
68SLIBS = -lapt-pkg
69SOURCE = strutil_test.cc
70include $(PROGRAM_H)
bf5438c1
DK
71
72# test the URI parsing stuff
73PROGRAM = URI${BASENAME}
74SLIBS = -lapt-pkg
75SOURCE = uri_test.cc
76include $(PROGRAM_H)
213b8805
DK
77
78# test the Configuration class
79PROGRAM = Configuration${BASENAME}
80SLIBS = -lapt-pkg
81SOURCE = configuration_test.cc
82include $(PROGRAM_H)
2c405a44
DK
83
84# test cdroms core FindPackages
85PROGRAM = CdromFindPackages${BASENAME}
86SLIBS = -lapt-pkg
87SOURCE = cdromfindpackages_test.cc
88include $(PROGRAM_H)
d29a5330 89
8628c2f7
DK
90# test cdroms index reduction for source.list
91PROGRAM = CdromReduceSourceList${BASENAME}
92SLIBS = -lapt-pkg
93SOURCE = cdromreducesourcelist_test.cc
94include $(PROGRAM_H)
95
c8b860fb 96# test IndexCopy::ConvertToSourceList
d29a5330
DK
97PROGRAM = IndexCopyToSourceList${BASENAME}
98SLIBS = -lapt-pkg
99SOURCE = indexcopytosourcelist_test.cc
100include $(PROGRAM_H)
c8b860fb
MV
101
102# test tagfile
103PROGRAM = PkgTagFile${BASENAME}
104SLIBS = -lapt-pkg
105SOURCE = tagfile_test.cc
106include $(PROGRAM_H)
107