Created
August 21, 2025 20:41
-
-
Save marc-hb/2c10c518ff0e4f009b89212cf4fa1a2c to your computer and use it in GitHub Desktop.
sof-bin-bats.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -ex | |
# don't forget proxies | |
main() | |
{ | |
sudo dnf install bats || sudo apt-get install bats || brew install bats | |
test -d sof || | |
git clone https://github.com/thesofproject/sof | |
test -d sof-bin || | |
git clone https://github.com/thesofproject/sof-bin | |
cd sof-bin | |
time bats tests/ | |
} | |
{ | |
main "$@"; exit $? | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment