Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix RTOS test failures #222

Merged
merged 3 commits into from
Nov 15, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions test/rtos_drivers/clock_control/check_clock_control.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ elif [ "$UNAME" == "Darwin" ] ; then
gtimeout ${TIMEOUT_S}s xrun --xscope ${REPO_ROOT}/dist/${FIRMWARE} 2>&1 | tee -a ${REPORT}
fi

if [[ $? -eq 124 ]]; then
echo "ERROR: TEST TIMED OUT after ${TIMEOUT_S} seconds"
fi

echo "****************"
echo "* Parse Result *"
echo "****************"
Expand Down
6 changes: 5 additions & 1 deletion test/rtos_drivers/hil/check_drivers_hil.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ done
# assign vars
REPORT=testing/test.rpt
FIRMWARE=dist/test_rtos_driver_hil.xe
TIMEOUT_S=60
TIMEOUT_S=100
if [ ! -z "${@:$OPTIND:1}" ]
then
ADAPTER_ID="--adapter-id ${@:$OPTIND:1}"
Expand All @@ -53,6 +53,10 @@ elif [ "$UNAME" == "Darwin" ] ; then
gtimeout ${TIMEOUT_S}s xrun --xscope ${ADAPTER_ID} ${REPO_ROOT}/${FIRMWARE} 2>&1 | tee -a ${REPORT}
fi

if [[ $? -eq 124 ]]; then
echo "ERROR: TEST TIMED OUT after ${TIMEOUT_S} seconds"
fi

echo "****************"
echo "* Parse Result *"
echo "****************"
Expand Down
4 changes: 4 additions & 0 deletions test/rtos_drivers/hil_add/check_drivers_hil_add.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ elif [ "$UNAME" == "Darwin" ] ; then
gtimeout ${TIMEOUT_S}s xrun --xscope ${ADAPTER_ID} ${REPO_ROOT}/${FIRMWARE} 2>&1 | tee -a ${REPORT}
fi

if [[ $? -eq 124 ]]; then
echo "ERROR: TEST TIMED OUT after ${TIMEOUT_S} seconds"
fi

echo "****************"
echo "* Parse Result *"
echo "****************"
Expand Down
4 changes: 4 additions & 0 deletions test/rtos_drivers/wifi/check_wifi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ elif [ "$UNAME" == "Darwin" ] ; then
gtimeout ${TIMEOUT_S}s xrun --xscope ${ADAPTER_ID} ${REPO_ROOT}/dist/${FIRMWARE} 2>&1 | tee -a ${REPORT}
fi

if [[ $? -eq 124 ]]; then
echo "ERROR: TEST TIMED OUT after ${TIMEOUT_S} seconds"
fi

echo "****************"
echo "* Parse Result *"
echo "****************"
Expand Down