Skip to content

Instantly share code, notes, and snippets.

@onpaws
Created March 11, 2015 17:37
Show Gist options
  • Save onpaws/5b244a8e488c19f6072c to your computer and use it in GitHub Desktop.
Save onpaws/5b244a8e488c19f6072c to your computer and use it in GitHub Desktop.
run a test suite over git revisions
(set -e && git rev-list --reverse master~3..master | while read rev; do git checkout $rev; python runtests.py; done)
# set -e causes shell to stop while loop on test error
# via Gary Bernhardt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment