Skip to content

Commit

Permalink
Print a message with test command
Browse files Browse the repository at this point in the history
  • Loading branch information
sakhnik committed Apr 23, 2024
1 parent 774eb79 commit 80d6073
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/all.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@
from prerequisites import Prerequisites
Prerequisites()

res = subprocess.run(["nvim", "-l", "run-tests.lua", ".",
"--no-keep-going"])
test_cmd = ["nvim", "-l", "run-tests.lua", ".", "--no-keep-going"]
print(f"Run `{' '.join(test_cmd)}`")
res = subprocess.run(test_cmd)
if res.returncode != 0:
raise RuntimeError("Lua tests failed")

0 comments on commit 80d6073

Please sign in to comment.