Ignore:
Timestamp:
Nov 5, 2008, 2:38:06 PM (12 years ago)
Author:
pguyot@…
Message:

Fix switch statement (put comment before the statement) and add a test to check for that

Location:
trunk/base/tests/test/dependencies-e
Files:
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/base/tests/test/dependencies-e/Portfile

    r41526 r41527  
    22
    33PortSystem 1.0
    4 name            dependencies-d
     4name            dependencies-e
    55version         1
    66categories      test
     
    2121}
    2222
    23 # Check that macports doesn't chunk on this junk.
    24 # This might mean this port depends on port dependencies-a without variant
    25 # i_want_b (which is a default variant).
    26 depends_lib     port:-i_want_b:dependencies-a
    27 
    28 # Check that macports doesn't chunk on this junk, but just generates a warning.
    29 depends {configure {dependencies-a +i_want_b >= 1}}
     23depends_build \
     24    port:docbook-xml-4.1.2 \
     25    port:docbook-xml-4.2 \
     26    port:docbook-xml-4.3 \
     27    port:docbook-xml-4.4 \
     28    port:docbook-xml-4.5
    3029
    3130test {
  • trunk/base/tests/test/dependencies-e/master

    r41526 r41527  
    1 Warning: depends option is not handled yet
    2 Warning: depends option is not handled yet
    3 --->  Fetching dependencies-b
    4 --->  Verifying checksum(s) for dependencies-b
    5 --->  Extracting dependencies-b
    6 --->  Configuring dependencies-b
    7 --->  Building dependencies-b
    8 --->  Staging dependencies-b into destroot
    9 --->  Installing dependencies-b @1_0
    10 --->  Activating dependencies-b @1_0
    11 --->  Cleaning dependencies-b
    12 --->  Fetching dependencies-a
    13 --->  Verifying checksum(s) for dependencies-a
    14 --->  Extracting dependencies-a
    15 --->  Configuring dependencies-a
    16 --->  Building dependencies-a
    17 --->  Staging dependencies-a into destroot
    18 --->  Installing dependencies-a @1_0+i_want_b
    19 --->  Activating dependencies-a @1_0+i_want_b
    20 --->  Cleaning dependencies-a
    21 --->  Fetching dependencies-d
    22 --->  Verifying checksum(s) for dependencies-d
    23 --->  Extracting dependencies-d
    24 --->  Configuring dependencies-d
    25 --->  Building dependencies-d
    26 --->  Testing dependencies-d
     1Error: Dependency 'docbook-xml-4.1.2' not found.
     2Error: Status 1 encountered during processing.
Note: See TracChangeset for help on using the changeset viewer.