Title: [273412] trunk/Tools
Revision
273412
Author
aakash_j...@apple.com
Date
2021-02-24 11:37:26 -0800 (Wed, 24 Feb 2021)

Log Message

Add unit-tests for various step in build.webkit.org (follow-up fix)
https://bugs.webkit.org/show_bug.cgi?id=222075
<rdar://problem/74691345>

Unreviewed follow-up fix for unit-tests.

* CISupport/build-webkit-org/steps_unittest.py:
(TestRunWebKitPyTests.test_failure):
(TestRunWebKitPyTests.test_errors):
(TestRunWebKitPyTests.test_lot_of_failures):
(TestRunLLDBWebKitTests.test_failure):
(TestRunLLDBWebKitTests.test_errors):
(TestRunLLDBWebKitTests.test_lot_of_failures):

Modified Paths

Diff

Modified: trunk/Tools/CISupport/build-webkit-org/steps_unittest.py (273411 => 273412)


--- trunk/Tools/CISupport/build-webkit-org/steps_unittest.py	2021-02-24 19:20:36 UTC (rev 273411)
+++ trunk/Tools/CISupport/build-webkit-org/steps_unittest.py	2021-02-24 19:37:26 UTC (rev 273412)
@@ -572,7 +572,7 @@
 Result: FAIL
 Failed 1/40 test programs. 10/630 subtests failed.'''),
         )
-        self.expectOutcome(result=FAILURE, state_string='webkitperl-test (failure)')
+        self.expectOutcome(result=FAILURE, state_string='10 perl tests failed')
         return self.runStep()
 
 
@@ -644,7 +644,7 @@
             ) + 2
             + ExpectShell.log('stdio', stdout='FAILED (failures=2, errors=0)'),
         )
-        self.expectOutcome(result=FAILURE, state_string='webkitpy-test (failure)')
+        self.expectOutcome(result=FAILURE, state_string='2 python tests failed')
         return self.runStep()
 
     def test_errors(self):
@@ -663,7 +663,7 @@
             ) + 2
             + ExpectShell.log('stdio', stdout='FAILED (failures=0, errors=2)'),
         )
-        self.expectOutcome(result=FAILURE, state_string='webkitpy-test (failure)')
+        self.expectOutcome(result=FAILURE, state_string='2 python tests failed')
         return self.runStep()
 
     def test_lot_of_failures(self):
@@ -682,7 +682,7 @@
             ) + 2
             + ExpectShell.log('stdio', stdout='FAILED (failures=30, errors=2)'),
         )
-        self.expectOutcome(result=FAILURE, state_string='webkitpy-test (failure)')
+        self.expectOutcome(result=FAILURE, state_string='32 python tests failed')
         return self.runStep()
 
 
@@ -734,7 +734,7 @@
             ) + 2
             + ExpectShell.log('stdio', stdout='FAILED (failures=2, errors=0)'),
         )
-        self.expectOutcome(result=FAILURE, state_string='lldb-webkit-test (failure)')
+        self.expectOutcome(result=FAILURE, state_string='2 lldb tests failed')
         return self.runStep()
 
     def test_errors(self):
@@ -749,7 +749,7 @@
             ) + 2
             + ExpectShell.log('stdio', stdout='FAILED (failures=0, errors=2)'),
         )
-        self.expectOutcome(result=FAILURE, state_string='lldb-webkit-test (failure)')
+        self.expectOutcome(result=FAILURE, state_string='2 lldb tests failed')
         return self.runStep()
 
     def test_lot_of_failures(self):
@@ -764,7 +764,7 @@
             ) + 2
             + ExpectShell.log('stdio', stdout='FAILED (failures=30, errors=2)'),
         )
-        self.expectOutcome(result=FAILURE, state_string='lldb-webkit-test (failure)')
+        self.expectOutcome(result=FAILURE, state_string='32 lldb tests failed')
         return self.runStep()
 
 

Modified: trunk/Tools/ChangeLog (273411 => 273412)


--- trunk/Tools/ChangeLog	2021-02-24 19:20:36 UTC (rev 273411)
+++ trunk/Tools/ChangeLog	2021-02-24 19:37:26 UTC (rev 273412)
@@ -1,3 +1,19 @@
+2021-02-24  Aakash Jain  <aakash_j...@apple.com>
+
+        Add unit-tests for various step in build.webkit.org (follow-up fix)
+        https://bugs.webkit.org/show_bug.cgi?id=222075
+        <rdar://problem/74691345>
+
+        Unreviewed follow-up fix for unit-tests.
+
+        * CISupport/build-webkit-org/steps_unittest.py:
+        (TestRunWebKitPyTests.test_failure):
+        (TestRunWebKitPyTests.test_errors):
+        (TestRunWebKitPyTests.test_lot_of_failures):
+        (TestRunLLDBWebKitTests.test_failure):
+        (TestRunLLDBWebKitTests.test_errors):
+        (TestRunLLDBWebKitTests.test_lot_of_failures):
+
 2021-02-24  Keith Miller  <keith_mil...@apple.com>
 
         Cloop JSC test driver command shouldn't pass build flags
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to