]> git.saurik.com Git - apt.git/blob - test/libapt/makefile
* apt-pkg/cdrom.cc:
[apt.git] / test / libapt / makefile
1 # -*- make -*-
2 BASE=../..
3 SUBDIR=test/libapt
4 BASENAME=_libapt_test
5
6 # Bring in the default rules
7 include ../../buildlib/defaults.mak
8
9 .PHONY: test
10 test:
11 ./run-tests
12
13 # Program for testing getLanguageCode
14 PROGRAM = getLanguages${BASENAME}
15 SLIBS = -lapt-pkg
16 SOURCE = getlanguages_test.cc
17 include $(PROGRAM_H)
18
19 PROGRAM = getArchitectures${BASENAME}
20 SLIBS = -lapt-pkg
21 SOURCE = getarchitectures_test.cc
22 include $(PROGRAM_H)
23
24 # Program for testing ParseDepends
25 PROGRAM = ParseDepends${BASENAME}
26 SLIBS = -lapt-pkg
27 SOURCE = parsedepends_test.cc
28 include $(PROGRAM_H)
29
30 # Program for testing GetListOfFilesInDir
31 PROGRAM = GetListOfFilesInDir${BASENAME}
32 SLIBS = -lapt-pkg
33 SOURCE = getlistoffilesindir_test.cc
34 include $(PROGRAM_H)
35
36 # Program for testing CommandLine reconstruction
37 PROGRAM = CommandlineAsString${BASENAME}
38 SLIBS = -lapt-pkg
39 SOURCE = commandlineasstring_test.cc
40 include $(PROGRAM_H)
41
42 # Program for testing debians version comparing
43 PROGRAM = CompareVersion${BASENAME}
44 SLIBS = -lapt-pkg
45 SOURCE = compareversion_test.cc
46 include $(PROGRAM_H)
47
48 # test the GlobalError stack class
49 PROGRAM = GlobalError${BASENAME}
50 SLIBS = -lapt-pkg
51 SOURCE = globalerror_test.cc
52 include $(PROGRAM_H)
53
54 # test the different Hashsum classes
55 PROGRAM = HashSums${BASENAME}
56 SLIBS = -lapt-pkg
57 SOURCE = hashsums_test.cc
58 include $(PROGRAM_H)
59
60 # test the strutils stuff
61 PROGRAM = StrUtil${BASENAME}
62 SLIBS = -lapt-pkg
63 SOURCE = strutil_test.cc
64 include $(PROGRAM_H)
65
66 # test the URI parsing stuff
67 PROGRAM = URI${BASENAME}
68 SLIBS = -lapt-pkg
69 SOURCE = uri_test.cc
70 include $(PROGRAM_H)
71
72 # test the Configuration class
73 PROGRAM = Configuration${BASENAME}
74 SLIBS = -lapt-pkg
75 SOURCE = configuration_test.cc
76 include $(PROGRAM_H)