diff options
author | Corentin Noël <corentin.noel@collabora.com> | 2018-06-18 09:55:49 +0100 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2018-06-19 03:22:18 +0000 |
commit | 59f87e5cd1cef9404a4e3a78b7c397f0ec0e4b29 (patch) | |
tree | c20f5008b4dfba2c288dbc0d5ecfe4fc03d8957b /test cases/frameworks/7 gnome/gdbus | |
parent | b58f71cd736d42f8171b2cc373e5c32140b72fdc (diff) | |
download | meson-59f87e5cd1cef9404a4e3a78b7c397f0ec0e4b29.zip meson-59f87e5cd1cef9404a4e3a78b7c397f0ec0e4b29.tar.gz meson-59f87e5cd1cef9404a4e3a78b7c397f0ec0e4b29.tar.bz2 |
Add more tests to ensure no future regression
Diffstat (limited to 'test cases/frameworks/7 gnome/gdbus')
-rw-r--r-- | test cases/frameworks/7 gnome/gdbus/meson.build | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test cases/frameworks/7 gnome/gdbus/meson.build b/test cases/frameworks/7 gnome/gdbus/meson.build index 5bd640f..8238e73 100644 --- a/test cases/frameworks/7 gnome/gdbus/meson.build +++ b/test cases/frameworks/7 gnome/gdbus/meson.build @@ -6,6 +6,8 @@ gdbus_src = gnome.gdbus_codegen('generated-gdbus-no-docbook', 'com.example.Sampl ], ) assert(gdbus_src.length() == 2, 'expected 2 targets') +assert(gdbus_src[0].full_path().endswith('.c'), 'expected 1 c source file') +assert(gdbus_src[1].full_path().endswith('.h'), 'expected 1 c header file') gdbus_src = gnome.gdbus_codegen('generated-gdbus', sources : 'com.example.Sample.xml', @@ -19,6 +21,8 @@ gdbus_src = gnome.gdbus_codegen('generated-gdbus', install_dir : get_option('includedir') ) assert(gdbus_src.length() == 3, 'expected 3 targets') +assert(gdbus_src[0].full_path().endswith('.c'), 'expected 1 c source file') +assert(gdbus_src[1].full_path().endswith('.h'), 'expected 1 c header file') if not pretend_glib_old and glib.version().version_compare('>=2.51.3') includes = [] |