1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-22 17:34:18 +03:00
libvirt/scripts
Pavel Hrdina 9d40698116 meson: tests: add file access test setup
We need to modify check-file-access.py to be usable as wrapper for
libvirt tests. This way we can run the tests using this command:

    meson test --setup access

which will run all tests using check-file-access.py as a wrapper.

With autotools all file access are written into single file for all
tests and compared once the whole test suite is done.

With Meson we will compare the file access after every single test
because it is used as wrapper now. That requires writing the file
access into separate files for every single test as they are executed
in parallel.

Since the wrapper is used for all tests in Meson including tests outside
of tests directory we have to check for presence of the output file.
We should also cleanup after ourselves.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Neal Gompa <ngompa13@gmail.com>
2020-08-03 09:27:06 +02:00
..
apibuild.py scripts: emit raw enum value in API build description 2020-05-22 11:32:55 +01:00
augeas-gentest.py build: only support python3 binary 2019-12-04 13:13:01 +00:00
check-aclperms.py build: only support python3 binary 2019-12-04 13:13:01 +00:00
check-aclrules.py scripts: remove use of the term 'whitelist' from build helpers 2020-06-26 15:36:40 +01:00
check-driverimpls.py build: only support python3 binary 2019-12-04 13:13:01 +00:00
check-drivername.py build: only support python3 binary 2019-12-04 13:13:01 +00:00
check-file-access.py meson: tests: add file access test setup 2020-08-03 09:27:06 +02:00
check-remote-protocol.py meson: src: add check*protocol tests 2020-08-03 09:27:05 +02:00
check-symfile.py build: only support python3 binary 2019-12-04 13:13:01 +00:00
check-symsorting.py build: only support python3 binary 2019-12-04 13:13:01 +00:00
cocci-macro-file.h scripts: introduce a macro file for coccinelle 2019-10-21 12:51:54 +02:00
dtrace2systemtap.py build: only support python3 binary 2019-12-04 13:13:01 +00:00
esx_vi_generator.py meson: src: build libvirt_driver_esx.a static library 2020-08-03 09:27:04 +02:00
genaclperms.py docs: rewrite polkit docs generator in Python 2019-12-20 14:23:40 +00:00
genpolkit.py build: only support python3 binary 2019-12-04 13:13:01 +00:00
gensystemtap.py build: only support python3 binary 2019-12-04 13:13:01 +00:00
group-qemu-caps.py tests: rewrite qemu capability grouper in Python 2019-12-20 14:23:39 +00:00
header-ifdef.py build: only support python3 binary 2019-12-04 13:13:01 +00:00
hvsupport.py docs: rewrite hvsupport.html page generator in python 2019-12-20 14:23:39 +00:00
hyperv_wmi_generator.py meson: src: build libvirt_driver_hyperv.a static library 2020-08-03 09:27:04 +02:00
meson-gen-def.py meson: scripts: introduce meson-gen-def.py script 2020-08-03 09:27:04 +02:00
meson-gen-sym.py meson: scripts: introduce meson-gen-sym.py script 2020-08-03 09:27:04 +02:00
meson-install-dirs.py meson: src: install empty directories 2020-08-03 09:27:05 +02:00
meson-install-symlink.py meson: src/network: install default network xml 2020-08-03 09:27:05 +02:00
meson-python.sh meson: add runutf8 env vars and meson-python.sh script 2020-08-03 09:27:00 +02:00
meson.build meson: src/network: install default network xml 2020-08-03 09:27:05 +02:00
mock-noinline.py scripts: remove use of the term 'whitelist' from build helpers 2020-06-26 15:36:40 +01:00
prohibit-duplicate-header.py build: only support python3 binary 2019-12-04 13:13:01 +00:00
test-wrap-argv.py tests: rewrite test argv line wrapper in Python 2019-12-04 13:44:15 +00:00