Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Runner/suites/Multimedia/Audio/AudioPlayback/Read_me.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Quick Example
```
git clone <this-repo>
cd <this-repo>
scp -r common Runner user@target_device_ip:<Path in device>
scp -r Runner user@target_device_ip:<Path in device>
ssh user@target_device_ip
cd <Path in device>/Runner && ./run-test.sh AudioPlayback
```
Expand Down
2 changes: 0 additions & 2 deletions Runner/suites/Multimedia/Audio/AudioPlayback/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,13 @@ log_info "Playback clip present: $PLAYBACK_CLIP"

# --- Capture logs BEFORE playback (for debugging) ---
dmesg > "$LOGDIR/dmesg_before.log"
cp /var/log/syslog "$LOGDIR/syslog_before.log" 2>/dev/null

# --- Start the Playback, capture output ---
timeout 15s paplay "$PLAYBACK_CLIP" -d "$AUDIO_DEVICE" > "$LOGDIR/playback_stdout.log" 2>&1
ret=$?

# --- Capture logs AFTER playback (for debugging) ---
dmesg > "$LOGDIR/dmesg_after.log"
cp /var/log/syslog "$LOGDIR/syslog_after.log" 2>/dev/null

if [ "$ret" -eq 0 ] || [ "$ret" -eq 124 ] ; then
log_pass "Playback completed or timed out (ret=$ret) as expected."
Expand Down
2 changes: 1 addition & 1 deletion Runner/suites/Multimedia/Audio/AudioRecord/Read_me.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Quick Example
```
git clone <this-repo>
cd <this-repo>
scp -r common Runner user@target_device_ip:<Path in device>
scp -r Runner user@target_device_ip:<Path in device>
ssh user@target_device_ip
cd <Path in device>Runner && ./run-test.sh AudioRecord
```
Expand Down
2 changes: 0 additions & 2 deletions Runner/suites/Multimedia/Audio/AudioRecord/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ check_dependencies "$TESTBINARY" pgrep timeout

# --- Capture logs BEFORE recording (for debugging) ---
dmesg > "$LOGDIR/dmesg_before.log"
cp /var/log/syslog "$LOGDIR/syslog_before.log" 2>/dev/null

# Remove old record file if present
rm -f "$RECORD_FILE"
Expand All @@ -59,7 +58,6 @@ ret=$?

# --- Capture logs AFTER recording (for debugging) ---
dmesg > "$LOGDIR/dmesg_after.log"
cp /var/log/syslog "$LOGDIR/syslog_after.log" 2>/dev/null

# --- Evaluate result: pass only if process completed successfully and file is non-empty ---
if ([ "$ret" -eq 0 ] || [ "$ret" -eq 124 ]) && [ -s "$RECORD_FILE" ]; then
Expand Down
14 changes: 7 additions & 7 deletions Runner/suites/Multimedia/Video/README_Video.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,26 +41,26 @@ Runner/

## Usage

1. Copy repo to Target Device: Use scp to transfer the scripts from the host to the target device. The scripts should be copied to the /var directory on the target device.
1. Copy repo to Target Device: Use scp to transfer the scripts from the host to the target device. The scripts should be copied to any directory on the target device.

2. Verify Transfer: Ensure that the repo have been successfully copied to the /var directory on the target device.
2. Verify Transfer: Ensure that the repo have been successfully copied to any directory on the target device.

3. Run Scripts: Navigate to the /var directory on the target device and execute the scripts as needed.
3. Run Scripts: Navigate to the directory where these files are copied on the target device and execute the scripts as needed.

Run a specific test using:
---
Quick Example
```
git clone <this-repo>
cd <this-repo>
scp -r common Runner user@target_device_ip:/var
scp -r Runner user@target_device_ip:<Path in device>
ssh user@target_device_ip
cd /var/Runner && ./run-test.sh iris_v4l2_video_encode
cd <Path in device>/Runner && ./run-test.sh iris_v4l2_video_encode
```
Sample output:
```
sh-5.2# cd /var/Runner && ./run-test.sh iris_v4l2_video_encode
[Executing test case: /var/Runner/suites/Multimedia/Video/iris_v4l2_video_encode] 1980-01-08 22:22:15 -
sh-5.2# cd <Path in device>/Runner && ./run-test.sh iris_v4l2_video_encode
[Executing test case: <Path in device>/Runner/suites/Multimedia/Video/iris_v4l2_video_encode] 1980-01-08 22:22:15 -
[INFO] 1980-01-08 22:22:15 - -----------------------------------------------------------------------------------------
[INFO] 1980-01-08 22:22:15 - -------------------Starting iris_v4l2_video_encode Testcase----------------------------
[INFO] 1980-01-08 22:22:15 - Checking if dependency binary is available
Expand Down
Loading