Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXapaJIaMnu <nheart@gmail.com>2015-07-02 18:57:17 +0300
committerXapaJIaMnu <nheart@gmail.com>2015-07-02 18:57:17 +0300
commit070e0a83e186b752c3b2d9178169574fa617ac79 (patch)
treeedd1cc0a213da8613d326123a998e8e16be0faa9
parent01e6b3f0b3de51c57e0abc018f418dc5f1b75874 (diff)
LD_PRELOAD systax was wrong
-rw-r--r--contrib/moses-speedtest/runtests.py4
1 files 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