Skip to content

Commit 1119e67

Browse files
committed
Fix m33mu command line
1 parent f4775c4 commit 1119e67

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

.github/workflows/stm32h5-tls-m33mu.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,7 @@ jobs:
4949
- name: Run TLS Server (m33mu)
5050
working-directory: src/port/stm32h563
5151
run: |
52-
m33mu --vde /tmp/vde_switch.ctl \
53-
--expect-bkpt 0x7f \
54-
--timeout 60 \
55-
app-server.bin > server.log 2>&1 &
52+
m33mu --vde /tmp/vde_switch.ctl --expect-bkpt 0x7f --timeout 60 app-server.bin > server.log 2>&1 &
5653
SERVER_PID=$!
5754
echo "Server started with PID $SERVER_PID"
5855
echo $SERVER_PID > /tmp/server.pid
@@ -63,17 +60,14 @@ jobs:
6360
- name: Run TLS Client (m33mu)
6461
working-directory: src/port/stm32h563
6562
run: |
66-
m33mu --vde /tmp/vde_switch.ctl \
67-
--expect-bkpt 0x7f \
68-
--timeout 60 \
69-
app-client.bin > client.log 2>&1
63+
m33mu --vde /tmp/vde_switch.ctl --expect-bkpt 0x7f --timeout 60 app-client.bin > client.log 2>&1
7064
CLIENT_EXIT=$?
7165
echo "Client exit code: $CLIENT_EXIT"
7266
echo "Client log:"
7367
cat client.log
7468
if [ $CLIENT_EXIT -ne 0 ]; then
7569
echo "ERROR: Client test failed!"
76-
exit 1
70+
exit $CLIENT_EXIT
7771
fi
7872
7973
- name: Check Server Result

0 commit comments

Comments
 (0)