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

Add --tasty-arg to validate.sh #10425

Closed

Conversation

9999years
Copy link
Collaborator

This lets you add custom arguments to Tasty test suites. This can be used to set --keep-tmp-files for debugging, or to run a particular test in cabal-testsuite:

./validate.sh -v -s build -s cli-suite \
    --tasty-arg PackageTests/HaddockKeepTmpsCustom/cabal.test.hs
  • Patches conform to the coding conventions.
  • Is this a PR that fixes CI? If so, it will need to be backported to older cabal release branches (ask maintainers for directions).

This lets you add custom arguments to `Tasty` test suites. This can be
used to set `--keep-tmp-files` for debugging, or to run a particular
test in `cabal-testsuite`:

    ./validate.sh -v -s build -s cli-suite \
        --tasty-arg PackageTests/HaddockKeepTmpsCustom/cabal.test.hs
This adds the `Tasty` `-p`/`--pattern` argument to the `cabal-testsuite`
tests, making it possible to filter `cabal-testsuite` tests just like
the other test suites:

    ./validate.sh -s build -s cli-suite -p HaddockKeepTmpsCustom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant