mirror of
https://github.com/libretro/mgba.git
synced 2024-11-23 07:59:46 +00:00
Make path absolute in perf.py
This commit is contained in:
parent
562a33d98b
commit
cc255b794b
@ -31,8 +31,8 @@ class PerfTest(object):
|
||||
args.append(self.rom)
|
||||
env = {}
|
||||
if 'LD_LIBRARY_PATH' in os.environ:
|
||||
env['LD_LIBRARY_PATH'] = os.environ['LD_LIBRARY_PATH']
|
||||
env['DYLD_LIBRARY_PATH'] = os.environ['LD_LIBRARY_PATH'] # Fake it on OS X
|
||||
env['LD_LIBRARY_PATH'] = os.path.abspath(os.environ['LD_LIBRARY_PATH'])
|
||||
env['DYLD_LIBRARY_PATH'] = env['LD_LIBRARY_PATH'] # Fake it on OS X
|
||||
proc = subprocess.Popen(args, stdout=subprocess.PIPE, cwd=cwd, universal_newlines=True, env=env)
|
||||
try:
|
||||
self.wait(proc)
|
||||
|
Loading…
Reference in New Issue
Block a user