Skip to content

Commit 6b01399

Browse files
authored
Merge pull request #232 from vnarapar/remoteproc_fix
Minor fix for remoteproc test
2 parents 5d57b46 + 5205ec6 commit 6b01399

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)