source: trunk/base/tests/test/universal-2/Makefile @ 26177

Last change on this file since 26177 was 26177, checked in by jmpp@…, 13 years ago

Finally merging the dp2mp-move branch into trunk, woot!

This basically means all strings in our sources,
whether it's something we output to the user or something
internal, such as a function/proc naming, are entirely in
the macports namespace and we no longer mix darwinports
with apple with macports strings.

It also means we now have new paths in svn and on
the client side at installation time, added to a
cleaner structure under ${prefix}/var/. Read
http://trac.macports.org/projects/macports/wiki/MacPortsRenaming
for more information.

NOTE: This commit also marks the rsync server finally
being moved over to the macosforge boxes, with the new
layout outlined in the dp2mp-move branch in place.
DNS entries still point to the old rsync server for
macports, however, so sync'ing/selfupdating an installation
based on these sources will be temporarily broken
until dns refresh.

To developers and testers, please do test the upgrade
target in the main base/Makefile as thouroughly as
possible and report any bugs/shortcomings/unexpected_behavior
to me, thanks!

File size: 415 bytes
Line 
1include ../../../Mk/macports.autoconf.mk
2
3.PHONY: test
4
5$(bindir)/port:
6        @echo "Please install MacPorts before running this test"
7        @exit 1
8
9test:
10        @PORTSRC=$(PORTSRC) $(bindir)/port clean > /dev/null
11        @sh -c "export PORTSRC=$(PORTSRC); $(bindir)/port info" > output 2>&1 || (cat output; exit 1)
12        @diff output master 2>&1 | tee difference
13        @if [ -s difference ]; then \
14                exit 1; \
15        else \
16                rm -f difference; \
17        fi
Note: See TracBrowser for help on using the repository browser.