ICU-2707 Allow NormalizationTest-3.2.0.txt to be found on Unix
X-SVN-Rev: 11592
This commit is contained in:
parent
7460b9d8c0
commit
75446a50e3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user