1
0
mirror of https://github.com/facebook/proxygen.git synced 2025-08-07 07:02:53 +03:00

testpilot: prevent using tpx on Windows

Summary:
TPX on Windows is being worked on, but not yet ready for prime time. Let's make
sure that getdeps isn't trying to use TPX on Windows for now.

Reviewed By: splhack

Differential Revision: D37474152

fbshipit-source-id: e636b0b68f6f73472f28295c280803ac44fafebf
This commit is contained in:
Xavier Deguillard
2022-06-27 19:56:20 -07:00
committed by Facebook GitHub Bot
parent a92b99d7f5
commit f9f96b7440

View File

@@ -817,7 +817,8 @@ if __name__ == "__main__":
retry = 0 retry = 0
testpilot = path_search(env, "testpilot") testpilot = path_search(env, "testpilot")
tpx = path_search(env, "tpx") # TODO(xavierd): once tpx is really available on Windows, remove this.
tpx = path_search(env, "tpx") if sys.platform != "win32" else None
if (tpx or testpilot) and not no_testpilot: if (tpx or testpilot) and not no_testpilot:
buck_test_info = list_tests() buck_test_info = list_tests()
import os import os