swift test --build-path

`swift test` claims to support the --build-path argument but fails if it’s used:

swift test --help
...
OPTIONS:
  -C, --chdir <path> Change working directory before any other operation
  --build-path <path> Specify build directory
  
swift test --build-path=somethingvalid
error: unknown command: --build-path

swift test --build-path somethingvalid
error: unknown command: --build-path

Is this just waiting for someone to do the work or is it intentional?

Thanks!
-Kyle

Hi Kyle,

This is definitely a bug, can you file a JIRA bug on bugs.swift.org ?

···

On Thu, Jun 30, 2016 at 5:56 AM, Kyle Jessup via swift-build-dev < swift-build-dev@swift.org> wrote:

`swift test` claims to support the --build-path argument but fails if it’s
used:

swift test --help
...
OPTIONS:
  -C, --chdir <path> Change working directory before any other
operation
  --build-path <path> Specify build directory

swift test --build-path=somethingvalid
error: unknown command: --build-path

swift test --build-path somethingvalid
error: unknown command: --build-path

Is this just waiting for someone to do the work or is it intentional?

Thanks!
-Kyle
_______________________________________________
swift-build-dev mailing list
swift-build-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-build-dev

--
Ankit

Hi Kyle,

This is definitely a bug, can you file a JIRA bug on bugs.swift.org <Issues · apple/swift · GitHub; ?

OK, will do.

I also have a fix for it. I’ll submit a PR.

Thanks,
-Kyle

···

On Jun 30, 2016, at 3:12 AM, Ankit Agarwal <ankit@ankit.im> wrote:

On Thu, Jun 30, 2016 at 5:56 AM, Kyle Jessup via swift-build-dev <swift-build-dev@swift.org <mailto:swift-build-dev@swift.org>> wrote:
`swift test` claims to support the --build-path argument but fails if it’s used:

swift test --help
...
OPTIONS:
  -C, --chdir <path> Change working directory before any other operation
  --build-path <path> Specify build directory

swift test --build-path=somethingvalid
error: unknown command: --build-path

swift test --build-path somethingvalid
error: unknown command: --build-path

Is this just waiting for someone to do the work or is it intentional?

Thanks!
-Kyle
_______________________________________________
swift-build-dev mailing list
swift-build-dev@swift.org <mailto:swift-build-dev@swift.org>
https://lists.swift.org/mailman/listinfo/swift-build-dev

--
Ankit