'unittest_tizen_sensor' requires a nnstreamer extension plugin,
'tensor_src_tizensensor', in addition to the other nnstreamer plugins.
In order to resolve this dependency at build time, this patch modifies
the rpm spec for Tizen to provide extra GST_PLUGIN_PATH to
'unittest_tizen_sensor'.
Signed-off-by: Wook Song <wook16.song@samsung.com>
%if %{with tizen}
bash %{test_script} ./tests/tizen_nnfw_runtime/unittest_nnfw_runtime_raw
ln -s ext/nnstreamer/tensor_source/*.so .
- bash %{test_script} ./tests/tizen_capi/unittest_tizen_sensor
+ GST_PLUGIN_PATH=${NNSTREAMER_BUILD_ROOT_PATH}/build/ext/nnstreamer/tensor_source:${GST_PLUGIN_PATH} bash %{test_script} ./tests/tizen_capi/unittest_tizen_sensor
%endif #if tizen
%if 0%{?unit_test}
bash %{test_script} ./tests