diff -u python3.3-3.3.1/debian/changelog python3.3-3.3.1/debian/changelog --- python3.3-3.3.1/debian/changelog +++ python3.3-3.3.1/debian/changelog @@ -1,3 +1,16 @@ +python3.3 (3.3.1-1ubuntu3) raring; urgency=low + + * autopkgtest fixes: + - redirect stderr of command 'stop apport' to /dev/null. output to stderr + is an error for adt. + - run testsuites under debian/script.py to fix stdin indirection when run + with adt-run + - script.py waits for child to exit and exit with child's return code. + - -xpickle is not a valid value for option -u of regrtest.py. Removed it + LP: #1169150. + + -- Jean-Baptiste Lallement Mon, 15 Apr 2013 13:43:21 +0200 + python3.3 (3.3.1-1ubuntu2) raring; urgency=low * Idle updates: diff -u python3.3-3.3.1/debian/script.py python3.3-3.3.1/debian/script.py --- python3.3-3.3.1/debian/script.py +++ python3.3-3.3.1/debian/script.py @@ -51 +51,11 @@ +pid, status = os.wait() +returncode = 0 +if os.WIFSIGNALED(status): + returncode = -os.WTERMSIG(status) +elif os.WIFEXITED(status): + returncode = os.WEXITSTATUS(status) +else: + # Should never happen + raise RuntimeError("Unknown child exit status!") os.close(master) +sys.exit(returncode) diff -u python3.3-3.3.1/debian/tests/testsuite python3.3-3.3.1/debian/tests/testsuite --- python3.3-3.3.1/debian/tests/testsuite +++ python3.3-3.3.1/debian/tests/testsuite @@ -1,6 +1,6 @@ #!/bin/sh -stop apport +stop apport 2>/dev/null || true sed -i '/^enabled=/s/=.*/=0/' /etc/default/apport set -e @@ -16,4 +16,4 @@ -TESTOPTS="-w -uall,-network,-urlfetch,-gui,-xpickle" +TESTOPTS="-w -uall,-network,-urlfetch,-gui" TESTEXCLUSIONS="-x test_distutils test_gdb test_sysconfig test_tools" -$TESTPYTHON $TESTPROG $TESTOPTS $TESTEXCLUSIONS +$PYTHON $(dirname $0)/../script.py /dev/null "$TESTPYTHON $TESTPROG $TESTOPTS $TESTEXCLUSIONS" diff -u python3.3-3.3.1/debian/tests/testsuite-dbg python3.3-3.3.1/debian/tests/testsuite-dbg --- python3.3-3.3.1/debian/tests/testsuite-dbg +++ python3.3-3.3.1/debian/tests/testsuite-dbg @@ -1,6 +1,6 @@ #!/bin/sh -stop apport +stop apport 2>/dev/null || true sed -i '/^enabled=/s/=.*/=0/' /etc/default/apport set -e @@ -16,4 +16,4 @@ -TESTOPTS="-w -uall,-network,-urlfetch,-gui,-xpickle" +TESTOPTS="-w -uall,-network,-urlfetch,-gui" TESTEXCLUSIONS="-x test_distutils test_gdb test_sysconfig test_tools" -$TESTPYTHON $TESTPROG $TESTOPTS $TESTEXCLUSIONS +$PYTHON $(dirname $0)/../script.py /dev/null "$TESTPYTHON $TESTPROG $TESTOPTS $TESTEXCLUSIONS"