Skip to content

tests: attempt to avoid macOS 15 portindex test aborts#389

Open
herbygillot wants to merge 1 commit intomacports:masterfrom
herbygillot:attempt-portindex-test-fix
Open

tests: attempt to avoid macOS 15 portindex test aborts#389
herbygillot wants to merge 1 commit intomacports:masterfrom
herbygillot:attempt-portindex-test-fix

Conversation

@herbygillot
Copy link
Member

Strip inherited darwintrace DYLD and DARWINTRACE environment variables from the shared non-trace test helpers before invoking portindex and most port commands, and replace a couple of shell/env helper calls with Tcl-native setup.

Also clean up the negative darwintrace environment tests so they do not leave injected DYLD state behind for later tests.

This is an attempted fix for the macOS 15 CI failures where the site-tags test aborts while portindex is running.

Strip inherited darwintrace DYLD and DARWINTRACE environment variables from the shared non-trace test helpers before invoking portindex and most port commands, and replace a couple of shell/env helper calls with Tcl-native setup.

Also clean up the negative darwintrace environment tests so they do not leave injected DYLD state behind for later tests.

This is an attempted fix for the macOS 15 CI failures where the site-tags test aborts while portindex is running.
@herbygillot herbygillot requested a review from neverpanic March 17, 2026 21:30
Copy link
Member

@neverpanic neverpanic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, if that works, feel free to merge — I haven't tested this locally.

@herbygillot herbygillot requested a review from jmroot March 17, 2026 23:02
@herbygillot
Copy link
Member Author

Thanks @neverpanic. Requesting @jmroot to take a look as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants