test(suites): run acceptance and fault flows on dummy backend
This commit is contained in:
@@ -126,23 +126,19 @@ run_matrix_row() {
|
||||
|
||||
local sim_label="acc_${order}_${protocol}_${codec}"
|
||||
|
||||
local sim_cmd=(
|
||||
"${BUILD_DIR}/cvmmap_sim"
|
||||
--shm-name "${shm_name}"
|
||||
--zmq-endpoint "${zmq_endpoint}"
|
||||
--label "${sim_label}"
|
||||
--frames 320
|
||||
--fps 200
|
||||
--width 640
|
||||
--height 360
|
||||
)
|
||||
|
||||
local streamer_cmd=(
|
||||
"${BUILD_DIR}/cvmmap_streamer"
|
||||
--run-mode pipeline
|
||||
--codec "${codec}"
|
||||
--shm-name "${shm_name}"
|
||||
--zmq-endpoint "${zmq_endpoint}"
|
||||
--input-mode dummy
|
||||
--dummy-label "${sim_label}"
|
||||
--dummy-frames 320
|
||||
--dummy-fps 200
|
||||
--dummy-width 640
|
||||
--dummy-height 360
|
||||
--dummy-startup-delay-ms 0
|
||||
--queue-size 1
|
||||
--gop 30
|
||||
--b-frames 0
|
||||
@@ -220,12 +216,7 @@ run_matrix_row() {
|
||||
cleanup_pids+=("${tester_pid}")
|
||||
|
||||
sleep 1
|
||||
|
||||
"${sim_cmd[@]}" > "${sim_log}" 2>&1 &
|
||||
local sim_pid=$!
|
||||
cleanup_pids+=("${sim_pid}")
|
||||
|
||||
sleep 1
|
||||
: > "${sim_log}"
|
||||
|
||||
"${streamer_cmd[@]}" > "${streamer_log}" 2>&1
|
||||
local streamer_rc=$?
|
||||
@@ -233,8 +224,7 @@ run_matrix_row() {
|
||||
wait_pid "${tester_pid}" 15
|
||||
local tester_rc=$?
|
||||
|
||||
wait_pid "${sim_pid}" 15
|
||||
local sim_rc=$?
|
||||
local sim_rc=0
|
||||
|
||||
row_end_ms="$(date +%s%3N)"
|
||||
duration_ms=$((row_end_ms - row_start_ms))
|
||||
@@ -269,11 +259,10 @@ run_matrix_row() {
|
||||
}
|
||||
|
||||
main() {
|
||||
local required=(
|
||||
"${BUILD_DIR}/cvmmap_sim"
|
||||
"${BUILD_DIR}/cvmmap_streamer"
|
||||
"${BUILD_DIR}/rtp_receiver_tester"
|
||||
"${BUILD_DIR}/rtmp_stub_tester"
|
||||
local required=(
|
||||
"${BUILD_DIR}/cvmmap_streamer"
|
||||
"${BUILD_DIR}/rtp_receiver_tester"
|
||||
"${BUILD_DIR}/rtmp_stub_tester"
|
||||
)
|
||||
|
||||
local missing=()
|
||||
|
||||
Reference in New Issue
Block a user