]> rtime.felk.cvut.cz Git - omk.git/blob - tests/Makefile
Update wvtool
[omk.git] / tests / Makefile
1 wvtest_SCRIPTS = get_var.sh bin_scripts.sh all_omk_subdirs-recurs-expanded \
2 all_omk_subdirs-simply-expanded automatic_subdirs clean cmetric         \
3 default-config extra_rules_subdirs header-files headers-generated       \
4 headers-generated-default-cflags headers-nonexisting hooks              \
5 idl ignore_errors includes invocation_dir libraries no-print-directory  \
6 no_vpath omk_config override-config parallel_make programs              \
7 programs-cflags programs-cxxflags programs-defs \
8 programs-test_PROGRAMS qt qt-qmake shlibs sources_dir                   \
9 sources_in_subdirectory sources_list subdirs_first                      \
10 subdirs_first-force-subdir use_leaf_makefiles vxworks whole_tree omkize
11
12 RULES=$(shell cd ../rules; ls)
13
14 all test:
15         ./wvtool run $(MAKE) wvtest
16
17 ALL_TESTS = $(foreach rule,$(RULES),$(foreach script,$(wvtest_SCRIPTS),$(rule)/$(script)))
18
19 .PHONY: $(ALL_TESTS) wvtest
20 wvtest: $(ALL_TESTS)
21
22 $(ALL_TESTS):
23         -LC_ALL=C OMK_RULES=$(patsubst %/,%,$(dir $@)) ./$(notdir $@)