[Test/tensordec-pose] Add test case with more buffers
authorYongjoo Ahn <yongjoo1.ahn@samsung.com>
Tue, 28 Apr 2020 12:02:26 +0000 (21:02 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Sun, 3 May 2020 04:53:44 +0000 (13:53 +0900)
The test with `videotestsrc num_buffers=4` sometimes does not enough to execute some functions. This commit adds a test with more buffers.

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
tests/nnstreamer_decoder_pose/runTest.sh

index 57a77c3..2979969 100755 (executable)
@@ -30,4 +30,7 @@ gstTest "--gst-plugin-path=${PATH_TO_PLUGIN} videotestsrc ! videoconvert ! video
 # THIS WON'T FAIL, BUT NOT MUCH MEANINGFUL.
 gstTest "--gst-plugin-path=${PATH_TO_PLUGIN} videotestsrc num_buffers=4 ! videoconvert ! videoscale ! video/x-raw,width=14,height=14,format=RGB ! tensor_converter ! tensor_split name=a tensorseg=1:14:14:1,2:14:14:1 a.src_0 ! tensor_transform mode=transpose option=1:2:0:3 ! tensor_decoder mode=pose_estimation option1=320:240 option2=14:14 ! fakesink" 1 0 0 $PERFORMANCE
 
+# TEST WITH MORE BUFFERS
+gstTest "--gst-plugin-path=${PATH_TO_PLUGIN} videotestsrc num_buffers=100 ! videoconvert ! videoscale ! video/x-raw,width=14,height=14,format=RGB ! tensor_converter ! tensor_split name=a tensorseg=1:14:14:1,2:14:14:1 a.src_0 ! tensor_transform mode=transpose option=1:2:0:3 ! tensor_decoder mode=pose_estimation option1=320:240 option2=14:14 option3=notused ! fakesink" 2 0 0 $PERFORMANCE
+
 report