Systemd/src/import
Zbigniew Jędrzejewski-Szmek 69e96427a2 meson: define tests
Tests can be run with 'ninja-build test' or using 'mesontest'.
'-Dtests=unsafe' can be used to include the "unsafe" tests in the
test suite, same as with autotools.

v2:
- use more conf.get guards are optional components
- declare deps on generated headers for test-{af,arphrd,cap}-list

v3:
- define environment for tests

  Most test don't need this, but to be consistent with autotools-based build, and
  to avoid questions which tests need it and which don't, set the same environment
  for all tests.

v4:
- rework test generation

  Use a list of lists to define each test. This way we can reduce the
  boilerplate somewhat, although the test listings are still pretty verbose. We
  can also move the definitions of the tests to the subdirs. Unfortunately some
  subdirs are included earlier than some of the libraries that test binaries
  are linked to.  So just dump all definitions of all tests that cannot be
  defined earlier into src/test. The `executable` definitions are still at the
  top level, so the binaries are compiled into the build root.

v5:
- tag test-dnssec-complex as manual

v6:
- fix HAVE_LIBZ typo
- add missing libgobject/libgio defs
- mark test-qcow2 as manual
2017-04-23 21:47:26 -04:00
..
.gitignore import: introduce new mini-daemon systemd-importd, and make machinectl a client to it 2015-01-22 04:02:07 +01:00
curl-util.c Fix missing space in comments (#5439) 2017-02-24 18:14:02 +01:00
curl-util.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
export-raw.c tree-wide: use mfree more 2016-10-16 23:35:39 -04:00
export-raw.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
export-tar.c tree-wide: use mfree more 2016-10-16 23:35:39 -04:00
export-tar.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
export.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
import-common.c treewide: use stdio_unset_cloexec() function 2016-07-02 23:42:01 +06:00
import-common.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
import-compress.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
import-compress.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
import-pubring.gpg import: add image verification using gpg 2015-01-21 04:03:54 +01:00
import-raw.c tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
import-raw.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
import-tar.c tree-wide: drop NULL sentinel from strjoin 2016-10-23 11:43:27 -04:00
import-tar.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
import.c import: don't log "fake" errno values 2016-07-22 21:25:09 -04:00
importd.c importd: check setenv return value 2017-02-20 16:02:18 -05:00
Makefile import: add new minimal tool "systemd-import" for pulling down foreign containers and install them locally 2014-12-19 02:08:14 +01:00
meson.build meson: define tests 2017-04-23 21:47:26 -04:00
org.freedesktop.import1.conf importd: drop dkr support 2015-12-10 16:54:41 +01:00
org.freedesktop.import1.policy.in importd: add API for exporting container/VM images 2015-03-09 18:02:23 +01:00
org.freedesktop.import1.service import: introduce new mini-daemon systemd-importd, and make machinectl a client to it 2015-01-22 04:02:07 +01:00
pull-common.c importd: automatically download .roothash in addition to .nspawn for raw downloads 2016-12-21 19:09:31 +01:00
pull-common.h importd: automatically download .roothash in addition to .nspawn for raw downloads 2016-12-21 19:09:31 +01:00
pull-job.c import: bump image size safety limit for machinectl pull (#5535) 2017-03-05 13:03:53 +01:00
pull-job.h import: drop unused definition 2016-04-12 13:43:29 +02:00
pull-raw.c copy: change the various copy_xyz() calls to take a unified flags parameter 2017-02-17 10:22:28 +01:00
pull-raw.h importd: automatically download .roothash in addition to .nspawn for raw downloads 2016-12-21 19:09:31 +01:00
pull-tar.c copy: change the various copy_xyz() calls to take a unified flags parameter 2017-02-17 10:22:28 +01:00
pull-tar.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
pull.c importd: automatically download .roothash in addition to .nspawn for raw downloads 2016-12-21 19:09:31 +01:00
qcow2-util.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
qcow2-util.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
test-qcow2.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00