f0842a27c5
Adds an config attribute to the Depot Autopilot component: :<config repeat>: Can be one of "false" - process the given test list only once, "until_forever" - endlessly repeat processing the given test list, "until_failed" - repeat processing the given test list until it fails. Adds an environment variable to the Depot Autopilot Run script: :TEST_REPEAT: Same as the <config repeat> attribute of the Depot Autopilot. This is useful when having to debug very sporadic errors during one test or a series of tests.
109 lines
3.6 KiB
XML
109 lines
3.6 KiB
XML
<?xml version="1.0"?>
|
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
|
|
|
<xs:include schemaLocation="base_types.xsd"/>
|
|
<xs:include schemaLocation="timeout_types.xsd"/>
|
|
|
|
<xs:simpleType name="Repeat">
|
|
<xs:restriction base="xs:string">
|
|
<xs:enumeration value="false" />
|
|
<xs:enumeration value="until_forever" />
|
|
<xs:enumeration value="until_failed" />
|
|
</xs:restriction>
|
|
</xs:simpleType><!-- Architecture -->
|
|
|
|
<xs:simpleType name="Architecture">
|
|
<xs:restriction base="xs:string">
|
|
<xs:enumeration value="x86_64" />
|
|
<xs:enumeration value="x86_32" />
|
|
<xs:enumeration value="arm_v6" />
|
|
<xs:enumeration value="arm_v7a" />
|
|
</xs:restriction>
|
|
</xs:simpleType><!-- Architecture -->
|
|
|
|
<xs:simpleType name="Child_name">
|
|
<xs:restriction base="xs:string">
|
|
<xs:minLength value="1"/>
|
|
<xs:maxLength value="100"/>
|
|
</xs:restriction>
|
|
</xs:simpleType><!-- Child_name -->
|
|
|
|
<xs:simpleType name="Archive_path">
|
|
<xs:restriction base="xs:string">
|
|
<xs:minLength value="1"/>
|
|
<xs:maxLength value="100"/>
|
|
</xs:restriction>
|
|
</xs:simpleType><!-- Archive_path -->
|
|
|
|
<xs:complexType name="Service">
|
|
<xs:choice minOccurs="1" maxOccurs="3">
|
|
<xs:element name="parent"/>
|
|
<xs:element name="any-child"/>
|
|
<xs:element name="child">
|
|
<xs:complexType>
|
|
<xs:attribute name="name" type="xs:string" />
|
|
<xs:attribute name="label" type="Session_label" />
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:choice>
|
|
<xs:attribute name="name" type="xs:string" />
|
|
<xs:attribute name="label" type="Session_label" />
|
|
<xs:attribute name="label_prefix" type="Session_label" />
|
|
<xs:attribute name="label_suffix" type="Session_label" />
|
|
<xs:attribute name="label_last" type="Session_label" />
|
|
<xs:attribute name="unscoped_label" type="Session_label" />
|
|
</xs:complexType> <!-- Service -->
|
|
|
|
<xs:complexType name="Route">
|
|
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
<xs:element name="service" type="Service"/>
|
|
<xs:element name="any-service" type="Service"/>
|
|
</xs:choice>
|
|
</xs:complexType> <!-- Route -->
|
|
|
|
<xs:element name="config">
|
|
<xs:complexType>
|
|
<xs:choice minOccurs="0" maxOccurs="unbounded">
|
|
|
|
<xs:element name="static">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip" />
|
|
</xs:sequence>
|
|
<xs:anyAttribute processContents="skip"/>
|
|
</xs:complexType>
|
|
</xs:element> <!-- static -->
|
|
|
|
<xs:element name="common_routes" type="Route"/>
|
|
|
|
<xs:element name="previous-results">
|
|
<xs:complexType>
|
|
<xs:simpleContent>
|
|
<xs:extension base="xs:string">
|
|
<xs:attribute name="time_sec" type="Seconds" />
|
|
<xs:attribute name="succeeded" type="xs:nonNegativeInteger" />
|
|
<xs:attribute name="failed" type="xs:nonNegativeInteger" />
|
|
<xs:attribute name="skipped" type="xs:nonNegativeInteger" />
|
|
</xs:extension>
|
|
</xs:simpleContent>
|
|
</xs:complexType>
|
|
</xs:element> <!-- previous-results -->
|
|
|
|
<xs:element name="start">
|
|
<xs:complexType>
|
|
<xs:attribute name="name" type="Child_name" />
|
|
<xs:attribute name="pkg" type="Archive_path" />
|
|
<xs:attribute name="skip" type="Boolean" />
|
|
</xs:complexType>
|
|
</xs:element> <!-- start -->
|
|
|
|
</xs:choice>
|
|
<xs:attribute name="arch" type="Architecture" />
|
|
<xs:attribute name="repeat" type="Repeat" />
|
|
<xs:attribute name="children_label_prefix" type="Session_label" />
|
|
<xs:attribute name="ld_verbose" type="Boolean" />
|
|
</xs:complexType>
|
|
</xs:element><!-- config -->
|
|
|
|
</xs:schema>
|