]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/test/test-execute.c
Make MANAGER_TEST_RUN_MINIMAL just allocate data structures
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 10 Mar 2018 10:02:18 +0000 (11:02 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 11 Mar 2018 15:33:59 +0000 (16:33 +0100)
commite8112e67e4a5dadf57b5f7a29061f63dfc9e0635
tree0221dde7a58160febe42f106e0b0d87bb4eaf792
parentdc409696cf569a9af38c8f229f2999ae9b6e76a8
Make MANAGER_TEST_RUN_MINIMAL just allocate data structures

When running tests like test-unit-name, there is not point in setting
up the cgroup and signals and interacting with the environment. Similarly
when running fuzz testing of the parser.

Add new MANAGER_TEST_RUN_BASIC which takes the role of MANAGER_TEST_RUN_MINIMAL,
and redefine MANAGER_TEST_RUN_MINIMAL to just create the basic data structures.
src/analyze/analyze-verify.c
src/core/manager.c
src/core/manager.h
src/libudev/libudev.c
src/test/test-cgroup-mask.c
src/test/test-engine.c
src/test/test-execute.c
src/test/test-path.c
src/test/test-sched-prio.c