test.py: can be run with python-2.5

This commit is contained in:
Aapo Rantalainen 2013-03-24 07:49:01 +02:00
parent b49729f7a9
commit df1d321b96

View file

@ -2,7 +2,6 @@
# Automated script to run the pspautotests test suite in PPSSPP. # Automated script to run the pspautotests test suite in PPSSPP.
import sys import sys
import io
import os import os
import subprocess import subprocess
import threading import threading
@ -31,7 +30,7 @@ class Command(object):
thread.start() thread.start()
thread.join(timeout) thread.join(timeout)
if thread.is_alive(): if thread.isAlive():
self.timeout = True self.timeout = True
self.process.terminate() self.process.terminate()
thread.join() thread.join()