summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/mozbuild/mozbuild/mach_commands.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/python/mozbuild/mozbuild/mach_commands.py b/python/mozbuild/mozbuild/mach_commands.py
index 808773512..7923035fa 100644
--- a/python/mozbuild/mozbuild/mach_commands.py
+++ b/python/mozbuild/mozbuild/mach_commands.py
@@ -925,16 +925,6 @@ class GTestCommands(MachCommandBase):
# https://code.google.com/p/googletest/wiki/AdvancedGuide#Running_Test_Programs:_Advanced_Options
gtest_env = {b'GTEST_FILTER': gtest_filter}
- # Note: we must normalize the path here so that gtest on Windows sees
- # a MOZ_GMP_PATH which has only Windows dir seperators, because
- # nsILocalFile cannot open the paths with non-Windows dir seperators.
- xre_path = os.path.join(os.path.normpath(self.topobjdir), "dist", "bin")
- gtest_env["MOZ_XRE_DIR"] = xre_path
- gtest_env["MOZ_GMP_PATH"] = os.pathsep.join(
- os.path.join(xre_path, p, "1.0")
- for p in ('gmp-fake', 'gmp-fakeopenh264')
- )
-
gtest_env[b"MOZ_RUN_GTEST"] = b"True"
if shuffle: