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

Accept arguments to manually filter script/test #18665

merged 1 commit into from Jan 9, 2019


None yet
1 participant
Copy link

smashwilson commented Jan 9, 2019

A small quality-of-life thing for our build scripts. I'm adding explicit arguments to script/test so you can request specific (combinations of) test suites:

$ .\script\test --help
  --core-main       Run core main process tests       [boolean] [default: false]
  --skip-main       Skip main process tests if they would otherwise run on your
                    platform                          [boolean] [default: false]
  --core-renderer   Run core renderer process tests   [boolean] [default: false]
  --core-benchmark  Run core benchmarks               [boolean] [default: false]
  --package         Run bundled package specs         [boolean] [default: false]
  --help            Show help                                          [boolean]

I keep doing this manually by editing script/test directly, but this would be a lot more convenient.

@smashwilson smashwilson merged commit 7a9813c into master Jan 9, 2019

3 checks passed

Atom Pull Requests #20190109.2 succeeded
continuous-integration/appveyor/pr AppVeyor build succeeded
continuous-integration/travis-ci/pr The Travis CI build passed

@smashwilson smashwilson deleted the aw/test-args branch Jan 9, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.