diff --git a/tests/ports/psoc6/run_psoc6_tests.sh b/tests/ports/psoc6/run_psoc6_tests.sh index 43c130235ad8..8c493d36bffd 100755 --- a/tests/ports/psoc6/run_psoc6_tests.sh +++ b/tests/ports/psoc6/run_psoc6_tests.sh @@ -144,7 +144,7 @@ run_tests() { test_dir_flag="-d" case ${tests} in *.py) test_dir_flag="";; esac - ./run-tests.py --target psoc6 --device ${test_dev} ${test_dir_flag} ${tests} ${excluded_tests} + ./run-tests.py -t port:${test_dev} ${test_dir_flag} ${tests} ${excluded_tests} exit_code=$?