[Test/Decoder] Fix SSAT usage
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 6 Nov 2018 11:02:15 +0000 (20:02 +0900)
committersewon <sewon.oh@samsung.com>
Wed, 7 Nov 2018 03:33:58 +0000 (12:33 +0900)
Golden case should be the first parameter for callCompareTest.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
tests/nnstreamer_decoder/runTest.sh

index 4c28d96..d14f181 100644 (file)
@@ -36,7 +36,7 @@ function do_test {
 
     gstTest "--gst-plugin-path=${PATH_TO_PLUGIN} filesrc location=testcase01_${1}_${2}x${3}.png ! pngdec ! videoscale ! imagefreeze ! videoconvert ! video/x-raw,format=${1},width=${2},height=${3},framerate=0/1 ! tensor_converter ! tensor_decoder mode=direct_video ! filesink location=\"testcase01_${1}_${2}x${3}.log\" sync=true" ${4} 0 0 $PERFORMANCE
 
-    callCompareTest testcase01_${1}_${2}x${3}.log testcase01_${1}_${2}x${3}.golden.raw ${4} "Golden Test ${4}" 1 0
+    callCompareTest testcase01_${1}_${2}x${3}.golden.raw testcase01_${1}_${2}x${3}.log ${4} "Golden Test ${4}" 1 0
 }
 
 do_test RGB 640 480 1