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:
Diffstat (limited to 'cruise-control')
-rw-r--r--cruise-control/config.ems2
-rwxr-xr-xcruise-control/test_all_new_commits.sh12
2 files changed, 7 insertions, 7 deletions
diff --git a/cruise-control/config.ems b/cruise-control/config.ems
index da3724990..f231e508b 100644
--- a/cruise-control/config.ems
+++ b/cruise-control/config.ems
@@ -6,7 +6,7 @@
### directory in which experiment is run
#
-working-dir = /home/pkoehn/experiment
+working-dir = WORKDIR
# specification of the language pair
input-extension = fr
diff --git a/cruise-control/test_all_new_commits.sh b/cruise-control/test_all_new_commits.sh
index d01d9167e..ae043f51a 100755
--- a/cruise-control/test_all_new_commits.sh
+++ b/cruise-control/test_all_new_commits.sh
@@ -136,16 +136,16 @@ function run_single_test () {
touch giza-pp.ok
fi
srilm_dir=$(echo $MCC_CONFIGURE_ARGS | sed -E 's/.*--with-srilm=([^ ]+) .*/\1/')
- mach_type=$(srilm_dir/sbin/machine-type)
+ mach_type=$($srilm_dir/sbin/machine-type)
cat cruise-control/config.ems \
| sed \
- -e "s/WORKDIR/$WORKDIR/" \
- -e "s/SRILMDIR/$srilm_dir/" \
- -e "s/MACHINE_TYPE/$mach_type/" \
- | ./config.ems
+ -e "s#WORKDIR#$WORKDIR#" \
+ -e "s#SRILMDIR#$srilm_dir#" \
+ -e "s#MACHINE_TYPE#$mach_type#" \
+ > ./config.ems
scripts/ems/experiment.perl \
-no-graph -config `pwd`/config.ems &>> $longlog \
- || $err="ems"
+ || err="ems"
fi
echo "## Finished" >> $longlog