test: disable converter test if python is not available.
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 4 May 2022 03:20:04 +0000 (12:20 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Wed, 4 May 2022 13:17:15 +0000 (22:17 +0900)
converter test uses python scripts.
disable converter test if python is not available.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
tests/meson.build

index 2c2ef21..34bc89d 100644 (file)
@@ -187,7 +187,7 @@ if gtest_dep.found()
     endif
 
     # Run unittest_converter
-    if flatbuf_support_is_available
+    if flatbuf_support_is_available and have_python3
       unittest_converter = executable('unittest_converter',
         join_paths('nnstreamer_converter', 'unittest_converter.cc'),
         dependencies: [nnstreamer_unittest_deps, flatbuf_dep, nnstreamer_python3_helper_dep],