aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-05-13 13:23:28 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-05-13 15:50:44 -0400
commit94e2523b702c4490950017171902ea6bc8f776cb (patch)
tree881609e3c55ac5ee9345663954e404acc7708744 /.gitignore
parenttest-ipv4ll: use assert_se consistently (diff)
downloadsystemd-94e2523b702c4490950017171902ea6bc8f776cb.tar.gz
systemd-94e2523b702c4490950017171902ea6bc8f776cb.tar.bz2
systemd-94e2523b702c4490950017171902ea6bc8f776cb.zip
tests,meson: add test-bus-vtable, compiled as C and C++
This test is mostly a compilation test that checks that various defines in sd-bus-vtable.h are valid C++. The code is executed, but the results are not checked (apart from sd-bus functions not returning an error). test-bus-objects contains pretty extensive tests for this functionality. The C++ version is only added to meson, since it's simpler there. Because of the .cc extension, meson will compile the executable with c++. This test is necessary to properly check the macros in sd-bus-vtable.h. Just running the headers through g++ is not enough, because the macros are not exercised. Follow-up for #5941.
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 7cbf0a9e0..386424984 100644
--- a/.gitignore
+++ b/.gitignore
@@ -160,6 +160,8 @@
/test-bus-server
/test-bus-signature
/test-bus-track
+/test-bus-vtable
+/test-bus-vtable-cc
/test-bus-zero-copy
/test-calendarspec
/test-cap-list