summaryrefslogtreecommitdiff
path: root/test/t/test_valgrind.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/t/test_valgrind.py')
-rw-r--r--test/t/test_valgrind.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/t/test_valgrind.py b/test/t/test_valgrind.py
index 2b03d6f9..c7c979dd 100644
--- a/test/t/test_valgrind.py
+++ b/test/t/test_valgrind.py
@@ -10,15 +10,17 @@ class TestValgrind:
def test_1(self, completion):
assert completion
- @pytest.mark.complete("valgrind -")
+ @pytest.mark.complete("valgrind -", require_cmd=True)
def test_2(self, completion):
assert completion
- @pytest.mark.complete("valgrind --tool=memche")
+ @pytest.mark.complete("valgrind --tool=memche", require_cmd=True)
def test_3(self, completion):
assert "--tool=memcheck" in completion
- @pytest.mark.complete("valgrind --tool=helgrind --history-l")
+ @pytest.mark.complete(
+ "valgrind --tool=helgrind --history-l", require_cmd=True
+ )
def test_4(self, completion):
assert "--history-level=" in completion
assert not completion.endswith(" ")