From 39d434785e8bb33b58d6fad54a183746f234fc17 Mon Sep 17 00:00:00 2001 From: Tom Henderson Date: Fri, 13 Jan 2012 16:07:23 -0800 Subject: [PATCH] bug 1317: allow test.py to learn which python version was used to build ns-3 --- test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test.py b/test.py index d85c61f55..840f40fd1 100755 --- a/test.py +++ b/test.py @@ -56,6 +56,7 @@ interesting_config_items = [ "APPNAME", "BUILD_PROFILE", "VERSION", + "PYTHON", ] NSC_ENABLED = False @@ -681,7 +682,7 @@ def run_job_synchronously(shell_command, directory, valgrind, is_python, build_p suppressions_path = os.path.join (base, VALGRIND_SUPPRESSIONS_FILE) if is_python: - path_cmd = "python " + os.path.join (base, shell_command) + path_cmd = PYTHON[0] + " " + os.path.join (base, shell_command) else: if len(build_path): path_cmd = os.path.join (build_path, shell_command)