From: MyungJoo Ham Date: Mon, 25 Feb 2019 06:42:28 +0000 (+0900) Subject: [Unittest/Split] Test tensorpick property X-Git-Tag: v0.1.1~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dabaf756ad7815a0b3e41e4b2a37de095faa21a9;p=platform%2Fupstream%2Fnnstreamer.git [Unittest/Split] Test tensorpick property Tensorpick feature is not tested in unittest. Add a corresponding test case. Signed-off-by: MyungJoo Ham --- diff --git a/tests/nnstreamer_split/runTest.sh b/tests/nnstreamer_split/runTest.sh index ae9d72f..4193d8f 100644 --- a/tests/nnstreamer_split/runTest.sh +++ b/tests/nnstreamer_split/runTest.sh @@ -61,4 +61,10 @@ callCompareTest testcase_stream_2_0.golden split05_0.log 6_0 "Compare 6-0" 1 0 callCompareTest testcase_stream_2_1.golden split05_1.log 6_1 "Compare 6-1" 1 0 callCompareTest testcase_stream_2_2.golden split05_2.log 6_2 "Compare 6-2" 1 0 +# Test tensor_pick +gstTest "--gst-plugin-path=${PATH_TO_PLUGIN} multifilesrc location=\"testsequence_%1d.png\" index=0 caps=\"image/png, framerate=(fraction)30/1\" ! pngdec ! tensor_converter ! tensor_split name=split tensorpick=0,1 tensorseg=1:16:16,1:16:16,1:16:16 split. ! queue ! filesink location=split07_0.log split. ! queue ! filesink location=split07_1.log" 7 0 0 $PERFORMANCE + +callCompareTest testcase_stream_2_0.golden split07_0.log 7_0 "Compare 7-0" 1 0 +callCompareTest testcase_stream_2_1.golden split07_1.log 7_1 "Compare 7-1" 1 0 + report