Changeset 37271


Ignore:
Timestamp:
Jun 2, 2008, 12:06:59 AM (12 years ago)
Author:
raimue@…
Message:

tests/test/universal{,-2}:
Use port info --variants to check for the variant instead of the whole info
output. Should be more error prone if we make further changes.

Location:
trunk/base/tests/test
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/tests/test/universal-2/Makefile

    r26177 r37271  
    99test:
    1010        @PORTSRC=$(PORTSRC) $(bindir)/port clean > /dev/null
    11         @sh -c "export PORTSRC=$(PORTSRC); $(bindir)/port info" > output 2>&1 || (cat output; exit 1)
     11        @sh -c "export PORTSRC=$(PORTSRC); $(bindir)/port info --variants" > output 2>&1 || (cat output; exit 1)
    1212        @diff output master 2>&1 | tee difference
    1313        @if [ -s difference ]; then \
  • trunk/base/tests/test/universal-2/master

    r23968 r37271  
    1 universal-2 1, test/universal-2
    2 http://www.macports.org/
    3 
    4 {Test port for universal variant}
    5 
    6 Platforms: darwin
    7 Maintainers: pguyot@kallisys.net
     1no info for 'variants'
     2variants:
  • trunk/base/tests/test/universal/Makefile

    r26177 r37271  
    99test:
    1010        @PORTSRC=$(PORTSRC) $(bindir)/port clean > /dev/null
    11         @sh -c "export PORTSRC=$(PORTSRC); $(bindir)/port info" > output 2>&1 || (cat output; exit 1)
     11        @sh -c "export PORTSRC=$(PORTSRC); $(bindir)/port info --variants" > output 2>&1 || (cat output; exit 1)
    1212        @diff output master 2>&1 | tee difference
    1313        @if [ -s difference ]; then \
  • trunk/base/tests/test/universal/master

    r23968 r37271  
    1 universal 1, test/universal (Variants: universal)
    2 http://www.macports.org/
    3 
    4 {Test port for universal variant}
    5 
    6 Platforms: darwin
    7 Maintainers: pguyot@kallisys.net
     1variants: universal
Note: See TracChangeset for help on using the changeset viewer.