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,7 +1078,10 @@ main(int argc, char* argv[])
|
||||
"*** Check the ICU_DATA environment variable and\n"
|
||||
"*** check that the data files are present.\n",
|
||||
u_errorName(errorCode));
|
||||
return 1;
|
||||
if(!warnOnMissingData) {
|
||||
fprintf(stdout, "*** Exitting. Use the '-w' option if data files were\n*** purposely removed, to continue test anyway.\n");
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user