Imported Upstream version 17.22.0
[platform/upstream/libzypp.git] / tests / zypp / CMakeLists.txt
1 ADD_SUBDIRECTORY(base)
2
3 # set the vendor.d paths correctly for the tests
4 SET(VENDOR_D "${LIBZYPP_SOURCE_DIR}/tests/zypp/data/Vendor/vendors.d")
5 FILE(MAKE_DIRECTORY "${LIBZYPP_BINARY_DIR}/tests/zypp/data/Vendor")
6 CONFIGURE_FILE(${LIBZYPP_SOURCE_DIR}/tests/zypp/data/Vendor/zypp2.conf.cmake ${LIBZYPP_BINARY_DIR}/tests/zypp/data/Vendor/zypp2.conf @ONLY)
7
8 ADD_TESTS(
9   Arch
10   Capabilities
11   CheckSum
12   ContentType
13   CpeId
14   Date
15   DrunkenBishop
16   Dup
17   Digest
18   Deltarpm
19   Edition
20   ExtendedPool
21   Fetcher
22   FileChecker
23   Flags
24   GZStream
25   InstanceId
26   KeyRing
27   Locale
28   Locks
29   MediaSetAccess
30   PathInfo
31   Pathname
32   PluginFrame
33   PoolQueryCC
34   PoolQuery
35   ProgressData
36   PtrTypes
37   PublicKey
38   PurgeKernels
39   RWPtr
40   RepoInfo
41   RepoManager
42   RepoStatus
43   ResKind
44   Resolver
45   ResStatus
46   RpmPkgSigCheck
47   Selectable
48   SetRelationMixin
49   SetTracker
50   StrMatcher
51   Target
52   Url
53   UserData
54   Vendor
55   Vendor2
56 )
57
58 IF (ENABLE_ZCHUNK_COMPRESSION)
59   ADD_TESTS (
60     ZChunk
61   )
62 ENDIF(ENABLE_ZCHUNK_COMPRESSION)
63