]> rtime.felk.cvut.cz Git - omk.git/blobdiff - tests/Makefile
Fix bug in clean target
[omk.git] / tests / Makefile
index 7552fb2caa37c221df2d835ea9d7973ce3ec969d..495e0d182eb332e1349c0dbecf93346477aa77da 100644 (file)
@@ -1,10 +1,10 @@
 wvtest_SCRIPTS = get_var.sh bin_scripts.sh all_omk_subdirs-recurs-expanded \
-all_omk_subdirs-simply-expanded automatic_subdirs cmetric              \
+all_omk_subdirs-simply-expanded automatic_subdirs clean cmetric                \
 default-config extra_rules_subdirs header-files headers-generated      \
 headers-generated-default-cflags headers-nonexisting hooks             \
 idl ignore_errors includes invocation_dir libraries no-print-directory \
 no_vpath omk_config override-config parallel_make programs             \
-programs-cflags programs-cxxflags programs-cflags-cmdline programs-defs        \
+programs-cflags programs-cxxflags programs-defs        \
 programs-test_PROGRAMS qt qt-qmake shlibs sources_dir                  \
 sources_in_subdirectory sources_list subdirs_first                     \
 subdirs_first-force-subdir use_leaf_makefiles vxworks whole_tree omkize
@@ -12,7 +12,6 @@ subdirs_first-force-subdir use_leaf_makefiles vxworks whole_tree omkize
 RULES=$(shell cd ../rules; ls)
 
 all test:
-       $(MAKE) -C ..
        ./wvtestrun $(MAKE) wvtest
 
 ALL_TESTS = $(foreach rule,$(RULES),$(foreach script,$(wvtest_SCRIPTS),$(rule)/$(script)))
@@ -21,4 +20,4 @@ ALL_TESTS = $(foreach rule,$(RULES),$(foreach script,$(wvtest_SCRIPTS),$(rule)/$
 wvtest: $(ALL_TESTS)
 
 $(ALL_TESTS):
-       LC_ALL=C OMK_RULES=$(patsubst %/,%,$(dir $@)) ./$(notdir $@)
+       -LC_ALL=C OMK_RULES=$(patsubst %/,%,$(dir $@)) ./$(notdir $@)