From 070e0a83e186b752c3b2d9178169574fa617ac79 Mon Sep 17 00:00:00 2001 From: XapaJIaMnu Date: Thu, 2 Jul 2015 16:57:17 +0100 Subject: LD_PRELOAD systax was wrong --- contrib/moses-speedtest/runtests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/moses-speedtest/runtests.py b/contrib/moses-speedtest/runtests.py index a043a26db..610e0f505 100644 --- a/contrib/moses-speedtest/runtests.py +++ b/contrib/moses-speedtest/runtests.py @@ -255,7 +255,7 @@ def execute_tests(testcase, cur_directory, config): subprocess.call([config.drop_caches], shell=True) #Create the command for executing moses: - whole_command = 'LD_PRELOAD ' + opt + time_command + testcase.command + whole_command = 'LD_PRELOAD=' + opt + time_command + testcase.command variant = 'ldpre_' + opt #test normal and cached @@ -282,7 +282,7 @@ def execute_tests(testcase, cur_directory, config): subprocess.call([config.drop_caches], shell=True) #Create the command for executing moses: - whole_command = 'LD_PRELOAD ' + opt + testcase.prof_command + whole_command = 'LD_PRELOAD=' + opt + testcase.prof_command variant = 'profile_ldpre_' + opt #test normal and cached -- cgit v1.2.3