Bug 204123

Summary: Update unit-tests for JSC EWS
Product: WebKit Reporter: Aakash Jain <aakash_jain>
Component: Tools / TestsAssignee: Aakash Jain <aakash_jain>
Status: RESOLVED FIXED    
Severity: Normal CC: aakash_jain, jbedard, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=201997
Attachments:
Description Flags
Patch jbedard: review+

Description Aakash Jain 2019-11-12 12:36:48 PST
After we updated platform from 'jsc-only' to 'mac-highsierra' for jsc queues in https://trac.webkit.org/changeset/250102/webkit, we need to update the unit-tests to correctly cover both 'mac-highsierra' and 'jsc-only' platforms.
Comment 1 Aakash Jain 2019-11-12 12:51:53 PST
Created attachment 383371 [details]
Patch
Comment 2 Jonathan Bedard 2019-11-12 13:26:40 PST
Comment on attachment 383371 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=383371&action=review

> Tools/BuildSlaveSupport/ews-build/steps_unittest.py:-1075
> -        self.expectRemoteCommands(

Why are we removing this?
Comment 3 Aakash Jain 2019-11-12 13:34:13 PST
Comment on attachment 383371 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=383371&action=review

>> Tools/BuildSlaveSupport/ews-build/steps_unittest.py:-1075
>> -        self.expectRemoteCommands(
> 
> Why are we removing this?

We are removing this class and newer version of this class now sub-classes from TestRunJavaScriptCoreTests. So it automatically runs all the unit-tests run by TestRunJavaScriptCoreTests. That way we won't have to duplicate all the unit-test from TestRunJavaScriptCoreTests into TestReRunJavaScriptCoreTests.

Similar to TestRunWebKitTestsWithoutPatch at https://trac.webkit.org/browser/webkit/trunk/Tools/BuildSlaveSupport/ews-build/steps_unittest.py#L1307
Comment 4 Aakash Jain 2019-11-12 15:04:39 PST
Committed r252375: <https://trac.webkit.org/changeset/252375>
Comment 5 Radar WebKit Bug Importer 2019-11-12 15:05:59 PST
<rdar://problem/57132571>