fix: make command reconciliation binary safe
Some checks failed
tamq-ci / test (push) Failing after 6s
Some checks failed
tamq-ci / test (push) Failing after 6s
Assistant: codex Assistant-Model: gpt-5.6-sol Assistant-Session: 01a03397-4d51-7fd1-8ff2-946eb22ea2bc
This commit is contained in:
parent
92881b6b56
commit
fbb56f5981
7 changed files with 95 additions and 10 deletions
21
tests/test_makefile.py
Normal file
21
tests/test_makefile.py
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
import subprocess
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
def test_plain_make_lists_available_targets():
|
||||
project = Path(__file__).resolve().parents[1]
|
||||
result = subprocess.run(
|
||||
["make", "--no-print-directory"],
|
||||
cwd=project,
|
||||
text=True,
|
||||
capture_output=True,
|
||||
check=True,
|
||||
)
|
||||
|
||||
assert result.stdout.splitlines() == [
|
||||
" help List available targets",
|
||||
" install Install or refresh tamq as a user-level uv tool",
|
||||
" uninstall Uninstall the user-level tamq tool",
|
||||
" test Run the test suite",
|
||||
" check Run tests and repository consistency checks",
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue