add --save-bfq-on-error flag for liquidhaskell and include it in CI#2648
add --save-bfq-on-error flag for liquidhaskell and include it in CI#2648kaf-lamed-beyt wants to merge 5 commits intoucsd-progsys:developfrom
Conversation
i'm not sure how to pass the `--save-bfq-on-error` through the LH plugin test pipeline like you (@ facundominguez) did in the previous PR. the `extraOpts` in `Build.hs` goes to cabal build, not to individual test executables.
|
@facundominguez, can you take a look at this? i'll follow up with the other PRs addressing points 2 and 3 in #2020 once this is clear. |
|
Hello @kaf-lamed-beyt. Thanks for the PR! Probably, it should go in tests/tests.cabal. |
|
oh alright, i'll check this out. thank you, @facundominguez! |
|
@facundominguez, let me know how it looks now. |
tests/tests.cabal
Outdated
| -fkeep-going | ||
| -O0 | ||
| -no-link | ||
| -fplugin-opt=LiquidHaskell:--save-bfq-on-error |
There was a problem hiding this comment.
Thanks @kaf-lamed-beyt.
I guess we don't want to pass this flag to tests that are expected to fail. They are in testsuite with names containing the neg infix, and there is the errors testsuite.
Perhaps we could use a common stanza for negative tests:
common ghc-options-for-negated-tests
ghc-options: -fplugin-opt=LiquidHaskell:--save-bfq-on-error
...
executable errors
import: common-ghc-options, ghc-options-for-negated-tests
...
...
There was a problem hiding this comment.
ah, i see. that's much better. lemme find the neg infixes.
…ix/error test suites
|
@facundominguez, i've just updated it now. let me know how it looks. thank you. |
|
Thanks @kaf-lamed-beyt! Something is amiss with the CI jobs. Otherwise, the changes look good to me. |
|
hmmm... i think there's a merge conflict in liquid-fixpoint. i'll try attending to that and see if it resolves it. |
i'm not sure how to pass the
--save-bfq-on-errorthrough the LH plugin test pipeline like you (@facundominguez) did in the previous PR. theextraOptsinBuild.hsgoes to cabal build, not to individual test executables.