[test/ext] Add condition for function to exist
authorParichay Kapoor <pk.kapoor@samsung.com>
Tue, 24 Dec 2019 08:31:26 +0000 (17:31 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Fri, 17 Jan 2020 05:44:59 +0000 (14:44 +0900)
commit2fe6e0db2803e6af3aecea8f9372e94e3587a8d3
tree77f1d43dbcc477fdc522cffda8d0679909feccad
parent0bf7200e139128767b66c6003672cd6338d49959
[test/ext] Add condition for function to exist

Verify that the function is available before running tests for that function
Added the above verification for getInputDimension and getOutputDimension
Further enhanced invoke test to run successfully if the getDimension exists

V2:
Added gst_tensors_info_free to catch memleak of tensor_info->name

Signed-off-by: Parichay Kapoor <pk.kapoor@samsung.com>
tests/nnstreamer_filter_extensions_common/unittest_tizen_template.cc.in