Bug 258843

Summary: WTF_Ref.StaticReferenceCastFromRValueReference and WTF_RefPtr.Basic fail due to buffered logs of preceding tests
Product: WebKit Reporter: Fujii Hironori <Hironori.Fujii>
Component: Tools / TestsAssignee: Fujii Hironori <Hironori.Fujii>
Status: RESOLVED FIXED    
Severity: Normal CC: 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=239987

Fujii Hironori
Reported 2023-07-03 21:30:35 PDT
WTF_Ref.StaticReferenceCastFromRValueReference and WTF_RefPtr.Basic fail due to buffered logs of preceding tests run-api-tests script runs each test separately by spawning processes. But, if I manually run TestWTF.exe, some ref counter tests fail. **PASS** WTF_Ref.StaticReferenceCastFromConstReference **FAIL** WTF_Ref.StaticReferenceCastFromRValueReference C:\home\webkit\gc\Tools\TestWebKitAPI\Tests\WTF\Ref.cpp:288 Expected equality of these values: "ref(a) " takeLogStr().c_str() Which is: "deref(a) deref(a) ref(a) " **PASS** WTF_RefCountedFixedVector.Empty **PASS** WTF_RefCountedFixedVector.Iterator **PASS** WTF_RefCountedFixedVector.OverloadedOperatorAmpersand **PASS** WTF_RefCountedFixedVector.Copy **PASS** WTF_RefCountedFixedVector.CopyVector **PASS** WTF_RefCountedFixedVector.MoveVector **PASS** WTF_RefCountedFixedVector.IteratorFor **PASS** WTF_RefCountedFixedVector.Reverse **PASS** WTF_RefCountedFixedVector.Fill **PASS** WTF_RefCountedFixedVector.Destructor **PASS** WTF_RefCountedFixedVector.DestructorAfterMove **PASS** WTF_RefCountedFixedVector.Basic **PASS** WTF_RefCountedFixedVector.Clone **PASS** WTF_RefCountedFixedVector.Equal **FAIL** WTF_RefPtr.Basic C:\home\webkit\gc\Tools\TestWebKitAPI\Tests\WTF\RefPtr.cpp:53 Expected equality of these values: "ref(a) deref(a) " takeLogStr().c_str() Which is: "deref(a) ref(a) deref(a) " **PASS** WTF_RefPtr.AssignPassRefToRefPtr
Attachments
Fujii Hironori
Comment 1 2023-07-03 21:36:51 PDT
EWS
Comment 2 2023-07-06 13:23:49 PDT
Committed 265820@main (4660c0d124bb): <https://commits.webkit.org/265820@main> Reviewed commits have been landed. Closing PR #15529 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2023-07-06 13:24:19 PDT
Note You need to log in before you can comment on or make changes to this bug.