diff options
author | 2020-03-04 16:05:31 +1100 | |
---|---|---|
committer | 2020-03-04 16:05:31 +1100 | |
commit | e4ce227e89d7334c44e0018ae837e0a2a824a812 (patch) | |
tree | cec611c6b61f3c9362a3137448c03a10d9bdc7c1 | |
parent | 9b75292c335ca4d4f93ba91db92d4de1f0269e93 (diff) |
tests: Properly clean up .bak file from tests
One of our testcases creates a .bak file from invoking sed. Fix that to be
removed by make clean, and also ignore it in git to avoid clutter.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | tests/Makefile.tests | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -4,6 +4,7 @@ *.patch *.so *~ +*.bak *.tab.[ch] lex.yy.c *.lex.c diff --git a/tests/Makefile.tests b/tests/Makefile.tests index f3997e2..cb66c9f 100644 --- a/tests/Makefile.tests +++ b/tests/Makefile.tests @@ -49,7 +49,7 @@ TESTS_DEPFILES = $(TESTS:%=%.d) \ $(addprefix $(TESTS_PREFIX),testutils.d trees.d dumptrees.d) TESTS_CLEANFILES_L = $(STD_CLEANFILES) \ - *.dtb *.test.dts *.test.dt.yaml *.dtsv1 tmp.* \ + *.dtb *.test.dts *.test.dt.yaml *.dtsv1 tmp.* *.bak \ dumptrees TESTS_CLEANFILES = $(TESTS) $(TESTS_CLEANFILES_L:%=$(TESTS_PREFIX)%) TESTS_CLEANDIRS_L = fs |