ICU-1075 Change tests to try to run if ICU_DATA is not set in environment
X-SVN-Rev: 5408
This commit is contained in:
parent
b3863c461c
commit
4ebe7ffce1
@ -229,7 +229,7 @@ void ctest_setICU_DATA() {
|
||||
*/
|
||||
#if defined (U_SRCDATADIR)
|
||||
{
|
||||
static const char* env_string = "ICU_DATA=" U_SRCDATADIR;
|
||||
static char env_string[] = "ICU_DATA=" U_SRCDATADIR;
|
||||
putenv(env_string);
|
||||
return;
|
||||
}
|
||||
|
@ -527,7 +527,7 @@ void IntlTest::setICU_DATA() {
|
||||
*/
|
||||
#if defined (U_SRCDATADIR)
|
||||
{
|
||||
static const char* env_string = "ICU_DATA=" U_SRCDATADIR;
|
||||
static char env_string[] = "ICU_DATA=" U_SRCDATADIR;
|
||||
putenv(env_string);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user