aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2010-12-08 04:05:27 +0100
committerMiklos Vajna <vmiklos@frugalware.org>2010-12-08 04:05:27 +0100
commit87e1eba738cfb79649924353caf221bd2ab65b75 (patch)
treeade21cd3deaf9612d7c6ef65cae34da2820a0758
parent6d41bc51b675cdc4628796f12c0d2c388d4a208a (diff)
t: cleanup
-rw-r--r--skype/t/Makefile16
1 files changed, 2 insertions, 14 deletions
diff --git a/skype/t/Makefile b/skype/t/Makefile
index 167217d3..c58729dc 100644
--- a/skype/t/Makefile
+++ b/skype/t/Makefile
@@ -7,25 +7,13 @@ export TEST_SKYPE_PASSWORD=pass
testfiles := $(wildcard irssi/*.test)
tests := $(patsubst %.test,%,$(testfiles))
-.PHONY: checkvars $(tests)
+.PHONY: $(tests)
default: $(tests)
@echo "passed $$(echo $(testfiles)|wc -w) tests."
-checkvars:
- @for test in irssi/*.test; do NVAR="$$NVAR `irssi/livetest-irssi.sh $$test checkvars`";done;\
- if echo $$NVAR|grep TEST &>/dev/null; then \
- echo Needed variables: ; \
- echo $$NVAR | tr ' ' '\n' | sort | uniq; \
- exit 1; \
- else \
- echo "--- Environment OK ---";\
- fi
-
$(tests): % : %.test
- @if ! NVARS=`irssi/livetest-irssi.sh $< checkvars`; then echo Need environment variables for $@: $$NVARS;\
- echo Skipping...;exit 0;fi;\
- echo "--- Running test $@ ---"; \
+ @echo "--- Running test $@ ---"; \
if ! ./livetest-bitlbee.sh $(BITLBEE) $(PORT) irssi/livetest-irssi.sh $< >$@.log; then \
echo Test failed, log: ;\
cat $@.log;\