Skip to content

Commit

Permalink
Fix running Bazel from cmd.exe
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed Nov 22, 2024
1 parent 90023d2 commit 8332050
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/test/py/bazel/bazel_windows_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,10 @@ def testMakeVariableForDumpbinExecutable(self):
self.assertTrue(os.path.exists(dumpbin_out))
self.AssertFileContentContains(dumpbin_out, 'windows_dllexport_test')

def testRunBazelFromCmd(self):
self.RunProgram(['cmd', '/C', 'env && bazel info'])
self.assertIn('foo', 'barbaz')


if __name__ == '__main__':
absltest.main()

0 comments on commit 8332050

Please sign in to comment.