[Repo/Test] make it easier to understand
authorHyoung Joo Ahn <hello.ahn@samsung.com>
Tue, 16 Jun 2020 03:13:41 +0000 (12:13 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 16 Jun 2020 10:49:45 +0000 (19:49 +0900)
applying line change at the complicated pipeline to understand easier.

Signed-off-by: Hyoung Joo Ahn <hello.ahn@samsung.com>
tests/nnstreamer_repo_lstm/runTest.sh

index dbc1fff..88766fe 100755 (executable)
@@ -51,7 +51,18 @@ fi
 # Generate video_4x4xBGRx.xraw & golden
 python generateTestCase.py
 
-gstTest "--gst-plugin-path=../../build tensor_mux name=mux sync_mode=nosync ! tensor_filter framework=custom model=${LSTM_DIR}/libdummyLSTM.${SO_EXT} ! tensor_demux name=demux ! queue ! tensor_reposink slot-index=0 silent=false demux.src_1 ! queue ! tee name=t ! queue ! tensor_reposink slot-index=1 silent=false tensor_reposrc slot-index=0 silent=false caps=\"other/tensor,dimension=(string)4:4:4:1,type=(string)float32,framerate=(fraction)0/1\" ! mux.sink_0 tensor_reposrc slot-index=1 silent=false caps=\"other/tensor,dimension=(string)4:4:4:1,type=(string)float32,framerate=(fraction)0/1\" ! mux.sink_1 filesrc location=\"video_4x4xBGRx.xraw\" ! application/octet-stream ! tensor_converter input-dim=4:4:4:1 input-type=float32 ! mux.sink_2 t. ! queue ! multifilesink location=\"out_%1d.log\"" 1 0 0 $PERFORMANCE
+gstTest "--gst-plugin-path=../../build \
+tensor_mux name=mux sync_mode=nosync ! \
+tensor_filter framework=custom model=${LSTM_DIR}/libdummyLSTM.${SO_EXT} ! \
+tensor_demux name=demux \
+    demux.src_0 ! queue ! tensor_reposink slot-index=0 silent=false \
+    demux.src_1 ! queue ! tee name=t \
+        t. ! queue ! tensor_reposink slot-index=1 silent=false \
+        t. ! queue ! multifilesink location=\"out_%1d.log\" \
+    tensor_reposrc slot-index=0 silent=false caps=\"other/tensor,dimension=(string)4:4:4:1,type=(string)float32,framerate=(fraction)0/1\" ! mux.sink_0 \
+    tensor_reposrc slot-index=1 silent=false caps=\"other/tensor,dimension=(string)4:4:4:1,type=(string)float32,framerate=(fraction)0/1\" ! mux.sink_1 \
+    filesrc location=\"video_4x4xBGRx.xraw\" ! application/octet-stream ! tensor_converter input-dim=4:4:4:1 input-type=float32 ! mux.sink_2" 
+1 0 0 $PERFORMANCE
 
 callCompareTest lstm.golden out_9.log 1-1 "Compare 1-1" 1 0