File tree Expand file tree Collapse file tree
GSTreamer/Audio/Audio_Playback Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -119,6 +119,7 @@ cd "$test_path" || {
119119}
120120
121121# -------------------- Helpers --------------------
122+ # shellcheck disable=SC2317 # Helper kept for optional debug use.
122123log_debug () { [ " $VERBOSE " -eq 1 ] && log_info " [debug] $* " ; }
123124
124125cmd_to_string () {
Original file line number Diff line number Diff line change @@ -284,6 +284,13 @@ else
284284fi
285285log_info " Summary file: $OUT_DIR /summary.txt"
286286
287+ # ---------- Artifacts ----------
288+ log_info " Artifacts under: $OUT_DIR /"
289+ for IDX in $INDICES ; do
290+ CAM_DIR=" ${OUT_DIR%/ } /cam${IDX} "
291+ log_info " - $CAM_DIR /"
292+ done
293+
287294# ---------- Final verdict ----------
288295if [ " $OVERALL_PASS " -eq 1 ] && [ $ANY_RC_NONZERO -eq 0 ]; then
289296 echo " $TESTNAME PASS" > " $RES_FILE "
@@ -294,10 +301,3 @@ else
294301 log_fail " $TESTNAME FAIL"
295302 exit 1
296303fi
297-
298- # ---------- Artifacts ----------
299- log_info " Artifacts under: $OUT_DIR /"
300- for IDX in $INDICES ; do
301- CAM_DIR=" ${OUT_DIR%/ } /cam${IDX} "
302- log_info " - $CAM_DIR /"
303- done
Original file line number Diff line number Diff line change @@ -96,6 +96,7 @@ if [ -n "$channels" ]; then
9696 channelsUser=" 1"
9797fi
9898
99+ # shellcheck disable=SC2317 # Invoked indirectly via trap.
99100cleanup () {
100101 pkill -x gst-launch-1.0 > /dev/null 2>&1 || true
101102}
Original file line number Diff line number Diff line change @@ -1386,5 +1386,3 @@ else
13861386 printf ' %s\n' " $TESTNAME FAIL" > " $RES_FILE "
13871387 exit 1
13881388fi
1389-
1390- exit " $suite_rc "
You can’t perform that action at this time.
0 commit comments