diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-25 23:24:04 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-25 23:24:04 -0400 |
| commit | 5038a851258cf26185ab12d50056bc688d6b41cd (patch) | |
| tree | bab34420d2e172bb0436d22e7027fe1169af94d2 /scripts/testing/tests/test_packages.py | |
| parent | 4345f73d95aaa33cdd3292cebd73270fc605d8be (diff) | |
| download | archsetup-5038a851258cf26185ab12d50056bc688d6b41cd.tar.gz archsetup-5038a851258cf26185ab12d50056bc688d6b41cd.zip | |
fix(testing): keep the bare-metal runner past a failing Testinfra sweep
run-test-baremetal.sh runs under set -e, and the P-D migration left run_testinfra_validation called bare. It returns pytest's rc, so a failing sweep aborted the script before it wrote the report or the TEST FAILED summary. The old run_all_validations returned 0 and never tripped set -e. Mirror the VM runner: set +e around the call, capture the rc, and derive TEST_PASSED from it so the report and summary always run.
Diffstat (limited to 'scripts/testing/tests/test_packages.py')
0 files changed, 0 insertions, 0 deletions
