mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-11-14 09:38:50 +00:00
The loop threw away each subshell's status and had no set -e, so a failed docker build left no trace but docker's own error text, buried in the scrollback of 17 image builds. Worse, a for loop exits with the status of its last iteration, so the script returned 0 whenever the final entry succeeded, no matter how many earlier ones had failed. Collect the failures and print them as a summary, exit 1 if there are any. A name in the list with no matching directory is counted as a failure too rather than passing by as a one-line cd error, which is how ubuntu-24.10 has been quietly skipped since that directory went away. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Docker tests
Usage:
- enter one of the subfolders
../build.shto build the docker image../run.shto run a container and get a shell../run.sh teststo run a container and execute itsrun_tests.sh