summaryrefslogtreecommitdiff
path: root/tests/coveragetest.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/coveragetest.py')
-rw-r--r--tests/coveragetest.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/coveragetest.py b/tests/coveragetest.py
index 58cfb3dc..f4961ed9 100644
--- a/tests/coveragetest.py
+++ b/tests/coveragetest.py
@@ -348,6 +348,10 @@ class CoverageTest(
ret_actual = command_line(args)
self.assertEqual(ret_actual, ret)
+ # Some distros rename the coverage command, and need a way to indicate
+ # their new command name to the tests. This is here for them to override,
+ # for example:
+ # https://salsa.debian.org/debian/pkg-python-coverage/-/blob/master/debian/patches/02.rename-public-programs.patch
coverage_command = "coverage"
def run_command(self, cmd):