Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running cry quick-test without building first causes the first test to spuriously fail #1817

Open
danmatichuk opened this issue Feb 28, 2025 · 0 comments
Labels
bug Something not working correctly test-framework For issues related to Cryptol's test framework.

Comments

@danmatichuk
Copy link
Contributor

It seems like the test tool is erroneously capturing the stdout of cabal when matching against the stdout of the first test:

./cry quick-test
Running quick tests
tests:
  docstrings:
    T01.icry: [Failed]
0a1,40
> 
> src/Cryptol/ModuleSystem/Binds.hs:338:3: warning: [GHC-62161] [-Wincomplete-uni-patterns]
>     Pattern match(es) are non-exhaustive
>     In a pattern binding:
>         Patterns of type ‘Maybe ModPath’ not matched: Nothing
@danmatichuk danmatichuk added bug Something not working correctly test-framework For issues related to Cryptol's test framework. labels Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something not working correctly test-framework For issues related to Cryptol's test framework.
Projects
None yet
Development

No branches or pull requests

1 participant