Skip to content

[ATfE] Fix and re-enable package test on MacOS #339

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 21, 2025

Conversation

pratlucas
Copy link
Contributor

The package test implementation curretly relies on using the CMake tar
command to unpack the toolchain for testing. As this CMake command is
not able to handle .dmg image files, the package test was disabled
temporarily on MacOS platforms.
This change implements an alternative way to unpack the toolchain .dmg
file for testing on MacOS. It introduces a new extract_dmg.sh script
that makes use of the hdiutil program to extract the contents
correctly. With the fix in place, this change also re-enables the
package tests on MacOS platforms.

The package test implementation curretly relies on using the CMake `tar`
command to unpack the toolchain for testing. As this CMake command is
not able to handle .dmg image files, the package test was disabled
temporarily on MacOS platforms.
This change implements an alternative way to unpack the toolchain .dmg
file for testing on MacOS. It introduces a new `extract_dmg.sh` script
that makes use of the `hdiutil` program to extract the contents
correctly. With the fix in place, this change also re-enables the
package tests on MacOS platforms.
@pratlucas pratlucas requested review from dcandler and statham-arm May 20, 2025 15:43
@pratlucas pratlucas merged commit a4b0d79 into arm:arm-software May 21, 2025
@pratlucas pratlucas deleted the macos-check-package branch May 21, 2025 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants