Skip to content

Commit 3641b08

Browse files
committed
Removed checks for Modem PIL subsystem
THis commit fixes the issue with remoteproc test by removing the checks for modem as it is not supported for QCS6490 Signed-off-by: Vamsee Narapareddi <[email protected]>
1 parent 3bd98cd commit 3641b08

File tree

1 file changed

+11
-1
lines changed
  • Runner/suites/Kernel/FunctionalArea/baseport/remoteproc

1 file changed

+11
-1
lines changed

Runner/suites/Kernel/FunctionalArea/baseport/remoteproc/run.sh

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,17 @@ log_info "-------------------Starting $TESTNAME Testcase------------------------
4040
log_info "=== Test Initialization ==="
4141

4242
log_info "Getting the number of subsystems aavailable"
43-
subsystem_count=$(cat /sys/class/remoteproc/remoteproc*/state | wc -l)
43+
44+
available_rprocs=$(cat /sys/class/remoteproc/remoteproc*/firmware)
45+
46+
# Check if any line contains "modem"
47+
echo "$available_rprocs" | grep -q "modem"
48+
if [ $? -eq 0 ]; then
49+
subsystem_count=$(echo "$available_rprocs" | grep -v "modem" | wc -l)
50+
else
51+
# "modem" not found, count all lines
52+
subsystem_count=$(echo "$available_rprocs" | wc -l)
53+
fi
4454

4555
# Execute the command and get the output
4656
log_info "Checking if all the remoteprocs are in running state"

0 commit comments

Comments
 (0)