diff options
author | Ivan Efremov <i350300800e@gmail.com> | 2021-06-09 22:44:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-09 20:44:54 +0100 |
commit | 9d96d7e81099fd0dbb7ff7dc6ff5535a4457a055 (patch) | |
tree | d0a5e016f669fd40a627eb2c721d7842eaae61df /Makefile | |
parent | b5598b4c4d79b06d047f003d663b7fe69a93334f (diff) | |
download | libvfio-user-9d96d7e81099fd0dbb7ff7dc6ff5535a4457a055.zip libvfio-user-9d96d7e81099fd0dbb7ff7dc6ff5535a4457a055.tar.gz libvfio-user-9d96d7e81099fd0dbb7ff7dc6ff5535a4457a055.tar.bz2 |
Make pytest succeed even if python-3-pytest is not installed (#556)
Fix for issue #542.
Signed-off-by: Ivan Efremov <i350300800e@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -105,6 +105,10 @@ else pytest: all @echo "=== Running python tests ===" +ifeq ($(PYTESTCMD), /bin/true -rP --quiet) + @echo "No pytest-3 found in system. Try 'apt-get install python3-pytest' or 'which pytest-3'" + @echo "0 Python tests run" +endif $(PYTEST) pytest-valgrind: all |