Skip to content

Commit

Permalink
aws-crt-python: fix ptests for dunfell
Browse files Browse the repository at this point in the history
fix cpython unittest error: python/cpython#90579
  • Loading branch information
thomas-roos authored and aws-iot-embedded-linux-ci2 committed Mar 20, 2023
1 parent 45e7f64 commit fc27aff
Showing 1 changed file with 18 additions and 17 deletions.
35 changes: 18 additions & 17 deletions recipes-sdk/aws-crt-python/files/run-ptest
Expand Up @@ -6,26 +6,27 @@ cd tests/

# known good tests
TESTS="\
./test/test_appexit.py \
./test/test_auth.py \
./test/test_checksums.py \
./test/test_common.py \
./test/test_crypto.py \
./test/test_eventstream.py \
./test/test_eventstream_rpc.py \
./test/test_exceptions.py \
./test/test_http_headers.py \
./test/test_io.py \
./test/test_mqtt.py \
./test/test_mqtt5.py \
./test/test_proxy.py \
./test/test_s3.py \
./test/test_websocket.py \
test/test_appexit.py \
test/test_auth.py \
test/test_checksums.py \
test/test_common.py \
test/test_crypto.py \
test/test_eventstream.py \
test/test_eventstream_rpc.py \
test/test_exceptions.py \
test/test_http_headers.py \
test/test_io.py \
test/test_mqtt.py \
test/test_mqtt5.py \
test/test_proxy.py \
test/test_s3.py \
test/test_websocket.py \
"

for TEST in $TESTS
do
python3 -v -m unittest $TEST
cd tests
python3 -m unittest $TEST
RETVAL=$?
if [ $RETVAL -eq 0 ] ; then
echo "PASS: aws-crt-python unittest: $TEST"
Expand All @@ -36,4 +37,4 @@ done

### removed tests ####
# ./test/test_http_client.py
# ./test/test_mqtt5_canary.py
# ./test/test_mqtt5_canary.py

0 comments on commit fc27aff

Please sign in to comment.