update pytest check

This commit is contained in:
arowser
2018-12-18 11:32:52 +08:00
committed by Christian Decker
parent 7b043503e2
commit c99aa0a21d
2 changed files with 6 additions and 2 deletions

View File

@@ -230,7 +230,7 @@ check:
$(MAKE) pytest
pytest: $(ALL_PROGRAMS)
ifndef PYTEST
ifeq ($(PYTEST),)
@echo "py.test is required to run the integration tests, please install using 'pip3 install -r tests/requirements.txt', and rerun 'configure'."
exit 1
else

6
configure vendored
View File

@@ -62,7 +62,11 @@ usage()
add_var()
{
echo "Setting $1... $2"
if [ -n "$2" ]; then
echo "Setting $1... $2"
else
echo "$1 not found"
fi
echo "$1=$2" >> $CONFIG_VAR_FILE
[ -z "$3" ] || echo "#define $1 $2" >> "$3"
}