Skip to content
  • Thomas Miedema's avatar
    Don't `make accept` output of expect_broken tests · d4cf7051
    Thomas Miedema authored
    When running `make accept` on a directory in the testsuite, don't accept
    the output of tests that are marked as expect_broken. This makes it
    easier to review `git diff` after running `make accept`.
    
    When you change an error message in the compiler that shows up in the
    output of many tests, you can run `make accept` in the testsuite
    directory, and all expected test output will be updated. But since your
    change didn't magically fix all the other bugs in the compiler for which
    we have an expect_broken test, the output for those tests should
    probably not be updated.
    
    Before, the effect of running `make accept` could be that some tests
    would end up in the 'unexpected passes' group.
    
    [skip ci]
    
    Reviewed By: austin
    
    Differential Revision: https://phabricator.haskell.org/D781
    d4cf7051