Title: [204966] trunk/Tools
- Revision
- 204966
- Author
- [email protected]
- Date
- 2016-08-25 09:18:23 -0700 (Thu, 25 Aug 2016)
Log Message
[Win] run-api-tests is failing.
https://bugs.webkit.org/show_bug.cgi?id=161140
Reviewed by Brent Fulgham.
Since the move constructor is called 3 more times on Windows, we will have 3 more destructor calls.
* TestWebKitAPI/Tests/WTF/CrossThreadTask.cpp:
(TestWebKitAPI::TEST):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (204965 => 204966)
--- trunk/Tools/ChangeLog 2016-08-25 16:00:40 UTC (rev 204965)
+++ trunk/Tools/ChangeLog 2016-08-25 16:18:23 UTC (rev 204966)
@@ -1,3 +1,15 @@
+2016-08-25 Per Arne Vollan <[email protected]>
+
+ [Win] run-api-tests is failing.
+ https://bugs.webkit.org/show_bug.cgi?id=161140
+
+ Reviewed by Brent Fulgham.
+
+ Since the move constructor is called 3 more times on Windows, we will have 3 more destructor calls.
+
+ * TestWebKitAPI/Tests/WTF/CrossThreadTask.cpp:
+ (TestWebKitAPI::TEST):
+
2016-08-24 Per Arne Vollan <[email protected]>
[Win] run-api-tests is failing.
Modified: trunk/Tools/TestWebKitAPI/Tests/WTF/CrossThreadTask.cpp (204965 => 204966)
--- trunk/Tools/TestWebKitAPI/Tests/WTF/CrossThreadTask.cpp 2016-08-25 16:00:40 UTC (rev 204965)
+++ trunk/Tools/TestWebKitAPI/Tests/WTF/CrossThreadTask.cpp 2016-08-25 16:18:23 UTC (rev 204966)
@@ -137,7 +137,12 @@
ASSERT_EQ(1u, moveConstructorSet.count("<default>-1-1"));
ASSERT_EQ(1u, moveConstructorSet.count("<default>-1-2"));
+#if !COMPILER(MSVC)
ASSERT_EQ(12u, totalDestructorCalls);
+#else
+ // Since the move constructor is called 3 more times on Windows (see above), we will have 3 more destructor calls.
+ ASSERT_EQ(15u, totalDestructorCalls);
+#endif
ASSERT_EQ(3u, totalIsolatedCopyCalls);
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes