]> git.saurik.com Git - apt.git/blob - test/libapt/makefile
fix crash when P.Arch() was used but the cache got remapped
[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 # Program for testing getLanguageCode
10 PROGRAM = getLanguages${BASENAME}
11 SLIBS = -lapt-pkg
12 SOURCE = getlanguages_test.cc
13 include $(PROGRAM_H)
14
15 PROGRAM = getArchitectures${BASENAME}
16 SLIBS = -lapt-pkg
17 SOURCE = getarchitectures_test.cc
18 include $(PROGRAM_H)
19
20 # Program for testing ParseDepends
21 PROGRAM = ParseDepends${BASENAME}
22 SLIBS = -lapt-pkg
23 SOURCE = parsedepends_test.cc
24 include $(PROGRAM_H)
25
26 # Program for testing GetListOfFilesInDir
27 PROGRAM = GetListOfFilesInDir${BASENAME}
28 SLIBS = -lapt-pkg
29 SOURCE = getlistoffilesindir_test.cc
30 include $(PROGRAM_H)
31
32 # Program for testing CommandLine reconstruction
33 PROGRAM = CommandlineAsString${BASENAME}
34 SLIBS = -lapt-pkg
35 SOURCE = commandlineasstring_test.cc
36 include $(PROGRAM_H)
37
38 # Program for testing debians version comparing
39 PROGRAM = CompareVersion${BASENAME}
40 SLIBS = -lapt-pkg
41 SOURCE = compareversion_test.cc
42 include $(PROGRAM_H)
43
44 # test the GlobalError stack class
45 PROGRAM = GlobalError${BASENAME}
46 SLIBS = -lapt-pkg
47 SOURCE = globalerror_test.cc
48 include $(PROGRAM_H)
49
50 # test the different Hashsum classes
51 PROGRAM = HashSums${BASENAME}
52 SLIBS = -lapt-pkg
53 SOURCE = hashsums_test.cc
54 include $(PROGRAM_H)
55
56 # test the strutils stuff
57 PROGRAM = StrUtil${BASENAME}
58 SLIBS = -lapt-pkg
59 SOURCE = strutil_test.cc
60 include $(PROGRAM_H)