Skip to content

Commit 9aa76cc

Browse files
committed
Add CLI flag to build without tests
1 parent dc2a3de commit 9aa76cc

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

proposals/0008-package-manager-testing.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,20 @@ Or specific tests:
211211
SwiftPM would forward arguments to the underlying testing framework and it
212212
would decide how to interpret them.
213213

214+
---
215+
216+
Sometimes test sources cannot compile and fixing them is no the most
217+
pressing priority. Thus it will be posssible to skip building tests
218+
with an additional flag:
219+
220+
swift build --without-tests
221+
222+
---
223+
224+
It is desirable to sometimes specify to only build specific tests, the
225+
command line for this will fall out of future work that allows specification
226+
of targets that `swift build` should speficially build in isolation.
227+
214228

215229
## Impact On Existing Code
216230

0 commit comments

Comments
 (0)