1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
From: Jochen Sprickerhof <jspricke@debian.org>
Date: Thu, 16 Oct 2025 15:03:14 +0200
Subject: Use executable name in tests
Needed for autopkgtests
---
cpplint_clitest.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpplint_clitest.py b/cpplint_clitest.py
index b20566f..f3013d7 100755
--- a/cpplint_clitest.py
+++ b/cpplint_clitest.py
@@ -43,7 +43,7 @@ from testfixtures import compare # type: ignore[import-untyped]
import cpplint # noqa: F401
-BASE_CMD = sys.executable + " " + os.path.abspath("./cpplint.py ")
+BASE_CMD = "cpplint"
def run_shell_command(cmd: str, args: str, cwd: str = ".") -> tuple[int, bytes, bytes]:
|