diff --git a/Runner/suites/Kernel/Baseport/wpss_remoteproc/run.sh b/Runner/suites/Kernel/Baseport/wpss_remoteproc/run.sh index 306b6ad8..aaad5313 100755 --- a/Runner/suites/Kernel/Baseport/wpss_remoteproc/run.sh +++ b/Runner/suites/Kernel/Baseport/wpss_remoteproc/run.sh @@ -33,6 +33,12 @@ TESTNAME="wpss_remoteproc" FW="wpss" RES_FILE="./$TESTNAME.res" +# Run from the testcase directory so relative outputs (like .res) land next to run.sh +test_path="$(find_test_case_by_name "$TESTNAME")" +cd "$test_path" || { + echo "[ERROR] Could not cd to testcase path: $test_path" >&2 + exit 1 +} log_info "-----------------------------------------------------------------------------------------" log_info "------------------- Starting $TESTNAME Testcase ----------------------------" log_info "=== Test Initialization ==="