We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db56c88 commit 48611a1Copy full SHA for 48611a1
.github/workflows/test.yml
@@ -24,11 +24,10 @@ jobs:
24
. .venv/bin/activate
25
bmlab-scan | tee scan1.txt
26
count=$(grep -c "Target: *STM32F103RE" scan1.txt)
27
- serials=$(grep -A2 "Target: *STM32F103RE" scan1.txt | grep -oE 'Serial: *[0-9]+' | awk '{print $2}' | sort | uniq | wc -l)
28
- if [ "$count" -eq 3 ] && [ "$serials" -eq 3 ]; then
+ if [ "$count" -eq 3 ]; then
29
echo "Test 1 passed"
30
else
31
- echo "Test 1 failed: found $count STM32F103RE, $serials unique serials"; cat scan1.txt; exit 1
+ echo "Test 1 failed: found $count STM32F103RE"; cat scan1.txt; exit 1
32
fi
33
34
- name: Test 2 — bmlab-scan -p jlink
0 commit comments