about summary refs log tree commit diff stats
path: root/test/utils/testset.py
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2017-04-10 14:38:30 +0200
committerAjax <commial@gmail.com>2017-04-18 16:09:05 +0200
commit3c7c463563ca11033e25a01c62aa616ec1b4cdee (patch)
treebdce4a0faede06cad451385e0bd22c2c278731ed /test/utils/testset.py
parentf566cb19cdc130218ddabba8885bd675ee247542 (diff)
downloadfocaccia-miasm-3c7c463563ca11033e25a01c62aa616ec1b4cdee.tar.gz
focaccia-miasm-3c7c463563ca11033e25a01c62aa616ec1b4cdee.zip
TestAll: add support for other executable
Diffstat (limited to 'test/utils/testset.py')
-rw-r--r--test/utils/testset.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/utils/testset.py b/test/utils/testset.py
index e1df01a4..29a4e5d0 100644
--- a/test/utils/testset.py
+++ b/test/utils/testset.py
@@ -153,7 +153,8 @@ class TestSet(object):
             os.chdir(test.base_dir)
 
             # Launch test
-            testpy = subprocess.Popen(([sys.executable] +
+            executable = test.executable if test.executable else sys.executable
+            testpy = subprocess.Popen(([executable] +
                                        init_args + test.command_line),
                                       stdout=subprocess.PIPE,
                                       stderr=subprocess.PIPE)