diff options
author | Lars Wirzenius <liw@liw.fi> | 2014-03-27 20:52:36 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2014-03-27 20:52:36 +0000 |
commit | 82b18d44f35afa47fdedf98a2f9409bace04ffc3 (patch) | |
tree | b20c614742a0c7c9f7a7ba1b8d4fff38b2592881 | |
parent | c67e6d29e15b6ef57defd46007b0124fd3301ea5 (diff) | |
download | obnam-82b18d44f35afa47fdedf98a2f9409bace04ffc3.tar.gz |
Remove cmdtest invocations from setup.py
-rw-r--r-- | setup.py | 17 |
1 files changed, 0 insertions, 17 deletions
@@ -106,8 +106,6 @@ class Check(Command): user_options = [ ('unit-tests', 'u', 'run unit tests?'), - ('cmdtests', 'b', 'run cmdtest tests locally?'), - ('network-cmdtests', 'B', 'run cmdtest tests against localhost?'), ('yarns', 'y', 'run yarn tests locally?'), ('lock-tests', 'l', 'run lock tests locally?'), ('network-lock-tests', 'L', 'run lock tests against localhost?'), @@ -117,8 +115,6 @@ class Check(Command): def set_all_options(self, new_value): self.unit_tests = new_value - self.cmdtests = new_value - self.network_cmdtests = new_value self.yarns = new_value self.lock_tests = new_value self.network_lock_tests = new_value @@ -131,8 +127,6 @@ class Check(Command): def finalize_options(self): any_set = ( self.unit_tests or - self.cmdtests or - self.network_cmdtests or self.yarns or self.lock_tests or self.network_lock_tests or @@ -148,10 +142,6 @@ class Check(Command): '--ignore-missing-from=without-tests']) os.remove('.coverage') - if self.cmdtests: - print "run cmdtest tests" - runcmd(['cmdtest', 'tests']) - if self.yarns and got_yarn: runcmd( ['yarn', '-s', 'yarns/obnam.sh'] + @@ -175,13 +165,6 @@ class Check(Command): print "run sftp tests" runcmd(['./test-sftpfs']) - if self.network_cmdtests: - print "run black box tests using localhost networking" - env = dict(os.environ) - env['OBNAM_TEST_SFTP_ROOT'] = 'yes' - env['OBNAM_TEST_SFTP_REPOSITORY'] = 'yes' - runcmd(['cmdtest', 'tests'], env=env) - if self.network_lock_tests: print "re-run locking tests using localhost networking" test_repo = tempfile.mkdtemp() |