Imported Upstream version 17.23.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   FileChecker
22   Flags
23   GZStream
24   InstanceId
25   KeyRing
26   Locale
27   Locks
28   PathInfo
29   Pathname
30   PluginFrame
31   PoolQueryCC
32   PoolQuery
33   ProgressData
34   PtrTypes
35   PublicKey
36   PurgeKernels
37   RWPtr
38   RepoManager
39   RepoStatus
40   ResKind
41   Resolver
42   ResStatus
43   RpmPkgSigCheck
44   Selectable
45   SetRelationMixin
46   SetTracker
47   StrMatcher
48   Target
49   Url
50   UserData
51   Vendor
52   Vendor2
53 )
54
55 IF (ENABLE_ZCHUNK_COMPRESSION)
56   ADD_TESTS (
57     ZChunk
58   )
59 ENDIF(ENABLE_ZCHUNK_COMPRESSION)
60
61 IF( NOT DISABLE_MEDIABACKEND_TESTS )
62   ADD_TESTS(
63     Fetcher
64     MediaSetAccess
65     RepoInfo
66   )
67 ENDIF()
68