[webkit-changes] [WebKit/WebKit] 4660c0: WTF_Ref.StaticReferenceCastFromRValueReference and...

Fujii Hironori noreply at github.com
Thu Jul 6 13:23:58 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4660c0d124bb5361653b48162b8209786917c1d2
      https://github.com/WebKit/WebKit/commit/4660c0d124bb5361653b48162b8209786917c1d2
  Author: Fujii Hironori <Hironori.Fujii at sony.com>
  Date:   2023-07-06 (Thu, 06 Jul 2023)

  Changed paths:
    M Tools/TestWebKitAPI/Tests/WTF/Ref.cpp

  Log Message:
  -----------
  WTF_Ref.StaticReferenceCastFromRValueReference and WTF_RefPtr.Basic fail due to buffered logs of preceding tests
https://bugs.webkit.org/show_bug.cgi?id=258843

Reviewed by Chris Dumez.

run-api-tests script runs each test separately by spawning processes.
But, if I manually run TestWTF.exe, some ref counter tests fail due to
logs of previous tests.

We should call takeLogStr() after all RefLogger objects are
destructed.

* Tools/TestWebKitAPI/Tests/WTF/Ref.cpp:
(TestWebKitAPI::TEST):

Canonical link: https://commits.webkit.org/265820@main




More information about the webkit-changes mailing list