[Reproducible-commits] [reprotest] 01/01: Add sdist and wheel to tests, and test the installed code
Ceridwen
ceridwen-guest at moszumanska.debian.org
Fri Jul 22 14:43:46 UTC 2016
This is an automated email from the git hooks/post-receive script.
ceridwen-guest pushed a commit to branch master
in repository reprotest.
commit fa00736a939922adf7d37a9fe265b0d2571d3de0
Author: Ceridwen <ceridwenv at gmail.com>
Date: Fri Jul 22 10:43:39 2016 -0400
Add sdist and wheel to tests, and test the installed code
---
tests/tests.py | 5 +++++
tox.ini | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/tests/tests.py b/tests/tests.py
index d44f8c8..f8d85ca 100755
--- a/tests/tests.py
+++ b/tests/tests.py
@@ -39,4 +39,9 @@ def test_variations(virtual_server, variation):
def test_self_build(virtual_server):
assert(subprocess.call(['reprotest', 'python3 setup.py bdist', 'dist/reprotest-' + VERSION + '.linux-x86_64.tar.gz'] + virtual_server) == 1)
+ # setup.py complains there's no README.rst, README, or README.txt.
+ # Why that's hard-coded, I have no idea. This command eats the
+ # error so the build doesn't crash.
+ assert(subprocess.call(['reprotest', 'python3 setup.py sdist 2>/dev/null', 'dist/reprotest-' + VERSION + '.tar.gz'] + virtual_server) == 1)
+ assert(subprocess.call(['reprotest', 'python3 setup.py bdist_wheel', 'dist/reprotest-' + VERSION + '-py3-none-any.whl'] + virtual_server) == 1)
assert(subprocess.call(['reprotest', 'debuild -b -uc -us', '../reprotest_' + VERSION + '_all.deb'] + virtual_server) == 1)
diff --git a/tox.ini b/tox.ini
index 8f0cbda..340b8fa 100644
--- a/tox.ini
+++ b/tox.ini
@@ -15,7 +15,7 @@ commands =
coverage html
[testenv]
-usedevelop = True
+# usedevelop = True
deps =
coverage
# coverage_pth
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/reprotest.git
More information about the Reproducible-commits
mailing list