
#16026: No way to run a subset of the testsuite -------------------------------------+------------------------------------- Reporter: bgamari | Owner: alpmestan Type: feature request | Status: new Priority: high | Milestone: 8.8.1 Component: Build System | Version: 8.6.2 (Hadrian) | Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by goldfire): Just happened to come across this. As an avid user of the feature you're describing, I would want a way to do this on the command line. Other options are good, too (e.g. setting an env var so that way I can run the same tests over and over), but inessential (for me). Separate from the `make TEST=...` functionality, I also make regular use of the fact that running `make` in different subdirectories of `tests` runs only subsets. For example, I'll go into `testsuite/tests/typecheck` and run `make` just to run type-checking tests. Sometimes I even just want the `should_fail` directory of that. I would certainly miss the ability to run subsets like this if it were gone. It's so easy (just change dirs) and so useful. Thanks for all the work you're putting into this! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16026#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler