projects
/
firmware_header_edit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7cfce8
)
tests: use Make variable for "rm"
author
TJ
<hacker@iam.tj>
Tue, 29 Mar 2016 16:25:58 +0000
(17:25 +0100)
committer
TJ
<hacker@iam.tj>
Tue, 29 Mar 2016 16:25:58 +0000
(17:25 +0100)
Signed-off-by: TJ <hacker@iam.tj>
testsuite/Makefile
patch
|
blob
|
history
diff --git
a/testsuite/Makefile
b/testsuite/Makefile
index
fff51c9
..
12ac45f
100644
(file)
--- a/
testsuite/Makefile
+++ b/
testsuite/Makefile
@@
-11,6
+11,7
@@
OPTS = -t -q
EXE := ../$(PROG)
TEST_DIR := $(shell mktemp --directory )
CP := cp
+RM := rm -f
SHA := sha1sum
SHASUM := $(shell which $(SHA) )
HDR_ORIG := header_test.bin
@@
-18,7
+19,7
@@
HDR_TEST := $(TEST_DIR)/header_test.bin
CHK_HDR_ORIG=$(shell $(SHASUM) $(HDR_TEST) )
tests: banner test_nochange test_man_nomatch test_man_match
- -
rm -rf
$(TEST_DIR)
+ -
$(RM) -r
$(TEST_DIR)
banner:
@echo "Starting tests"