Index: source/test/cintltst/cintltst.c |
diff --git a/source/test/cintltst/cintltst.c b/source/test/cintltst/cintltst.c |
index 1448e0633eff96c81d5fba21b6c560f480bf6743..5b883e2a09b0a547c06deb726771cc55a7f924e2 100644 |
--- a/source/test/cintltst/cintltst.c |
+++ b/source/test/cintltst/cintltst.c |
@@ -1,6 +1,6 @@ |
/******************************************************************** |
* COPYRIGHT: |
- * Copyright (c) 1997-2013, International Business Machines Corporation and |
+ * Copyright (c) 1997-2015, International Business Machines Corporation and |
* others. All Rights Reserved. |
********************************************************************/ |
/******************************************************************************** |
@@ -73,6 +73,10 @@ void ctest_setICU_DATA(void); |
static int gOrigArgc; |
static const char* const * gOrigArgv; |
+#ifdef UNISTR_COUNT_FINAL_STRING_LENGTHS |
+U_CAPI void unistr_printLengths(); |
+#endif |
+ |
int main(int argc, const char* const argv[]) |
{ |
int nerrors = 0; |
@@ -233,6 +237,10 @@ int main(int argc, const char* const argv[]) |
} /* End of loop that repeats the entire test, if requested. (Normally doesn't loop) */ |
+#ifdef UNISTR_COUNT_FINAL_STRING_LENGTHS |
+ unistr_printLengths(); |
+#endif |
+ |
endTime = uprv_getRawUTCtime(); |
diffTime = (int32_t)(endTime - startTime); |
printf("Elapsed Time: %02d:%02d:%02d.%03d\n", |