Skip to content

Homebrew formula and cask tests - #461

Merged
colemancda merged 77 commits into
masterfrom
feature/homebrew
Nov 26, 2026
Merged

colemancda merged 77 commits into
masterfrom
feature/homebrew

Conversation

@colemancda

@colemancda colemancda commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

Expands the Homebrew tests to more formulae and to casks, and adds the Darwin APIs they need.

Homebrew tests

  • Add tests for more formulae, lock their bottles, and record their Mac goldens (jq, hugo, lua, ninja, ripgrep, sqlite, tree, xz, zstd)
  • run-cli creates the directories of a test's files
  • The resolver locks casks, and the fetcher fetches them; TextMate, CotEditor, NetNewsWire and Bonjeff are locked

Providers

  • libncurses: a new provider binding Darwin's ncurses imports to Linux's libtinfo and libncursesw
  • libSystem: pselect, mbrtowc, notify_is_valid_token and the signal set functions
  • XPC: dates
  • The loader passes argv, the environment and the apple strings to main as one block

AppKit

  • Export AppKit's Swift NSApplicationMain(_:_:) from the framework, which apps built with a recent SDK import by its mangled name
  • NSFontDescriptor archives its attributes with NSCoding under NSAttributes, as AppKit does

Cask status

On Linux arm64, in Docker and in a Debian 13 VM:

  • Bonjeff runs and browses the network's Bonjour services through Avahi
  • TextMate stops at the unimplemented UAZoomEnabled
  • NetNewsWire traps after loading its main nib
  • CotEditor gets past NSFontDescriptor archiving, then fails on RunLoop.SchedulerOptions, which the Swift runtime's Foundation overlay doesn't define yet
vm-window

@colemancda
colemancda merged commit ea47104 into master Nov 26, 2026
8 checks passed
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.

1 participant