3 results_dir := $(test_dir)/test-results
4 trash_dir := $(test_dir)/trashes
6 test_options := --executables-dir $(shell pwd)
7 test_options += --results-dir $(results_dir)
8 test_options += --trash-dir $(trash_dir)
9 test_options += --executables "$(prefixed_executables)"
10 test_options += --objects "$(basename $(all_objs))"
11 test_options += --man-dir $(man_dir)
14 ifeq ("$(origin V)", "command line")
15 test_options += --verbose=$(V)
19 tests := $(sort $(wildcard $(test_dir)/t[0-9][0-9][0-9][0-9]-*.sh))
25 $(Q) $@ $(test_options)
28 $(Q) for t in $(tests); do $$t $(test_options) -h; done
31 $(RM) -r $(results_dir)
34 .PHONY: $(tests) test-help test-clean test check