]> git.saurik.com Git - apt.git/blame - test/libapt/makefile
merged from lp:~donkult/apt/experimental
[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
DK
35
36# Program for testing CommandLine reconstruction
c4ba7c44 37PROGRAM = CommandlineAsString${BASENAME}
2bb25574
DK
38SLIBS = -lapt-pkg
39SOURCE = commandlineasstring_test.cc
40include $(PROGRAM_H)
ea5624c3
DK
41
42# Program for testing debians version comparing
c4ba7c44 43PROGRAM = CompareVersion${BASENAME}
ea5624c3
DK
44SLIBS = -lapt-pkg
45SOURCE = compareversion_test.cc
46include $(PROGRAM_H)
c4ba7c44
DK
47
48# test the GlobalError stack class
49PROGRAM = GlobalError${BASENAME}
50SLIBS = -lapt-pkg
51SOURCE = globalerror_test.cc
52include $(PROGRAM_H)
67dc3830
DK
53
54# test the different Hashsum classes
55PROGRAM = HashSums${BASENAME}
56SLIBS = -lapt-pkg
57SOURCE = hashsums_test.cc
58include $(PROGRAM_H)
0b7d641c 59
a513ace2
MV
60# test the strutils stuff
61PROGRAM = StrUtil${BASENAME}
62SLIBS = -lapt-pkg
63SOURCE = strutil_test.cc
64include $(PROGRAM_H)
bf5438c1
DK
65
66# test the URI parsing stuff
67PROGRAM = URI${BASENAME}
68SLIBS = -lapt-pkg
69SOURCE = uri_test.cc
70include $(PROGRAM_H)
213b8805
DK
71
72# test the Configuration class
73PROGRAM = Configuration${BASENAME}
74SLIBS = -lapt-pkg
75SOURCE = configuration_test.cc
76include $(PROGRAM_H)