[BUG] Fix bugs in the unittest for srtlb APIs
authorDongju Chae <dongju.chae@samsung.com>
Wed, 30 Oct 2019 03:07:09 +0000 (12:07 +0900)
committer함명주/On-Device Lab(SR)/Principal Engineer/삼성전자 <myungjoo.ham@samsung.com>
Fri, 1 Nov 2019 04:20:09 +0000 (13:20 +0900)
commit0df1718a004588d23384c90d8a4cebaccca8f858
treed21e1226c38c57621ef03e91b22a684c06360c1d
parentd273a2553b48f73d29070aadd7725752ae74089e
[BUG] Fix bugs in the unittest for srtlb APIs

This commit fixes bugs in the unittest for srtlb APIs.

When dmabuf fds are mapped to srtlb driver, they should be valid.
So, this patch uses the exsiting APIs providing dmabuf-sharing, cgem APIs in NE.

Signed-off-by: Dongju Chae <dongju.chae@samsung.com>
src/test/unittests/meson.build
src/test/unittests/ne_core_tlb_test.cpp