From: Wook Song Date: Thu, 20 May 2021 11:52:41 +0000 (+0900) Subject: [Tests/Meson] Include unit tests for GSTMqtt in the meson build script X-Git-Tag: accepted/tizen/unified/20210604.120706~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f1257d7c4d54699de88ce868f446a461084abb9e;p=platform%2Fupstream%2Fnnstreamer.git [Tests/Meson] Include unit tests for GSTMqtt in the meson build script This patch modifies the meson build script to generate and run the executable for the unit tests of the GSTMqtt elements. Signed-off-by: Wook Song --- diff --git a/tests/meson.build b/tests/meson.build index a386e81..2ac6fcd 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -116,6 +116,17 @@ if gtest_dep.found() test('unittest_join', unittest_join, env: testenv) + # Run unittest_mqtt + if mqtt_support_is_available + unittest_mqtt = executable('unittest_mqtt', + join_paths('gstreamer_mqtt', 'unittest_mqtt.cc'), + dependencies: [nnstreamer_unittest_deps, unittest_util_dep], + install: get_option('install-test'), + install_dir: unittest_install_dir) + + test('unittest_mqtt', unittest_mqtt, env: testenv) + endif + # Run unittest_src_iio if build_platform != 'macos' unittest_src_iio = executable('unittest_src_iio',