mirror of
https://github.com/macports/macports-user-wms.git
synced 2026-07-13 03:18:37 -07:00
git-svn-id: https://svn.macports.org/repository/macports/users/wms@97674 d073be05-634f-4543-b044-5fe20cf6d1d6
19 lines
453 B
Makefile
19 lines
453 B
Makefile
include ../../../Mk/macports.autoconf.mk
|
|
|
|
.PHONY: test
|
|
|
|
$(bindir)/port:
|
|
@echo "Please install MacPorts before running this test"
|
|
@exit 1
|
|
|
|
test:
|
|
@PORTSRC=$(PORTSRC) $(bindir)/port clean > /dev/null
|
|
@sh -c "export ENVA=A ; export ENVB=B; \
|
|
export PORTSRC=$(PORTSRC); $(bindir)/port test" > output 2>&1 || (cat output; exit 1)
|
|
@diff -u master output 2>&1 | tee difference
|
|
@if [ -s difference ]; then \
|
|
exit 1; \
|
|
else \
|
|
rm -f difference; \
|
|
fi
|