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