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:
authorAles Tamchyna <a.tamchyna@gmail.com>2011-10-22 20:11:04 +0400
committerAles Tamchyna <a.tamchyna@gmail.com>2011-10-22 20:11:04 +0400
commit346b2524e2147bfd81a12b63cc5b3945ad804e45 (patch)
tree4ef4da6e482088ee91fe7d02123c985227cc6b5a /cruise-control
parente31f75a1d42344712f5cd16acea74f63aa8d9960 (diff)
only test commits until reaching a previously tested one
Diffstat (limited to 'cruise-control')
-rwxr-xr-xcruise-control/test_all_new_commits.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/cruise-control/test_all_new_commits.sh b/cruise-control/test_all_new_commits.sh
index edf2ff506..4103563ce 100755
--- a/cruise-control/test_all_new_commits.sh
+++ b/cruise-control/test_all_new_commits.sh
@@ -199,12 +199,12 @@ for i in $MCC_SCAN_BRANCHES; do
git rev-list $i \
| while read commit; do
first_char=$(echo $commit | grep -o '^.')
- test_ok="$LOGDIR/logs/$configname/$first_char/$commit.OK"
- if [ ! -e "$test_ok" ]; then
+ test_done="$LOGDIR/logs/$configname/$first_char/$commit.log"
+ if [ ! -e "$test_done" ]; then
run_single_test $commit && warn "Commit $commit test ok, stopping" && break
warn "Commit $commit test failed, continuing"
else
- warn "Reached a successfully tested commit ($commit), stopping"
+ warn "Reached a previously tested commit ($commit), stopping"
break
fi
done