Verify build artifacts and surface probe diagnostics; fail on a zero-test CI run

This commit is contained in:
J. Nick Koston
2026-08-22 20:49:02 -05:00
parent 13ae59378d
commit 64d0137ab8
4 changed files with 105 additions and 6 deletions
+6
View File
@@ -1178,6 +1178,12 @@ def test_components(
toolchain=toolchain,
)
if not test_results:
# A green run that compiled nothing (renamed/removed test fixture,
# bad platform filter) must not pass CI
print("No tests matched the requested components/platform")
return 1
# Separate results into passed and failed
passed_results = [r for r in test_results if r.success]
failed_results = [r for r in test_results if not r.success]