Comment 2 for bug 1223941

Revision history for this message
Peter Zsoldos (zsoldosp) wrote :

Sorry about the late response, I seem to have misfiled this email. I've blogged the shell script I used at http://blog.zsoldosp.eu/2013/09/11/quick-script-to-help-reporting-bugs-for-python/

I'm pasting it here for convenience. It is designed to run on windows from the git-bash shell.

#!/bin/sh
function d() {
    echo "\$ $*"
    $*
}

function win_info() {
    systeminfo | grep "\(OS Name\|OS Manufacturer\|System Type\|Locale\)"
}

REPRO_FOLDER=bugrepro
d win_info
d python --version
d pip freeze
d git --version
d grep ^ -nH `find $REPRO_FOLDER -name \*.py`
d python -m unittest discover $REPRO_FOLDER
d ls .testr* -l
d cat .testr.conf
d testr run $REPRO_FOLDER
d testr run

HTH,

Peter