Skip to content

Commit

Permalink
Fix macOS CI (#100)
Browse files Browse the repository at this point in the history
* Here we go...

* Does it have to do with pipefail??

* uh????

* Weird

* Update changelog
  • Loading branch information
bbrk24 authored May 3, 2024
1 parent 45f9e6c commit cd5a47e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ All notable changes to this project will be documented in this file. See [Keep a

### Changed

- Modified a test so it passes on macOS 14.
- Removed some more `constexpr` annotations I missed last time.

## [1.8.1] - 2024-05-03
Expand Down
6 changes: 3 additions & 3 deletions tests/cli/warnings/index.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ folder=$(dirname "$0")

# Without the braces, the &> doesn't silence the floating-point exception
{ errors=$($TRILANGLE -w "${folder}/worse.trg" 2>&1 1<&-); } &>/dev/null
result=$?
set -e
test 0 -ne $result
# For some reason, macOS 14 doesn't trigger a floating-point exception, so we can't verify a nonzero
# exit code.

set -e
test -n "$errors"
test -n "$($TRILANGLE -w "${folder}/bad.trg" 2>&1)"

0 comments on commit cd5a47e

Please sign in to comment.