[Reproducible-commits] [reprotest] 01/01: Rename testing scripts to clarify their function
Ceridwen
ceridwen-guest at moszumanska.debian.org
Tue Jun 14 15:55:13 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 26dbce14d847eb3194a29765ebfafee0bef8af03
Author: Ceridwen <ceridwenv at gmail.com>
Date: Tue Jun 14 11:55:08 2016 -0400
Rename testing scripts to clarify their function
---
tests/{build.py => mock_build.py} | 0
tests/{fails.py => mock_failure.py} | 0
tests/tests.py | 20 ++++++++++----------
3 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/tests/build.py b/tests/mock_build.py
similarity index 100%
rename from tests/build.py
rename to tests/mock_build.py
diff --git a/tests/fails.py b/tests/mock_failure.py
similarity index 100%
rename from tests/fails.py
rename to tests/mock_failure.py
diff --git a/tests/tests.py b/tests/tests.py
index 339bec8..638b946 100644
--- a/tests/tests.py
+++ b/tests/tests.py
@@ -12,16 +12,16 @@ def test_return_code(command, code):
assert(system_exit.args[0] == code)
if __name__ == '__main__':
- test_return_code(['python', 'build.py'], 0)
- test_return_code(['python', 'fails.py'], 2)
- test_return_code(['python', 'build.py', 'irreproducible'], 1)
- test_return_code(['python', 'build.py', 'fileordering'], 1)
- test_return_code(['python', 'build.py', 'home'], 1)
- test_return_code(['python', 'build.py', 'kernel'], 1)
- test_return_code(['python', 'build.py', 'locales'], 1)
- test_return_code(['python', 'build.py', 'path'], 1)
- test_return_code(['python', 'build.py', 'timezone'], 1)
- test_return_code(['python', 'build.py', 'umask'], 1)
+ test_return_code(['python', 'mock_build.py'], 0)
+ test_return_code(['python', 'mock_failure.py'], 2)
+ test_return_code(['python', 'mock_build.py', 'irreproducible'], 1)
+ test_return_code(['python', 'mock_build.py', 'fileordering'], 1)
+ test_return_code(['python', 'mock_build.py', 'home'], 1)
+ test_return_code(['python', 'mock_build.py', 'kernel'], 1)
+ test_return_code(['python', 'mock_build.py', 'locales'], 1)
+ test_return_code(['python', 'mock_build.py', 'path'], 1)
+ test_return_code(['python', 'mock_build.py', 'timezone'], 1)
+ test_return_code(['python', 'mock_build.py', 'umask'], 1)
assert(subprocess.call(['reprotest', 'python setup.py bdist', 'dist/reprotest-0.1.linux-x86_64.tar.gz']) == 1)
assert(subprocess.call(['reprotest', 'debuild -b -uc -us', '../reprotest_0.1_all.deb']) == 1)
--
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