mirror of
https://github.com/facebook/proxygen.git
synced 2025-08-08 18:02:05 +03:00
getdeps: fixup testpilot new test recording
Summary: In the Facebook infrastructure the testpilot runner talks to a service to determine whether a given test should be run locally. The remote service was returning an error for some tests because they didn't have enough configuration specified. This diff associates some configuration with the tests based on the host type and makes things happier. Reviewed By: Ben0mega Differential Revision: D16894682 fbshipit-source-id: b6f59b112991160ef26cc126e98041d8908a6273
This commit is contained in:
committed by
Facebook Github Bot
parent
227fe40f4c
commit
64c0f572e8
@@ -465,6 +465,7 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
env.set("http_proxy", "")
|
env.set("http_proxy", "")
|
||||||
env.set("https_proxy", "")
|
env.set("https_proxy", "")
|
||||||
|
machine_suffix = self.build_opts.host_type.as_tuple_string()
|
||||||
|
|
||||||
runs = []
|
runs = []
|
||||||
|
|
||||||
@@ -478,6 +479,9 @@ if __name__ == "__main__":
|
|||||||
self.build_opts.fbsource_dir,
|
self.build_opts.fbsource_dir,
|
||||||
"--buck-test-info",
|
"--buck-test-info",
|
||||||
buck_test_info_name,
|
buck_test_info_name,
|
||||||
|
"--test-config",
|
||||||
|
"platform=%s" % machine_suffix,
|
||||||
|
"buildsystem=getdeps",
|
||||||
]
|
]
|
||||||
|
|
||||||
if schedule_type == "continuous":
|
if schedule_type == "continuous":
|
||||||
|
Reference in New Issue
Block a user