diff options
Diffstat (limited to 'tests/run.py')
-rw-r--r-- | tests/run.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/run.py b/tests/run.py index bc76717c0..461813559 100644 --- a/tests/run.py +++ b/tests/run.py @@ -192,8 +192,10 @@ def initCPUs(sys): def initCPU(cpu): # We might actually have a MemTest object or something similar # here that just pretends to be a CPU. - if isinstance(cpu, BaseCPU): + try: cpu.createThreads() + except: + pass # The CPU attribute doesn't exist in some cases, e.g. the Ruby # testers. |