Tempoarily patch away SEGV-inducing code. See JIRA 6659.

svn path=/trunk/; revision=57300
This commit is contained in:
Mike Nordell 2012-09-14 22:46:37 +00:00
parent 60b3b058ce
commit be682db3a4
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,30 @@
Index: graphics.c
===================================================================
--- graphics.c (revision 57206)
+++ graphics.c (working copy)
@@ -2819,6 +2819,7 @@
ReleaseDC(hwnd, hdc);
}
+#if CORE_6659_IS_FIXED
static void test_string_functions(void)
{
GpStatus status;
@@ -3138,6 +3139,7 @@
ReleaseDC(hwnd, hdc);
}
+#endif /* CORE_6659_IS_FIXED */
static void test_get_set_interpolation(void)
{
@@ -3361,7 +3363,9 @@
test_clear();
test_textcontrast();
test_fromMemoryBitmap();
+#if CORE_6659_IS_FIXED
test_string_functions();
+#endif
test_get_set_interpolation();
test_get_set_textrenderinghint();
test_getdc_scaled();

View file

@ -2819,6 +2819,7 @@ static void test_GdipGetNearestColor(void)
ReleaseDC(hwnd, hdc);
}
#if CORE_6659_IS_FIXED
static void test_string_functions(void)
{
GpStatus status;
@ -3138,6 +3139,7 @@ static void test_string_functions(void)
ReleaseDC(hwnd, hdc);
}
#endif /* CORE_6659_IS_FIXED */
static void test_get_set_interpolation(void)
{
@ -3361,7 +3363,9 @@ START_TEST(graphics)
test_clear();
test_textcontrast();
test_fromMemoryBitmap();
#if CORE_6659_IS_FIXED
test_string_functions();
#endif
test_get_set_interpolation();
test_get_set_textrenderinghint();
test_getdc_scaled();