diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-09-12 21:28:48 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-09-12 21:28:48 +0200 |
commit | fc23663f4b830709b65e03185a78ed917970b2b5 (patch) | |
tree | 432ae7a0e2352f8206fb76d203f4c2aeabcb3f67 /source4/scripting | |
parent | ab555eb1990f81942bf119bb42e922c92b2e932b (diff) | |
download | samba-fc23663f4b830709b65e03185a78ed917970b2b5.tar.gz samba-fc23663f4b830709b65e03185a78ed917970b2b5.tar.bz2 samba-fc23663f4b830709b65e03185a78ed917970b2b5.zip |
Revert "Add option for generating coverage data from python tests."
This reverts commit 43c0fdfff02021caef2d8f73d6bfdc4b051a65ef.
(This used to be commit 696f30fff249656409f2efcc81b86a421d0c6880)
Diffstat (limited to 'source4/scripting')
-rwxr-xr-x | source4/scripting/bin/subunitrun | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source4/scripting/bin/subunitrun b/source4/scripting/bin/subunitrun index ee2d1e11da..6f1086ad37 100755 --- a/source4/scripting/bin/subunitrun +++ b/source4/scripting/bin/subunitrun @@ -36,8 +36,6 @@ parser.add_option_group(credopts) sambaopts = options.SambaOptions(parser) parser.add_option_group(sambaopts) parser.add_option_group(options.VersionOptions(parser)) -parser.add_option("--coverage", metavar="CACHE", type=str, - help="Store coverage data in CACHE") args = parser.parse_args()[1] @@ -47,10 +45,4 @@ samba.tests.cmdline_credentials = credopts.get_credentials(samba.tests.cmdline_l param.cvar.default_config = samba.tests.cmdline_loadparm runner = SubunitTestRunner() -if opts.coverage is not None: - import coverage - coverage.use_cache(True, opts.coverage) - coverage.start() program = TestProgram(module=None, argv=[sys.argv[0]] + args, testRunner=runner) -if opts.coverage: - coverage.stop() |