diff --git a/src/tests/kits/support/bstring/StringAppendTest.cpp b/src/tests/kits/support/bstring/StringAppendTest.cpp index 1fac7e73ab..0605de2ee7 100644 --- a/src/tests/kits/support/bstring/StringAppendTest.cpp +++ b/src/tests/kits/support/bstring/StringAppendTest.cpp @@ -116,8 +116,9 @@ StringAppendTest::PerformTest(void) CPPUNIT_ASSERT(strcmp(str1->String(), "BaseCCCCC") == 0); delete str1; - const int32 OUT_OF_MEM_VAL = 2*1000*1000*1000; + #ifndef TEST_R5 + const int32 OUT_OF_MEM_VAL = 2*1000*1000*1000; //Append(char, int32) with excessive length: NextSubTest(); str1 = new BString("Base");