projects
/
platform
/
upstream
/
nnstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
324702a
)
[Tests/CAPI] Add a #ifdef guard for test cases that require tflite
author
Wook Song
<wook16.song@samsung.com>
Wed, 8 Apr 2020 03:27:02 +0000
(12:27 +0900)
committer
MyungJoo Ham
<myungjoo.ham@samsung.com>
Wed, 8 Apr 2020 04:10:01 +0000
(13:10 +0900)
This patch adds a #ifdef guard for the test cases which require
TensorFlow Lite.
Signed-off-by: Wook Song <wook16.song@samsung.com>
tests/tizen_capi/unittest_tizen_capi.cc
patch
|
blob
|
history
diff --git
a/tests/tizen_capi/unittest_tizen_capi.cc
b/tests/tizen_capi/unittest_tizen_capi.cc
index
9851c66
..
74db5c1
100644
(file)
--- a/
tests/tizen_capi/unittest_tizen_capi.cc
+++ b/
tests/tizen_capi/unittest_tizen_capi.cc
@@
-4290,6
+4290,7
@@
TEST (nnstreamer_capi_singleshot, set_input_info_success_02)
ml_tensors_info_destroy (out_res);
}
+#ifdef ENABLE_TENSORFLOW_LITE
/**
* @brief Test NNStreamer single shot (tflite)
* @detail run the `ml_single_invoke_dynamic` api works properly.
@@
-4633,6
+4634,7
@@
TEST (nnstreamer_capi_singleshot, invoke_dynamic_fail_n)
g_free (test_model);
}
+#endif /* ENABLE_TENSORFLOW_LITE */
/**
* @brief Main gtest