[Tests] Separate utilities for creation of dummy model and buffer
authorWook Song <wook16.song@samsung.com>
Wed, 21 Aug 2019 06:46:31 +0000 (15:46 +0900)
committer채동주/On-Device Lab(SR)/Staff Engineer/삼성전자 <dongju.chae@samsung.com>
Thu, 22 Aug 2019 03:19:31 +0000 (12:19 +0900)
commitd60c78f8954136c324c43b884c0a609ba26cb3e3
treed0edcbccbb5d86d00e13996a2a8ca5404d9f33ef
parent2488762d51b687ba11dd66c5fa6b1d4051e849cd
[Tests] Separate utilities for creation of dummy model and buffer

In order to make unit tests for several modules such as plugin-comm-ip
or app tests, it is required to create dummy models to be provided.
Fortunately, those procedure is already included in the
'dummy_inference' app test. Therefore, this patch separates those utility
functions for creation of dummy model and generic buffer from the
'dummy_inference' apptest. According to this change, dummy_inference
is also modified to use those separated functions.

Signed-off-by: Wook Song <wook16.song@samsung.com>
src/test/apptests/dummy_inference.c
src/test/apptests/meson.build
src/test/meson.build
src/test/ne_test_utils.c [new file with mode: 0644]
src/test/ne_test_utils.h [new file with mode: 0644]