From 13a29ffbf1089b001fc0d4c822b35b25f764bad0 Mon Sep 17 00:00:00 2001 From: gichan-jang Date: Wed, 24 Jun 2020 20:04:43 +0900 Subject: [PATCH] [TEST] Fix nnfw unit test When testing the operation of the multi-framework, if tflite is disabled, the test fails. If tflite is disabled, skip the test. Signed-off-by: gichan-jang --- tests/tizen_nnfw_runtime/unittest_tizen_nnfw_runtime_raw.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/tizen_nnfw_runtime/unittest_tizen_nnfw_runtime_raw.cc b/tests/tizen_nnfw_runtime/unittest_tizen_nnfw_runtime_raw.cc index 8fac671..8f9284a 100644 --- a/tests/tizen_nnfw_runtime/unittest_tizen_nnfw_runtime_raw.cc +++ b/tests/tizen_nnfw_runtime/unittest_tizen_nnfw_runtime_raw.cc @@ -1231,6 +1231,7 @@ TEST (nnstreamer_nnfw_mlapi, multimodel_01_p) g_free (sink_called_cnt); } +#ifdef ENABLE_TENSORFLOW_LITE /** * @brief Test nnfw subplugin multi-model (pipeline, ML-API) * @detail Invoke two models which have different framework via Pipeline API, sharing a single input stream @@ -1327,6 +1328,7 @@ TEST (nnstreamer_nnfw_mlapi, multimodel_02_p) g_free (test_model); g_free (sink_called_cnt); } +#endif /* ENABLE_TENSORFLOW_LITE */ /** * @brief Main gtest -- 2.7.4