about summary refs log tree commit diff stats
path: root/test
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2014-12-12 15:29:00 +0100
committerCamille Mougey <commial@gmail.com>2014-12-12 15:29:00 +0100
commit04967c6c99b9744797a3b09de5e86a316c7517e9 (patch)
treee335144a535519e561b0d9c727c621b657dc907f /test
parent57b686760de66ad26f80337f0acfb88ea368845f (diff)
parent33ef2982528634c9de6cf5a806a1a86df2e14db8 (diff)
downloadmiasm-04967c6c99b9744797a3b09de5e86a316c7517e9.tar.gz
miasm-04967c6c99b9744797a3b09de5e86a316c7517e9.zip
Merge pull request #21 from serpilliere/compil_netbsd
Compil netbsd
Diffstat (limited to 'test')
-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()