mirror of
https://github.com/libretro/ppsspp.git
synced 2025-01-20 23:54:48 +00:00
Make test.py python3-compatible, print out command lines better.
This commit is contained in:
parent
de67c9feff
commit
fce077f191
4
test.py
4
test.py
@ -40,7 +40,7 @@ class Command(object):
|
||||
def run(self, timeout):
|
||||
def target():
|
||||
self.process = subprocess.Popen(self.cmd, bufsize=1, stdin=subprocess.PIPE, stdout=sys.stdout, stderr=subprocess.STDOUT)
|
||||
self.process.stdin.write(self.data)
|
||||
self.process.stdin.write(self.data.encode('utf-8'))
|
||||
self.process.stdin.close()
|
||||
self.process.communicate()
|
||||
|
||||
@ -397,7 +397,7 @@ def run_tests(test_list, args):
|
||||
c = Command(cmdline, '\n'.join(test_filenames))
|
||||
c.run(TIMEOUT * len(test_filenames))
|
||||
|
||||
print("Ran " + PPSSPP_EXE)
|
||||
print("Ran " + ' '.join(cmdline))
|
||||
|
||||
|
||||
def main():
|
||||
|
Loading…
x
Reference in New Issue
Block a user