ICU-1627 fix paths for out of source builds

X-SVN-Rev: 7503
This commit is contained in:
Ram Viswanadha 2002-01-24 23:06:21 +00:00
parent e851b5fd86
commit 9f0e696804
2 changed files with 2 additions and 2 deletions

View file

@ -73,7 +73,7 @@ void NormalizerConformanceTest::TestConformance(void) {
// As a fallback, try to guess where the source data was located
// at the time ICU was built, and look there.
#if defined (U_TOPSRCDIR)
strcpy(backupPath, U_TOPSRCDIR U_FILE_SEP_STRING ".." U_FILE_SEP_STRING "data");
strcpy(backupPath, U_TOPSRCDIR U_FILE_SEP_STRING "data");
#else
strcpy(backupPath, u_getDataDirectory());
strcat(backupPath, ".." U_FILE_SEP_STRING ".." U_FILE_SEP_STRING "data");

View file

@ -480,7 +480,7 @@ void UnicodeTest::TestUnicodeData()
// As a fallback, try to guess where the source data was located
// at the time ICU was built, and look there.
#if defined (U_TOPSRCDIR)
strcpy(backupPath, U_TOPSRCDIR U_FILE_SEP_STRING ".." U_FILE_SEP_STRING "data");
strcpy(backupPath, U_TOPSRCDIR U_FILE_SEP_STRING "data");
#else
strcpy(backupPath, u_getDataDirectory());
strcat(backupPath, ".." U_FILE_SEP_STRING ".." U_FILE_SEP_STRING "data");