mirror of
https://github.com/facebook/proxygen.git
synced 2025-08-08 18:02:05 +03:00
Add option to run tests without Testpilot even when it's available
Summary: - Added a commandline flag to ignore testpilot even when it's available - Fixed an oversight that caused getdeps to return 0 even if ctest tests have failed. Reviewed By: wez Differential Revision: D23161362 fbshipit-source-id: 1ed97c481315e2b39f1128680386390930194970
This commit is contained in:
committed by
Facebook GitHub Bot
parent
dbc1028cfe
commit
1273272066
@@ -696,12 +696,14 @@ class TestCmd(ProjectCmdBase):
|
||||
builder = m.create_builder(
|
||||
loader.build_opts, src_dir, build_dir, inst_dir, ctx, loader
|
||||
)
|
||||
|
||||
builder.run_tests(
|
||||
install_dirs,
|
||||
schedule_type=args.schedule_type,
|
||||
owner=args.test_owner,
|
||||
test_filter=args.filter,
|
||||
retry=args.retry,
|
||||
no_testpilot=args.no_testpilot,
|
||||
)
|
||||
|
||||
install_dirs.append(inst_dir)
|
||||
@@ -719,6 +721,11 @@ class TestCmd(ProjectCmdBase):
|
||||
help="Number of immediate retries for failed tests "
|
||||
"(noop in continuous and testwarden runs)",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--no-testpilot",
|
||||
help="Do not use Test Pilot even when available",
|
||||
action="store_true",
|
||||
)
|
||||
|
||||
|
||||
@cmd("generate-github-actions", "generate a GitHub actions configuration")
|
||||
|
Reference in New Issue
Block a user