aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/py
diff options
context:
space:
mode:
authorGravatar Yun Peng <pcloudy@google.com>2018-07-06 07:00:14 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-07-06 07:02:00 -0700
commit5947f474e152f7b1f447ef9c9392cd632c1fdd81 (patch)
tree4a48790ddb7cc5b5a11377d63af499cd463409b1 /src/test/py
parente4809f2f8b6a3d2a71ffc64aca6ff43fb858cc87 (diff)
Windows, CROSSTOOL: Remove MSVC wrapper scripts from Bazel completely
The only reason that those python wrapper scripts still exists is for TensorFlow's Windows GPU build. As we will create a custom GPU CROSSTOOL in TF repo, we can finally remove wrapper scripts from Bazel. Closes #5526. RELNOTES: Python wrapper scripts for MSVC are removed. PiperOrigin-RevId: 203472223
Diffstat (limited to 'src/test/py')
-rw-r--r--src/test/py/bazel/bazel_windows_test.py23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/test/py/bazel/bazel_windows_test.py b/src/test/py/bazel/bazel_windows_test.py
index 81db6774e4..e813d9f881 100644
--- a/src/test/py/bazel/bazel_windows_test.py
+++ b/src/test/py/bazel/bazel_windows_test.py
@@ -45,29 +45,6 @@ class BazelWindowsTest(test_base.TestBase):
['--batch', 'build', '//foo:x', '--cpu=x64_windows_msys'])
self.AssertExitCode(exit_code, 0, stderr)
- def testUseMSVCWrapperScript(self):
- self.createProjectFiles()
-
- exit_code, stdout, stderr = self.RunBazel(['info', 'execution_root'])
- self.AssertExitCode(exit_code, 0, stderr)
- execution_root = stdout[0]
-
- exit_code, _, stderr = self.RunBazel(
- [
- '--batch',
- 'build',
- '//foo:x',
- ],
- # USE_MSVC_WRAPPER will be needed after
- # swichting wrapper-less CROSSTOOL as default
- env_add={'USE_MSVC_WRAPPER': '1'},)
- self.AssertExitCode(exit_code, 0, stderr)
- self.assertTrue(
- os.path.exists(
- os.path.join(
- execution_root,
- 'external/local_config_cc/wrapper/bin/pydir/msvc_tools.py')))
-
def testWindowsCompilesAssembly(self):
self.ScratchFile('WORKSPACE')
exit_code, stdout, stderr = self.RunBazel(['info', 'bazel-bin'])