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 "$(executables)"
10 test_options += --objects "$(basename $(all_objs))"
13 ifeq ("$(origin V)", "command line")
14 test_options += --verbose=$(V)
18 tests := $(sort $(wildcard $(test_dir)/t[0-9][0-9][0-9][0-9]-*.sh))
23 $(Q) $@ $(test_options)
26 $(Q) for t in $(tests); do $$t $(test_options) -h; done
29 $(RM) -r $(results_dir)
32 .PHONY: $(tests) test-help