mirror of
https://github.com/cuberite/libdeflate.git
synced 2025-08-04 02:06:31 -04:00
Makefile: add 'make check' target
Add the standard 'make check' target, to run some quick tests.
This commit is contained in:
parent
09f14551d8
commit
e227dee9e6
8
Makefile
8
Makefile
@ -284,6 +284,14 @@ uninstall:
|
||||
|
||||
test_programs:$(TEST_PROGRAMS)
|
||||
|
||||
# A minimal 'make check' target. This only runs some quick tests;
|
||||
# use tools/run_tests.sh if you want to run the full tests.
|
||||
check:test_programs
|
||||
./benchmark$(PROG_SUFFIX) < ./benchmark$(PROG_SUFFIX)
|
||||
for prog in test_*; do \
|
||||
./$$prog || exit 1; \
|
||||
done
|
||||
|
||||
help:
|
||||
@echo "Available targets:"
|
||||
@echo "------------------"
|
||||
|
Loading…
x
Reference in New Issue
Block a user