Просмотр исходного кода

highlight incremental runs

[SVN r28912]
Aleksey Gurtovoy 21 лет назад
Родитель
Сommit
637185ef75

+ 4 - 1
tools/regression/xsl_reports/xsl/v2/common.xsl

@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!--
 
-Copyright MetaCommunications, Inc. 2003-2004.
+Copyright MetaCommunications, Inc. 2003-2005.
 
 Distributed under the Boost Software License, Version 1.0. (See
 accompanying file LICENSE_1_0.txt or copy at
@@ -392,6 +392,9 @@ http://www.boost.org/LICENSE_1_0.txt)
                 <xsl:variable name="age" select="meta:timestamp_difference( @timestamp, $run_date )"/>
                 <td colspan="{count(toolset)}" class="timestamp">
                     <span class="timestamp-{$age}"><xsl:value-of select="meta:format_timestamp( @timestamp )"/></span>
+                    <xsl:if test="@run-type != 'full'">
+                        <span class="run-type-{@run-type}"><xsl:value-of select="substring( @run-type, 1, 1 )"/></span>
+                    </xsl:if>
                 </td>
             </xsl:for-each>
             <td colspan="{$colspan}">&#160;</td>

+ 69 - 72
tools/regression/xsl_reports/xsl/v2/html/library_developer_legend.html

@@ -1,6 +1,6 @@
 <!--
 
-Copyright MetaCommunications, Inc. 2003-2004.
+Copyright MetaCommunications, Inc. 2003-2005.
 
 Distributed under the Boost Software License, Version 1.0. (See
 accompanying file LICENSE_1_0.txt or copy at
@@ -10,76 +10,73 @@ http://www.boost.org/LICENSE_1_0.txt)
 
 <div class="legend">
 <table border="0" summary="report description">
-<tr>
-    <td>
-    <table border="0" summary="legend">
-        <tr>
-            <td>
-                <table width="100%" summary="success legend">
-                <tr class="library-row-single"><td class="library-success-expected">pass</td></tr>
-                </table>
-            </td>
-            <td class="legend-item">Success.</td>
-        </tr>
-        <tr>
-            <td>
-                <table width="100%" summary="unexpected pass legend">
-                <tr class="library-row-single"><td class="library-success-unexpected">pass</td></tr>
-                </table>
-            </td>
-            <td class="legend-item">Unexpected success; follow the link for more details.</td>
-        </tr>
-        <tr>
-            <td>
-                <table width="100%" summary="expected fail legend">
-                <tr class="library-row-single"><td class="library-fail-expected">fail*</td></tr>
-                </table>
-            </td>
-            <td class="legend-item">Expected failure; follow the link for more details.</td>
-        </tr>
-        <tr>
-            <td>
-                <table width="100%" summary="unusable legend" id="Table1">
-                <tr class="library-row-single"><td class="library-unusable">n/a</td></tr>
-                </table>
-            </td>
-            <td class="legend-item">The library author marked it as unusable on this particular platform/toolset.</td>
-        </tr>
-    </table>
-    </td>
-    <td>
-    <table border="0" summary="legend">
-        <tr>
-            <td>
-                <table width="100%" summary="unresearched legend" id="Table2">
-                <tr class="library-row-single"><td class="library-fail-expected-unresearched">fail?</td></tr>
-                </table>
-            </td>
-            <td class="legend-item">Unsearched failure; follow the link for more details.</td>
-        </tr>
-        <tr>
-            <td>
-                <table width="100%" summary="unexpected new fail legend">
-                <tr class="library-row-single"><td class="library-fail-unexpected-new">fail</td></tr>
-                </table>
-            </td>
-            <td class="legend-item">Failure on a newly added test/compiler.</td>
-        </tr>
-        <tr>
-            <td>
-                <table width="100%" summary="unexpected fail legend">
-                <tr class="library-row-single"><td class="library-fail-unexpected">fail</td></tr>
-                </table>
-            </td>
-            <td class="legend-item">Unexpected failure/regression.</td>
-        </tr>
-        <tr>
-            <td>
-            </td>
-            <td class="legend-item"></td>
-        </tr>
-    </table>
-    </td>
-</tr>
+    <tr>
+        <td class="legend-item" width="50pt">
+            <table width="100%" summary="success legend">
+            <tr class="library-row-single"><td class="library-success-expected">pass</td></tr>
+            </table>
+        </td>
+        <td class="legend-explanation">Success.</td>
+    </tr>
+    <tr>
+        <td class="legend-item" width="50pt">
+            <table width="100%" summary="unexpected pass legend">
+            <tr class="library-row-single"><td class="library-success-unexpected">pass</td></tr>
+            </table>
+        </td>
+        <td class="legend-explanation">Unexpected success; follow the link for more details.</td>
+    </tr>
+    <tr>
+        <td class="legend-item" width="50pt">
+            <table width="100%" summary="expected fail legend">
+            <tr class="library-row-single"><td class="library-fail-expected">fail*</td></tr>
+            </table>
+        </td>
+        <td class="legend-explanation">Expected failure; follow the link for more details.</td>
+    </tr>
+    <tr>
+        <td class="legend-item" width="50pt">
+            <table width="100%" summary="unusable legend">
+            <tr class="library-row-single"><td class="library-unusable">n/a</td></tr>
+            </table>
+        </td>
+        <td class="legend-explanation">The library author marked it as unusable on this particular platform/toolset.</td>
+    </tr>
+    <tr>
+        <td class="legend-item" width="50pt">
+            <table width="100%" summary="unresearched legend">
+            <tr class="library-row-single"><td class="library-fail-expected-unresearched">fail?</td></tr>
+            </table>
+        </td>
+        <td class="legend-explanation">Unsearched failure; follow the link for more details.</td>
+    </tr>
+    <tr>
+        <td class="legend-item" width="50pt">
+            <table width="100%" summary="unexpected new fail legend">
+            <tr class="library-row-single"><td class="library-fail-unexpected-new">fail</td></tr>
+            </table>
+        </td>
+        <td class="legend-explanation">Failure on a newly added test/compiler.</td>
+    </tr>
+    <tr>
+        <td class="legend-item" width="50pt">
+            <table width="100%" summary="unexpected fail legend">
+            <tr class="library-row-single"><td class="library-fail-unexpected">fail</td></tr>
+            </table>
+        </td>
+        <td class="legend-explanation">Unexpected failure/regression.</td>
+    </tr>
+    <tr>
+        <td class="legend-item" width="50pt">
+        </td>
+        <td class="legend-explanation"></td>
+    </tr>
+</table>
+<hr/>
+<table border="0" summary="report description">
+    <tr>
+        <td><span class="run-type-incremental">i</span></td>
+        <td class="legend-explanation">An incremental run.</td>
+    </tr>
 </table>
 </div>

+ 13 - 1
tools/regression/xsl_reports/xsl/v2/html/master.css

@@ -110,9 +110,14 @@ td.header-item-content
 }
 
 td.legend-item
+{ 
+    padding: 0pt;
+    width: 50pt;
+}
+
+td.legend-explanation
 { 
     padding-left: 5pt;
-/*    padding-top: 2pt;*/
 }
 
 div.acknowledgement
@@ -147,6 +152,13 @@ div.library-name
     font-weight: bold;
 }
 
+span.run-type-incremental
+{
+    margin-left: 3pt;
+    padding-left: 1pt;
+    padding-right: 1pt;
+    background-color: yellow;
+}
 
  span.timestamp-1
 ,span.timestamp-2 

+ 58 - 61
tools/regression/xsl_reports/xsl/v2/html/summary_developer_legend.html

@@ -1,6 +1,6 @@
 <!--
 
-Copyright MetaCommunications, Inc. 2003-2004.
+Copyright MetaCommunications, Inc. 2003-2005.
 
 Distributed under the Boost Software License, Version 1.0. (See
 accompanying file LICENSE_1_0.txt or copy at
@@ -10,66 +10,63 @@ http://www.boost.org/LICENSE_1_0.txt)
 
 <div class="legend">
 <table border="0" summary="report description">
-<tr>
-    <td>
-    <table border="0" summary="legend">
-        <tr>
-            <td>
-                <table width="100%" summary="success legend">
-                    <tr class="summary-row-single"><td class="summary-success-expected">OK</td></tr>
-                 </table>
-            </td>
-            <td class="legend-item">
-                All expected tests pass.
-            </td>
-        </tr>
-        <tr>
-            <td>
-                <table width="100%" summary="unexpected pass legend">
-                    <tr class="summary-row-single"><td class="summary-success-unexpected">OK</td></tr>
+    <tr>
+        <td class="legend-item" width="50pt">
+            <table width="100%" summary="success legend">
+                <tr class="summary-row-single"><td class="summary-success-expected">OK</td></tr>
                 </table>
-            </td>
-            <td class="legend-item">
-                All expected tests pass, and some other tests that were expected to fail 
-                unexpectedly pass as well.
-            </td>
-        </tr>
-        <tr>
-            <td>
-                <table width="100%" summary="unexpected new fail legend">
-                    <tr class="summary-row-single"><td class="summary-fail-unexpected-new">fail</td></tr>
-                </table>
-            </td>
-            <td class="legend-item">
-                There are some failures on the newly added tests/compiler(s).
-            </td>
-        </tr>
-    </table>
-    </td>
-    <td>
-    <table border="0" summary="legend">
-        <tr>
-            <td>
-                <table width="100%" summary="unexpected fail legend">
-                    <tr class="summary-row-single"><td class="summary-fail-unexpected">broken</td></tr>
-                </table>
-            </td>
-            <td class="legend-item">
-                Tests that the library author expects to pass are currently failing.
-            </td>
-        </tr>
-        <tr>
-            <td>
-                <table width="100%" summary="unusable legend">
-                    <tr class="summary-row-single"><td class="summary-unusable">n/a</td></tr>
-                </table>
-            </td>
-            <td class="legend-item">
-                The library author marked it as unusable on particular platform/toolset.
-            </td>
-        </tr>
-    </table>
-    </td>
-</tr>
+        </td>
+        <td class="legend-explanation">
+            All expected tests pass.
+        </td>
+    </tr>
+    <tr>
+        <td class="legend-item" width="50pt">
+            <table width="100%" summary="unexpected pass legend">
+                <tr class="summary-row-single"><td class="summary-success-unexpected">OK</td></tr>
+            </table>
+        </td>
+        <td class="legend-explanation">
+            All expected tests pass, and some other tests that were expected to fail 
+            unexpectedly pass as well.
+        </td>
+    </tr>
+    <tr>
+        <td class="legend-item" width="50pt">
+            <table width="100%" summary="unexpected new fail legend">
+                <tr class="summary-row-single"><td class="summary-fail-unexpected-new">fail</td></tr>
+            </table>
+        </td>
+        <td class="legend-explanation">
+            There are some failures on the newly added tests/compiler(s).
+        </td>
+    </tr>
+    <tr>
+        <td class="legend-item" width="50pt">
+            <table width="100%" summary="unexpected fail legend">
+                <tr class="summary-row-single"><td class="summary-fail-unexpected">broken</td></tr>
+            </table>
+        </td>
+        <td class="legend-explanation">
+            Tests that the library author expects to pass are currently failing.
+        </td>
+    </tr>
+    <tr>
+        <td class="legend-item" width="50pt">
+            <table width="100%" summary="unusable legend">
+                <tr class="summary-row-single"><td class="summary-unusable">n/a</td></tr>
+            </table>
+        </td>
+        <td class="legend-explanation">
+            The library author marked it as unusable on particular platform/toolset.
+        </td>
+    </tr>
+</table>
+<hr/>
+<table border="0" summary="report description" id="Table1">
+    <tr>
+        <td><span class="run-type-incremental">i</span></td>
+        <td class="legend-explanation">An incremental run.</td>
+    </tr>
 </table>
 </div>

粤ICP备19079148号