diff --git a/Makefile b/Makefile index fa3723cc6..ad32c0f84 100644 --- a/Makefile +++ b/Makefile @@ -28,3 +28,9 @@ test_sharness: test_sharness_expensive: cd test/ && make TEST_EXPENSIVE=1 + +test_all_commits: + @echo "testing all commits between origin/master..HEAD" + @echo "WARNING: this will 'git rebase --exec'." + @test/bin/continueyn + GIT_EDITOR=true git rebase -i --exec "make test" origin/master diff --git a/test/bin/continueyn b/test/bin/continueyn new file mode 100755 index 000000000..f38b93de8 --- /dev/null +++ b/test/bin/continueyn @@ -0,0 +1,10 @@ +#!/bin/sh +# Author: Juan Batiz-Benet +# MIT LICENSED + +read -p "continue? [y/N] " +echo +if [[ $REPLY =~ ^[Yy]$ ]]; then + exit 0 +fi +exit -1