Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Medium
-
Resolution: Done
-
Component/s: Package Manager
-
Labels:
-
Radar URL:
Description
I'm using a Makefile for a few projects where `make test` runs `swift test`. I'd like to be able to exclude a few tests (hardware-specific) by default, and have other Makefile targets like `make testhw` to run the full set.
The --filter CLI option doesn't seem to be flexible enough to either exclude tests or specify multiple filter patterns.
$ swift test --filter FuzzerTests --filter MemoryTests --filter PCITests
Will only run the last filter pattern specified - PCITests. Either allowing the specification of multiple filters, or adding an --exclude or similar option would do what I need, but I think both would be useful.