diff -Nru python-asdf-1.2.1/debian/changelog python-asdf-1.2.1/debian/changelog --- python-asdf-1.2.1/debian/changelog 2016-11-08 07:42:32.000000000 +0000 +++ python-asdf-1.2.1/debian/changelog 2017-01-16 08:00:24.000000000 +0000 @@ -1,3 +1,10 @@ +python-asdf (1.2.1-2) unstable; urgency=medium + + * Set exit value for CI tests + * Allow stderr in tests to ignore deprecation warnings + + -- Ole Streicher Mon, 16 Jan 2017 09:00:24 +0100 + python-asdf (1.2.1-1) unstable; urgency=low * New upstream version 1.2.1 diff -Nru python-asdf-1.2.1/debian/tests/control python-asdf-1.2.1/debian/tests/control --- python-asdf-1.2.1/debian/tests/control 2016-03-03 21:06:39.000000000 +0000 +++ python-asdf-1.2.1/debian/tests/control 2017-01-16 07:59:46.000000000 +0000 @@ -1,6 +1,8 @@ -Test-Command: cd $ADTTMP && python -c "import asdf; asdf.test()" +Test-Command: cd $ADTTMP && python -c "import asdf; exit(asdf.test())" Depends: python-asdf, python-pytest, python-astropy +Restrictions: allow-stderr -Test-Command: cd $ADTTMP && python3 -c "import asdf; asdf.test()" +Test-Command: cd $ADTTMP && python3 -c "import asdf; exit(asdf.test())" Depends: python3-asdf, python3-pytest, python3-astropy +Restrictions: allow-stderr