From e5d308ea1bb6f88d998b4df5832b7393a104b9c6 Mon Sep 17 00:00:00 2001 From: Ulrich Germann Date: Wed, 25 Nov 2015 02:15:01 +0000 Subject: [PATCH 1/2] Updated regtests. --- regtest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regtest b/regtest index 37a595fd7..f69e79f5f 160000 --- a/regtest +++ b/regtest @@ -1 +1 @@ -Subproject commit 37a595fd7bf41226933c0fdb6fb792bdc877c3fd +Subproject commit f69e79f5fc92d993354fa775de197b029d321175 From ef9886be496a2e0d19999e539017d55337e96467 Mon Sep 17 00:00:00 2001 From: Ulrich Germann Date: Wed, 25 Nov 2015 10:47:57 +0000 Subject: [PATCH 2/2] Added script for auto-rollback to the latest commit that passes all regtests. --- contrib/debugging/auto-rollback.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 contrib/debugging/auto-rollback.sh diff --git a/contrib/debugging/auto-rollback.sh b/contrib/debugging/auto-rollback.sh new file mode 100755 index 000000000..c08e59a31 --- /dev/null +++ b/contrib/debugging/auto-rollback.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +git submodule init +git submodule update regtest +while [ true ] ; do + ./bjam -j$(nproc) --with-irstlm=$(pwd)/opt --with-boost=$(pwd)/opt --with-cmph=$(pwd)/opt --with-xmlrpc-c=$(pwd)/opt --with-regtest=$(pwc)/regtest -a -q $@ && break + commit=$(git log | grep ^commit | head -n2 | tail -n1 | sed 's/commit //') + echo REVERTING TO COMMIT $commit + git checkout $commit +done