Add check-verbose Makefile target that runs tests in verbose mode.

This commit is contained in:
Todd C. Miller
2022-03-02 13:32:08 -07:00
parent 43cc80d795
commit cdee5d48da
20 changed files with 63 additions and 11 deletions

View File

@@ -131,6 +131,7 @@ LIBOBJDIR = $(top_builddir)/@ac_config_libobj_dir@/
VERSION = @PACKAGE_VERSION@
TEST_PROGS = check_python_examples
TEST_VERBOSE =
CHECK_PYTHON_EXAMPLES_OBJS = check_python_examples.o iohelpers.o testhelpers.o pyhelpers.o sudo_python_debug.o
@@ -238,6 +239,9 @@ check: $(TEST_PROGS) check-fuzzer
./check_python_examples ".libs/python_plugin.so"; \
fi
check-verbose:
exec $(MAKE) $(MFLAGS) TEST_VERBOSE=-v check
update_test_data: $(TEST_PROGS)
@if test X"$(cross_compiling)" != X"yes"; then \
UPDATE_TESTDATA=1 ./check_python_examples ".libs/python_plugin.so"; \