Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
test-bot:
strategy:
matrix:
os: [macos-latest]
os: [macos-10.15, macos-11.0]
runs-on: ${{ matrix.os }}
steps:
- name: Set up Homebrew
Expand Down
4 changes: 2 additions & 2 deletions Formula/cvc4.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,15 @@ def install
EOS
result = shell_output "#{bin}/cvc4 #{testpath/"simple.cvc"}"
assert_match(/entailed/, result)
(testpath/"simple.smt").write <<~EOS
(testpath/"simple.smt2").write <<~EOS
(set-option :produce-models true)
(set-logic QF_BV)
(define-fun s_2 () Bool false)
(define-fun s_1 () Bool true)
(assert (not s_1))
(check-sat)
EOS
result = shell_output "#{bin}/cvc4 --lang smt #{testpath/"simple.smt"}"
result = shell_output "#{bin}/cvc4 --lang smt2 #{testpath/"simple.smt2"}"
assert_match(/unsat/, result)
end

Expand Down