Skip to content

Commit

Permalink
✅ (gcc@13): Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ladislas committed Jul 17, 2024
1 parent 82ad3ff commit ce8efaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ def install
end

test do

Check failure on line 40 in Formula/[email protected]

View workflow job for this annotation

GitHub Actions / test-bot (macos-14)

`brew test --verbose osx-cross/arm/arm-gcc-bin@13` failed on macOS Sonoma (14) on Apple Silicon!

/opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4/bin/bundle clean ==> Testing osx-cross/arm/arm-gcc-bin@13 Error: osx-cross/arm/arm-gcc-bin@13: failed ::error::osx-cross/arm/arm-gcc-bin@13: failed An exception occurred within a child process: NoMethodError: undefined method `downcase' for an instance of Version /opt/homebrew/Library/Taps/osx-cross/homebrew-arm/Formula/[email protected]:39:in `block in <class:ArmGccBinAT13>' /opt/homebrew/Library/Homebrew/formula.rb:2790:in `block (3 levels) in run_test' /opt/homebrew/Library/Homebrew/extend/kernel.rb:530:in `with_env' /opt/homebrew/Library/Homebrew/formula.rb:2789:in `block (2 levels) in run_test' /opt/homebrew/Library/Homebrew/formula.rb:1193:in `with_logging' /opt/homebrew/Library/Homebrew/formula.rb:2788:in `block in run_test' /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `block in run' /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `chdir' /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `run' /opt/homebrew/Library/Homebrew/formula.rb:3099:in `mktemp' /opt/homebrew/Library/Homebrew/formula.rb:2782:in `run_test' /opt/homebrew/Library/Homebrew/test.rb:47:in `block in <main>' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4/lib/ruby/3.3.0/timeout.rb:186:in `block in timeout' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4/lib/ruby/3.3.0/timeout.rb:41:in `handle_timeout' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.4/lib/ruby/3.3.0/timeout.rb:195:in `timeout' /opt/homebrew/Library/Homebrew/test.rb:51:in `<main>'
assert_match "Arm GNU Toolchain #{version}", `#{opt_prefix}/bin/arm-none-eabi-gcc --version`
assert_match "Arm GNU Toolchain #{version.downcase}", `#{opt_prefix}/bin/arm-none-eabi-gcc --version`.strip.downcase
end
end

0 comments on commit ce8efaa

Please sign in to comment.