Title: [255354] trunk/Tools
- Revision
- 255354
- Author
- clo...@igalia.com
- Date
- 2020-01-29 05:48:21 -0800 (Wed, 29 Jan 2020)
Log Message
[GTK] Fix TestWebKitAPI/TestJSC:/jsc/options API test after r255314
https://bugs.webkit.org/show_bug.cgi?id=206927
Reviewed by Carlos Garcia Campos.
Update the default value tested from 4MB to 5MB.
* TestWebKitAPI/Tests/_javascript_Core/glib/TestJSC.cpp:
(testsJSCOptions):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (255353 => 255354)
--- trunk/Tools/ChangeLog 2020-01-29 13:48:08 UTC (rev 255353)
+++ trunk/Tools/ChangeLog 2020-01-29 13:48:21 UTC (rev 255354)
@@ -1,5 +1,17 @@
2020-01-29 Carlos Alberto Lopez Perez <clo...@igalia.com>
+ [GTK] Fix TestWebKitAPI/TestJSC:/jsc/options API test after r255314
+ https://bugs.webkit.org/show_bug.cgi?id=206927
+
+ Reviewed by Carlos Garcia Campos.
+
+ Update the default value tested from 4MB to 5MB.
+
+ * TestWebKitAPI/Tests/_javascript_Core/glib/TestJSC.cpp:
+ (testsJSCOptions):
+
+2020-01-29 Carlos Alberto Lopez Perez <clo...@igalia.com>
+
[GTK] Extra packages needed to successfully run API tests (cups-daemon and fonts-liberation)
https://bugs.webkit.org/show_bug.cgi?id=206925
Modified: trunk/Tools/TestWebKitAPI/Tests/_javascript_Core/glib/TestJSC.cpp (255353 => 255354)
--- trunk/Tools/TestWebKitAPI/Tests/_javascript_Core/glib/TestJSC.cpp 2020-01-29 13:48:08 UTC (rev 255353)
+++ trunk/Tools/TestWebKitAPI/Tests/_javascript_Core/glib/TestJSC.cpp 2020-01-29 13:48:21 UTC (rev 255354)
@@ -3527,11 +3527,11 @@
guint maxPerThreadStackUsage;
g_assert_true(jsc_options_get_uint("maxPerThreadStackUsage", &maxPerThreadStackUsage));
- g_assert_cmpuint(maxPerThreadStackUsage, ==, 4194304);
+ g_assert_cmpuint(maxPerThreadStackUsage, ==, 5242880);
g_assert_true(jsc_options_set_uint("maxPerThreadStackUsage", 4096));
g_assert_true(jsc_options_get_uint("maxPerThreadStackUsage", &maxPerThreadStackUsage));
g_assert_cmpuint(maxPerThreadStackUsage, ==, 4096);
- g_assert_true(jsc_options_set_uint("maxPerThreadStackUsage", 4194304));
+ g_assert_true(jsc_options_set_uint("maxPerThreadStackUsage", 5242880));
gsize webAssemblyPartialCompileLimit;
g_assert_true(jsc_options_get_size("webAssemblyPartialCompileLimit", &webAssemblyPartialCompileLimit));
@@ -3684,7 +3684,7 @@
// Restore options their default values.
g_assert_true(jsc_options_set_boolean(JSC_OPTIONS_USE_JIT, TRUE));
g_assert_true(jsc_options_set_int("thresholdForJITAfterWarmUp", 500));
- g_assert_true(jsc_options_set_uint("maxPerThreadStackUsage", 4194304));
+ g_assert_true(jsc_options_set_uint("maxPerThreadStackUsage", 5242880));
g_assert_true(jsc_options_set_size("webAssemblyPartialCompileLimit", 5000));
g_assert_true(jsc_options_set_double("smallHeapRAMFraction", 0.25));
g_assert_true(jsc_options_set_string("configFile", nullptr));
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes