main/bootrr: detect failure (MR 4542)

Properly detect failures in bootrr

Signed-off-by: Caleb Connolly <caleb@connolly.tech>
This commit is contained in:
Caleb Connolly 2023-11-29 00:40:18 +00:00 committed by Stefan Hansson
parent 5fa718644e
commit d67268bef9
No known key found for this signature in database
GPG key ID: 8A700086A9FE41FD
2 changed files with 8 additions and 3 deletions

View file

@ -1,4 +1,9 @@
#!/bin/sh -e
# Description: bootrr sanity check
bootrr
bootrr | tee bootrr.log
if [ grep -q 'fail' bootrr.log ]; then
echo "PMOS-CI-TEST: bootrr sanity check failed"
exit 1
fi

View file

@ -2,7 +2,7 @@
pkgname=bootrr
pkgver=0.1_git20230827
_commit="cac8008d8ba6ba6e7361e87022d7ac1940b8c8b8"
pkgrel=0
pkgrel=1
pkgdesc="A sanity checker for boards under automated test"
url="https://github.com/andersson/bootrr"
arch="noarch"
@ -39,7 +39,7 @@ pmtest() {
sha512sums="
139f480470518795dba89c1efd1632c595b4a2dba040735d2c1bc6d34f368ad77336a20d6513fac108d9f891d9cec53ee1511bc02e7483563e08954de57e1eff bootrr-cac8008d8ba6ba6e7361e87022d7ac1940b8c8b8.tar.gz
bd0ed41c4dba232b6ac211ae58cad83b15a4408829cd8df0a866453b014c8d4b17900d9310e8a2a02248f6da8853bdd2b04ed96c250204def8e086c0ba15b9e7 00-bootrr.files
55fc3907afe4ae211020885bc8b3515169b26e6717e537276492bd4ed283af2758b98cba07f9bc26847b147208772feb733344f490bbc836f8c16ecbea7c4a3d 00-bootrr.sh
f5568803fe5d0254da222e09e06a062f77a98cfa5f438c54c788f6a08d56ea1a7b85f75595ad46c2a173e95681df58552ae572eba30b3239d5e4c225b4c54a2a 00-bootrr.sh
493d615c00125bd1838b8a3afab222561908a4a247595d33b5116c88a354102ef9e2139cc6578a968a73a3062b04d8a42d641d62c8698d23173c76777816c332 0001-bin-generate-use-POSIX-sh-and-support-spaces.patch
6f203515aa1536b6aa40dcdfd7f7ab7adfc36559ba513652d92865098f7f0e06757d2fe2d0f66ea05c3fea1f9577673cf13d78afdd21173f812d70937f4eb6fc 0002-boards-support-OnePlus-6-6T.patch
"