]> git.saurik.com Git - apt.git/blame_incremental - test/libapt/makefile
merged from lp:~donkult/apt/experimental/
[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 = CommandlineAsString${BASENAME}
38SLIBS = -lapt-pkg
39SOURCE = commandlineasstring_test.cc
40include $(PROGRAM_H)
41
42# Program for testing debians version comparing
43PROGRAM = CompareVersion${BASENAME}
44SLIBS = -lapt-pkg
45SOURCE = compareversion_test.cc
46include $(PROGRAM_H)
47
48# test the GlobalError stack class
49PROGRAM = GlobalError${BASENAME}
50SLIBS = -lapt-pkg
51SOURCE = globalerror_test.cc
52include $(PROGRAM_H)
53
54# test the different Hashsum classes
55PROGRAM = HashSums${BASENAME}
56SLIBS = -lapt-pkg
57SOURCE = hashsums_test.cc
58include $(PROGRAM_H)
59
60# test the strutils stuff
61PROGRAM = StrUtil${BASENAME}
62SLIBS = -lapt-pkg
63SOURCE = strutil_test.cc
64include $(PROGRAM_H)
65
66# test the URI parsing stuff
67PROGRAM = URI${BASENAME}
68SLIBS = -lapt-pkg
69SOURCE = uri_test.cc
70include $(PROGRAM_H)
71
72# test the Configuration class
73PROGRAM = Configuration${BASENAME}
74SLIBS = -lapt-pkg
75SOURCE = configuration_test.cc
76include $(PROGRAM_H)
77
78# test cdroms core FindPackages
79PROGRAM = CdromFindPackages${BASENAME}
80SLIBS = -lapt-pkg
81SOURCE = cdromfindpackages_test.cc
82include $(PROGRAM_H)