File: README

package info (click to toggle)
libzypp 17.38.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 27,836 kB
  • sloc: cpp: 133,390; xml: 2,587; sh: 518; python: 266; makefile: 28
file content (29 lines) | stat: -rw-r--r-- 749 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

You can find here unit tests for lot of zypp classes.

run
ctest .

or the binary itself to run just one test


Note on libboost_unit_test_framework.so.1.38.0
----------------------------------------------

When you run the tests manually, some of the testcases here may fail
with an error message like:

  unknown location(0):            \
  fatal error in "keyring_test":  \
  child has exited; pid: 7222; uid: 216; exit value: 2

This happens because the boost test framework we use monitors the
return code of child processes. This monitoring should be turned off.

You can do this either via a commandfline option:

	 ./KeyRing_test --catch_system_errors=no

Or via an environment variable:

	 BOOST_TEST_CATCH_SYSTEM_ERRORS=no ./KeyRing_test