| 1 | #!/bin/bash |
| 2 | # |
| 3 | # run_all_codec2_tests |
| 4 | |
| 5 | # Find the scripts directory |
| 6 | SCRIPTS="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" |
| 7 | |
| 8 | # Setup common variables |
| 9 | source $SCRIPTS/run_tests_common.sh |
| 10 | |
| 11 | declare -i Fails=0 |
| 12 | |
| 13 | run_all_codec2_tests "$@" || Fails+=1 |
| 14 | run_all_ofdm_tests "$@" || Fails+=1 |
| 15 | run_all_ldpc_tests "$@" || Fails+=1 |
| 16 | |
| 17 | if (( $Fails == 0 )); then |
| 18 | echo -e "\nAll STM32 Tests PASSED" |
| 19 | else |
| 20 | echo -e "\n$Fails STM32 Tests FAILED!" |
| 21 | fi |
| 22 | |
| 23 | exit $Fails |
| 24 | |
| 25 | # vi:set ts=4 et sts=4: |