ICU-2707 Allow NormalizationTest-3.2.0.txt to be found on Unix

X-SVN-Rev: 11592
This commit is contained in:
George Rhoten 2003-04-18 23:41:17 +00:00
parent 7460b9d8c0
commit 75446a50e3

View File

@ -128,6 +128,13 @@ NormalizerConformanceTest::openNormalizationTestFile(const char *filename) {
if(input!=NULL) {
return input;
}
strcpy(path, U_TOPSRCDIR U_FILE_SEP_STRING "test" U_FILE_SEP_STRING "testdata" U_FILE_SEP_STRING);
strcat(path, filename);
input=T_FileStream_open(path, "rb");
if(input!=NULL) {
return input;
}
#endif
errln("Failed to open %s", filename);