Skip to content

Commit c2db179

Browse files
committed
fix(wpss_remoteproc): write .res next to test by cd’ing into testcase dir
- Align with other remoteproc tests: use find_test_case_by_name + cd - Ensures ./wpss_remoteproc.res is created under the suite folder so LAVA can pick it up Signed-off-by: Srikanth Muppandam <[email protected]>
1 parent 51e033b commit c2db179

File tree

1 file changed

+6
-0
lines changed
  • Runner/suites/Kernel/Baseport/wpss_remoteproc

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ TESTNAME="wpss_remoteproc"
3333
FW="wpss"
3434
RES_FILE="./$TESTNAME.res"
3535

36+
# Run from the testcase directory so relative outputs (like .res) land next to run.sh
37+
test_path="$(find_test_case_by_name "$TESTNAME")"
38+
cd "$test_path" || {
39+
echo "[ERROR] Could not cd to testcase path: $test_path" >&2
40+
exit 1
41+
}
3642
log_info "-----------------------------------------------------------------------------------------"
3743
log_info "------------------- Starting $TESTNAME Testcase ----------------------------"
3844
log_info "=== Test Initialization ==="

0 commit comments

Comments
 (0)