mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-26 07:13:55 +01:00
test-exe.mk: Add target testclean, fix dependencies
- Add target testclean - Beautify output - Fix dependencies
This commit is contained in:
parent
006d2d3db3
commit
df71ceec59
1 changed files with 3 additions and 6 deletions
|
|
@ -7,19 +7,16 @@ ifeq ($(EXE),)
|
||||||
EXE = $(notdir $(shell pwd))
|
EXE = $(notdir $(shell pwd))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
include $(MODDIR)/make/defs.mk
|
|
||||||
include $(MODDIR)/make/ldlibpath.mk
|
|
||||||
include $(MODDIR)/make/exe.mk
|
include $(MODDIR)/make/exe.mk
|
||||||
|
|
||||||
all: test.done
|
test: test.done
|
||||||
clean: test-out-clean
|
clean: testclean
|
||||||
|
|
||||||
test.done:
|
test.done:
|
||||||
if ! 2>&1 make run > test.out 2>&1 ; then \
|
if ! 2>&1 make run > test.out 2>&1 ; then \
|
||||||
echo "================= test failed"; \
|
|
||||||
cat test.out; \
|
cat test.out; \
|
||||||
fi
|
fi
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
test-out-clean:
|
testclean:
|
||||||
rm -rf test.done test.out
|
rm -rf test.done test.out
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue