diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2016-09-29 09:15:01 +0200 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2016-09-29 09:15:01 +0200 |
commit | 2108fa026e6eeec6dfbca6947c1cf27d344c9b09 (patch) | |
tree | a3f231be83c9bb77509ee5a01ad1e81b804cd1a7 /python/servo/testing_commands.py | |
parent | ccfc60161b8d92217b9f77040d6928d429bcbe9d (diff) | |
download | servo-2108fa026e6eeec6dfbca6947c1cf27d344c9b09.tar.gz servo-2108fa026e6eeec6dfbca6947c1cf27d344c9b09.zip |
Fix OS-Mesa discovery in debug mode.
Diffstat (limited to 'python/servo/testing_commands.py')
-rw-r--r-- | python/servo/testing_commands.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py index f990fbf9ec2..5f7a9e1fd1d 100644 --- a/python/servo/testing_commands.py +++ b/python/servo/testing_commands.py @@ -434,7 +434,7 @@ class MachCommands(CommandBase): # add it to the dynamic linker search path. if sys.platform.startswith('linux'): try: - args = [self.get_binary_path(True, False)] + args = [self.get_binary_path(kwargs["release"], not kwargs["release"])] osmesa_path = path.join(find_dep_path_newest('osmesa-src', args[0]), "out", "lib", "gallium") os.environ["LD_LIBRARY_PATH"] = osmesa_path os.environ["GALLIUM_DRIVER"] = "softpipe" @@ -444,7 +444,7 @@ class MachCommands(CommandBase): pass if sys.platform.startswith('darwin'): try: - args = [self.get_binary_path(True, False)] + args = [self.get_binary_path(kwargs["release"], not kwargs["release"])] osmesa_path = path.join(find_dep_path_newest('osmesa-src', args[0]), "out", "src", "gallium", "targets", "osmesa", ".libs") glapi_path = path.join(find_dep_path_newest('osmesa-src', args[0]), |