Changeset 87e1eba for skype/t/Makefile
- Timestamp:
- 2010-12-08T03:05:27Z (14 years ago)
- Branches:
- master
- Children:
- 4ae3ffc
- Parents:
- 6d41bc5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
skype/t/Makefile
r6d41bc5 r87e1eba 8 8 tests := $(patsubst %.test,%,$(testfiles)) 9 9 10 .PHONY: checkvars$(tests)10 .PHONY: $(tests) 11 11 12 12 default: $(tests) 13 13 @echo "passed $$(echo $(testfiles)|wc -w) tests." 14 14 15 checkvars:16 @for test in irssi/*.test; do NVAR="$$NVAR `irssi/livetest-irssi.sh $$test checkvars`";done;\17 if echo $$NVAR|grep TEST &>/dev/null; then \18 echo Needed variables: ; \19 echo $$NVAR | tr ' ' '\n' | sort | uniq; \20 exit 1; \21 else \22 echo "--- Environment OK ---";\23 fi24 25 15 $(tests): % : %.test 26 @if ! NVARS=`irssi/livetest-irssi.sh $< checkvars`; then echo Need environment variables for $@: $$NVARS;\ 27 echo Skipping...;exit 0;fi;\ 28 echo "--- Running test $@ ---"; \ 16 @echo "--- Running test $@ ---"; \ 29 17 if ! ./livetest-bitlbee.sh $(BITLBEE) $(PORT) irssi/livetest-irssi.sh $< >$@.log; then \ 30 18 echo Test failed, log: ;\
Note: See TracChangeset
for help on using the changeset viewer.