ICU-2840 don't exit if -w specified and u_init fails
X-SVN-Rev: 12293
This commit is contained in:
parent
5fc78bf0ce
commit
9bf62a9cc6
@ -1078,8 +1078,11 @@ main(int argc, char* argv[])
|
||||
"*** Check the ICU_DATA environment variable and\n"
|
||||
"*** check that the data files are present.\n",
|
||||
u_errorName(errorCode));
|
||||
if(!warnOnMissingData) {
|
||||
fprintf(stdout, "*** Exitting. Use the '-w' option if data files were\n*** purposely removed, to continue test anyway.\n");
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// initial check for the default converter
|
||||
|
Loading…
Reference in New Issue
Block a user