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