[tests] Replace make-based packaged macOS test runner with C# script#25749
[tests] Replace make-based packaged macOS test runner with C# script#25749rolfbjarne wants to merge 6 commits into
Conversation
Replace the Makefile-based test runner (packaged-macos-tests.mk + run-with-timeout + mac-test-report-generator) with a single C# script project (scripts/run-packaged-macos-tests) that: - Executes pre-built macOS and Mac Catalyst test apps with timeout and launch retry logic (previously in run-with-timeout) - Generates an HTML report with per-platform/architecture breakdown tables (previously in mac-test-report-generator) - Generates TestSummary.md for GitHub PR comments - Handles ARM64/x64 architecture detection and skipping - Reports crash reports Simplify run_mac_tests.ps1 to delegate all test execution and reporting to the new C# tool, and update package-mac-tests.sh to include it in the test package. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The --autostart --autoexit arguments are only passed to Mac Catalyst test apps, matching the behavior in packaged-macos-tests.mk. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Combine stdout and stderr into a single output file per test config - Add output file link directly in the table's Output column - Show [FAIL] lines immediately after each failing test row in the table instead of in a separate list after the table Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ [PR Build #f7220b4] Build passed (Build packages) ✅Pipeline on Agent |
✅ [PR Build #f7220b4] Build passed (Build macOS tests) ✅Pipeline on Agent |
This comment has been minimized.
This comment has been minimized.
🔥 [CI Build #f7220b4] Test results 🔥Test results❌ Tests failed on VSTS: test results 5 tests crashed, 19 tests failed, 176 tests passed. Failures❌ linker tests (tvOS)15 tests failed, 0 tests passed.Failed tests
Html Report (VSDrops) Download ❌ monotouch tests (macOS)3 tests failed, 21 tests passed.Failed tests
Html Report (VSDrops) Download ❌ windows tests1 tests failed, 2 tests passed.Failed tests
Html Report (VSDrops) Download ❌ Tests on macOS Monterey (12) tests🔥 Failed catastrophically on VSTS: test results - mac_monterey (no summary found). Html Report (VSDrops) Download ❌ Tests on macOS Ventura (13) tests🔥 Failed catastrophically on VSTS: test results - mac_ventura (no summary found). Html Report (VSDrops) Download ❌ Tests on macOS Sonoma (14) tests🔥 Failed catastrophically on VSTS: test results - mac_sonoma (no summary found). Html Report (VSDrops) Download ❌ Tests on macOS Sequoia (15) tests🔥 Failed catastrophically on VSTS: test results - mac_sequoia (no summary found). Html Report (VSDrops) Download ❌ Tests on macOS Tahoe (26) tests🔥 Failed catastrophically on VSTS: test results - mac_tahoe (no summary found). Html Report (VSDrops) Download Successes✅ assembly-processing: All 1 tests passed. Html Report (VSDrops) Download |
🔥 [PR Build #f7220b4] Build failed (Detect API changes) 🔥Build failed for the job 'Detect API changes' (with job status 'Failed') Pipeline on Agent |
|
🔥 Unable to find the contents for the comment: D:\a\1\s\change-detection\results\gh-comment.md does not exist :fire Pipeline on Agent |
🔥 [CI Build #f7220b4] Test results 🔥Test results❌ Tests failed on VSTS: test results 0 tests crashed, 1 tests failed, 219 tests passed. Failures❌ monotouch tests (macOS) [attempt 2]1 tests failed, 23 tests passed.Failed tests
Html Report (VSDrops) Download Successes✅ assembly-processing: All 1 tests passed. Html Report (VSDrops) Download macOS tests✅ Tests on macOS Monterey (12): All 5 tests passed. Html Report (VSDrops) Download Linux Build VerificationPipeline on Agent |
Replace the Makefile-based test runner (
packaged-macos-tests.mk+run-with-timeout+mac-test-report-generator) with a single C# script project (scripts/run-packaged-macos-tests) that:Simplifies
run_mac_tests.ps1from ~235 lines to ~150 lines by delegating all test execution and reporting to the new C# tool.🤖 Pull request created by Copilot