diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2018-11-23 21:33:28 +1100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2018-11-23 21:39:57 +1100 |
commit | d45bf1f5f2a6b8e46c5c600dc5879ff4662344d8 (patch) | |
tree | 1d5f46c0cd6fde67421ba266f2d75b02b96b80ee /tests/Makefile.tests | |
parent | 99284c4db9cbb5a8d2f0c8d16fd8490b1ea19bea (diff) | |
download | dtc-d45bf1f5f2a6b8e46c5c600dc5879ff4662344d8.zip dtc-d45bf1f5f2a6b8e46c5c600dc5879ff4662344d8.tar.gz dtc-d45bf1f5f2a6b8e46c5c600dc5879ff4662344d8.tar.bz2 |
Refine make tests_clean target
Remove some redundancy, and also clean up *.test.dt.yaml files generated
during the tests. Also add the latter to gitignore.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tests/Makefile.tests')
-rw-r--r-- | tests/Makefile.tests | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/Makefile.tests b/tests/Makefile.tests index 8b63f60..aabc906 100644 --- a/tests/Makefile.tests +++ b/tests/Makefile.tests @@ -47,8 +47,9 @@ TESTS_TARGETS = $(TESTS) $(TESTS_TREES) TESTS_DEPFILES = $(TESTS:%=%.d) \ $(addprefix $(TESTS_PREFIX),testutils.d trees.d dumptrees.d) -TESTS_CLEANFILES_L = *.output vglog.* vgcore.* *.dtb *.test.dts *.dtsv1 tmp.* -TESTS_CLEANFILES_L += dumptrees +TESTS_CLEANFILES_L = $(STD_CLEANFILES) \ + *.dtb *.test.dts *.test.dt.yaml *.dtsv1 tmp.* \ + dumptrees TESTS_CLEANFILES = $(TESTS) $(TESTS_CLEANFILES_L:%=$(TESTS_PREFIX)%) TESTS_CLEANDIRS_L = fs TESTS_CLEANDIRS = $(TESTS_CLEANDIRS_L:%=$(TESTS_PREFIX)%) @@ -76,7 +77,6 @@ $(TESTS_TREES): $(TESTS_PREFIX)dumptrees tests_clean: @$(VECHO) CLEAN "(tests)" - rm -f $(STD_CLEANFILES:%=$(TESTS_PREFIX)%) rm -f $(TESTS_CLEANFILES) rm -rf $(TESTS_CLEANDIRS) @@ -97,4 +97,3 @@ checkv: tests ${TESTS_BIN} $(TESTS_PYLIBFDT) ifneq ($(DEPTARGETS),) -include $(TESTS_DEPFILES) endif - |