Skip to content

Conversation

@euanh
Copy link
Collaborator

@euanh euanh commented Apr 10, 2025

Motivation

Tests scripts are used by GitHub Actions and when running tests locally. They should have consistent structures, clean up after themselves and print useful messages so that failures can be diagnosed.

Modifications

  • Update all test scripts to use the same structure and cleanup options as run-integration-tests.sh
  • Add better diagnostic messages

Result

Test failures will be easier to diagnose

Test Plan

Existing tests continue to pass.

@euanh euanh added area/testing Improvements to tests. semver/none No version bump required. labels Apr 10, 2025
@euanh euanh changed the title tests: Make test-elf-detection.sh more robust tests: Make test shell scripts used by GitHub Actions more robust Apr 10, 2025
@euanh euanh changed the title tests: Make test shell scripts used by GitHub Actions more robust tests: Improve diagnostics and robustness of test shell scripts Apr 10, 2025
@euanh euanh force-pushed the test-script-robustness branch from e93e408 to bb98b64 Compare April 10, 2025 12:28
@euanh euanh merged commit 4c6f38d into apple:main Apr 10, 2025
20 checks passed
@euanh euanh deleted the test-script-robustness branch April 10, 2025 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/testing Improvements to tests. semver/none No version bump required.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant