/********************************************************************
* COPYRIGHT:
- * Copyright (c) 1997-2008, International Business Machines Corporation and
+ * Copyright (c) 1997-2010, International Business Machines Corporation and
* others. All Rights Reserved.
********************************************************************/
#include "unicode/utypes.h"
-#if !UCONFIG_NO_COLLATION
+#if !UCONFIG_NO_COLLATION && !UCONFIG_NO_FILE_IO
#include "unicode/uchar.h"
#include "unicode/tstdtmod.h"
name = "";
}
} else {
- dataerrln("[DATA] collate/DataDrivenTest data not initialized!");
+ dataerrln("collate/DataDrivenTest data not initialized!");
name = "";
}
if(U_SUCCESS(status)) {
logln("Testing collator for rules "+testSetting);
} else {
- errln("Unable to instantiate collator for rules "+testSetting);
+ errln("Unable to instantiate collator for rules "+testSetting+" - "+u_errorName(status));
return;
}
} else {
errln("No collator definition!");
+ return;
}
}