Skip to content

Commit 5205ec6

Browse files
committed
Minor fix for remoteproc test
This commit fixes the issue with remoteproc test to ignore remoteproc state for modem only in case of RB3Gen2 Signed-off-by: Vamsee Narapareddi <vnarapar@qti.qualcomm.com>
1 parent 5d57b46 commit 5205ec6

File tree

1 file changed

+3
-1
lines changed
  • Runner/suites/Kernel/Baseport/remoteproc

1 file changed

+3
-1
lines changed

Runner/suites/Kernel/Baseport/remoteproc/run.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,13 @@ log_info "=== Test Initialization ==="
4141

4242
log_info "Getting the number of subsystems aavailable"
4343

44+
detect_platform
45+
4446
available_rprocs=$(cat /sys/class/remoteproc/remoteproc*/firmware)
4547

4648
# Check if any line contains "modem"
4749
echo "$available_rprocs" | grep -q "modem"
48-
if [ $? -eq 0 ]; then
50+
if [ $? -eq 0 ] && [ ${PLATFORM_TARGET} = "Kodiak" ]; then
4951
subsystem_count=$(echo "$available_rprocs" | grep -v "modem" | wc -l)
5052
else
5153
# "modem" not found, count all lines

0 commit comments

Comments
 (0)