about summary refs log tree commit diff stats
path: root/test/utils/testset.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/utils/testset.py')
-rw-r--r--test/utils/testset.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/utils/testset.py b/test/utils/testset.py
index 94e5fe1f..0fa8329b 100644
--- a/test/utils/testset.py
+++ b/test/utils/testset.py
@@ -1,5 +1,6 @@
 import os
 import subprocess
+import sys
 from multiprocessing import cpu_count, Queue, Process
 from test import Test
 
@@ -142,7 +143,8 @@ class TestSet(object):
             os.chdir(test.base_dir)
 
             # Launch test
-            testpy = subprocess.Popen(["python"] + init_args + test.command_line,
+            testpy = subprocess.Popen(([sys.executable] +
+                                       init_args + test.command_line),
                                       stdout=subprocess.PIPE,
                                       stderr=subprocess.PIPE)
             outputs = testpy.communicate()