Changeset 87e1eba


Ignore:
Timestamp:
2010-12-08T03:05:27Z (13 years ago)
Author:
Miklos Vajna <vmiklos@…>
Branches:
master
Children:
4ae3ffc
Parents:
6d41bc5
Message:

t: cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • skype/t/Makefile

    r6d41bc5 r87e1eba  
    88tests := $(patsubst %.test,%,$(testfiles))
    99
    10 .PHONY: checkvars $(tests)
     10.PHONY: $(tests)
    1111
    1212default: $(tests)
    1313        @echo "passed $$(echo $(testfiles)|wc -w) tests."
    1414
    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                 fi
    24 
    2515$(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 $@ ---"; \
    2917                if ! ./livetest-bitlbee.sh $(BITLBEE) $(PORT) irssi/livetest-irssi.sh $< >$@.log; then \
    3018                        echo Test failed, log: ;\
Note: See TracChangeset for help on using the changeset viewer.