Prechádzať zdrojové kódy

Remove exclude jenkins, make slow tests run in CI

rhuanjl 5 rokov pred
rodič
commit
0f0664a7e8

+ 1 - 1
test/Bugs/rlexe.xml

@@ -307,7 +307,7 @@
     <default>
       <files>misc_bugs.js</files>
       <compile-flags>-args summary -endargs</compile-flags>
-      <tags>Slow</tags>
+      <tags>exclude_windows</tags>
     </default>
   </test>
   <test>

+ 11 - 22
test/Date/rlexe.xml

@@ -3,34 +3,30 @@
   <test>
     <default>
       <files>DateCtr.js</files>
-      <!-- test is timezone-sensitive; remove exclude_jenkins after fix (Microsoft/ChakraCore#319) -->
-      <tags>exclude_jenkins,slow</tags>
+      <tags>slow</tags>
     </default>
   </test>
   <test>
     <default>
       <files>DateGetSet.js</files>
       <baseline>DateGetSet.baseline</baseline>
-      <!-- test is timezone-sensitive; remove exclude_jenkins after fix (Microsoft/ChakraCore#319) -->
       <!-- XPLAT doesn't provide expected DST info for year 35816 -->
-      <tags>exclude_jenkins,exclude_xplat,slow</tags>
+      <tags>exclude_xplat,slow</tags>
     </default>
   </test>
   <test>
     <default>
       <files>DateParse.js</files>
       <baseline>DateParse_es5.baseline</baseline>
-      <!-- test is timezone-sensitive; remove exclude_jenkins after fix (Microsoft/ChakraCore#319) -->
-      <tags>slow,exclude_jenkins</tags>
+      <tags>slow</tags>
     </default>
   </test>
   <test>
     <default>
       <files>DateParse2.js</files>
       <baseline>DateParse2.v5.baseline</baseline>
-      <!-- test is timezone-sensitive; remove exclude_jenkins after fix (Microsoft/ChakraCore#319) -->
       <!-- xplat DST info for BC years don't mach to ones for Windows. Internally trying to match them is very expensive -->
-      <tags>slow,exclude_jenkins,exclude_xplat</tags>
+      <tags>slow,exclude_xplat</tags>
     </default>
   </test>
   <test>
@@ -67,8 +63,7 @@
       <files>Conversions.js</files>
       <baseline>Conversions.win8.baseline</baseline>
       <compile-flags>-Intl-</compile-flags>
-      <!-- test is timezone-sensitive; remove exclude_jenkins after fix (Microsoft/ChakraCore#319) -->
-      <tags>exclude_win7,exclude_winBlue,exclude_snap,exclude_jenkins,exclude_xplat,slow</tags>
+      <tags>exclude_win7,exclude_winBlue,exclude_snap,exclude_xplat,slow</tags>
     </default>
   </test>
   <test>
@@ -76,8 +71,7 @@
       <files>Conversions.js</files>
       <baseline>Conversions.baseline</baseline>
       <compile-flags>-Intl-</compile-flags>
-      <!-- test is timezone-sensitive; remove exclude_jenkins after fix (Microsoft/ChakraCore#319) -->
-      <tags>exclude_win7,exclude_win8,exclude_snap,exclude_jenkins,exclude_xplat,slow</tags>
+      <tags>exclude_win7,exclude_win8,exclude_snap,exclude_xplat,slow</tags>
     </default>
   </test>
   <test>
@@ -90,8 +84,7 @@
   <test>
     <default>
       <files>formatting_xplat.js</files>
-      <!-- test is timezone-sensitive; remove exclude_jenkins after fix (Microsoft/ChakraCore#319) -->
-      <tags>slow,exclude_jenkins,exclude_windows</tags>
+      <tags>slow,exclude_windows</tags>
     </default>
   </test>
   <test>
@@ -99,10 +92,9 @@
       <files>formatting.js</files>
       <baseline>formatting.baseline</baseline>
       <compile-flags>-ForceOldDateAPI</compile-flags>
-      <!-- test is timezone-sensitive; remove exclude_jenkins after fix (Microsoft/ChakraCore#319) -->
       <!-- on DST pass Win OldDateAPI jumps back to 01:00 after 01:59 -->
       <!-- todo: Do not force OLDDateAPI ? -->
-      <tags>slow,exclude_jenkins,exclude_xplat</tags>
+      <tags>slow,exclude_xplat</tags>
     </default>
     <condition order="1" type="include">
       <os>win8</os>
@@ -139,9 +131,8 @@
   <test>
     <default>
       <files>toStringAndToUTCStringYearPadding.js</files>
-      <!-- test is timezone-sensitive; remove exclude_jenkins after fix (Microsoft/ChakraCore#319) -->
       <!-- xplat tz info for BC != Windows tz info for BC -->
-      <tags>slow,exclude_jenkins,exclude_xplat</tags>
+      <tags>slow,exclude_xplat</tags>
       <compile-flags>-args summary -endargs</compile-flags>
     </default>
   </test>
@@ -163,9 +154,8 @@
     <default>
       <files>parseValidISO.js</files>
       <baseline>parseValidISO.baseline</baseline>
-      <!-- test is timezone-sensitive; remove exclude_jenkins after fix (Microsoft/ChakraCore#319) -->
       <!-- xplat tz info for BC != Windows tz info for BC -->
-      <tags>slow,exclude_jenkins,exclude_xplat</tags>
+      <tags>slow,exclude_xplat</tags>
       <compile-flags>-args summary -endargs</compile-flags>
     </default>
   </test>
@@ -173,9 +163,8 @@
     <default>
       <files>parseInvalidISO.js</files>
       <baseline>parseInvalidISO.baseline</baseline>
-      <!-- test is timezone-sensitive; remove exclude_jenkins after fix (Microsoft/ChakraCore#319) -->
       <!-- OSX doesn't provide expected DST for minus years -->
-      <tags>slow,exclude_jenkins,exclude_xplat</tags>
+      <tags>slow,exclude_xplat</tags>
     </default>
   </test>
 </regress-exe>

+ 1 - 2
test/GlobalFunctions/rlexe.xml

@@ -59,8 +59,7 @@
     <default>
       <files>InternalToString.js</files>
       <baseline>InternalToString.baseline</baseline>
-      <!-- test is timezone-sensitive; remove exclude_jenkins after fix (Microsoft/ChakraCore#319) -->
-      <tags>exclude_jenkins,slow</tags>
+      <tags>slow</tags>
     </default>
   </test>
   <test>

+ 1 - 2
test/JSON/rlexe.xml

@@ -10,8 +10,7 @@
     <default>
       <files>jx2.js</files>
       <baseline>jx2.baseline</baseline>
-      <!-- test is timezone-sensitive; remove exclude_jenkins after fix (Microsoft/ChakraCore#319) -->
-      <tags>exclude_jenkins,slow</tags>
+      <tags>slow</tags>
     </default>
   </test>
   <test>

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 280 - 280
test/Operators/biops.baseline


+ 2 - 10
test/Operators/biops.js

@@ -1,5 +1,6 @@
 //-------------------------------------------------------------------------------------------------------
 // Copyright (C) Microsoft. All rights reserved.
+// Copyright (c) 2021 ChakraCore Project Contributors. All rights reserved.
 // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
 //-------------------------------------------------------------------------------------------------------
 
@@ -46,19 +47,10 @@ var biops = [
     "&&", "||"                    // 11.11 Binary logical operators    
 ];
 
-function fixDate(output)
-{
-    if (output instanceof Date)
-    {
-        return output.toUTCString();
-    }
-    return output;
-}
-
 for (var op in biops) {
     for (var i=0; i<all.length; ++i) {
         for (var j=0; j<all.length; ++j) {
-            write("a["+i+"]("+fixDate(all[i])+") "+biops[op]+" a["+j+"]("+fixDate(all[j])+") = " + fixDate(eval("all[i] " + biops[op] + " all[j];")));            
+            write("a["+i+"]("+all[i]+") "+biops[op]+" a["+j+"]("+all[j]+") = " + eval("all[i] " + biops[op] + " all[j];"));            
         }
     }
 }

+ 0 - 1
test/es6/rlexe.xml

@@ -453,7 +453,6 @@
     <default>
       <files>ES6StringTemplateSlow.js</files>
       <compile-flags>-args summary -endargs</compile-flags>
-      <tags>Nightly</tags>
     </default>
   </test>
   <test>

Niektoré súbory nie sú zobrazené, pretože je v týchto rozdielových dátach zmenené mnoho súborov