eina_value: print the buffer message 94/244194/1
authorAmitesh Singh <singh.amitesh@gmail.com>
Tue, 15 Sep 2020 10:20:04 +0000 (15:50 +0530)
committerChun <jykeon@samsung.com>
Wed, 16 Sep 2020 01:51:44 +0000 (01:51 +0000)
if date/time/timezone are not set properly on target, this API might
fail. To debug, print the buffer message.

Change-Id: I30e141401578252d8c21c4acf4e1d9abb8be2a21
Signed-off-by: Amitesh Singh <singh.amitesh@gmail.com>
(cherry picked from commit 26e41bfc904151c1e2a20a05a4ed9c49efb37225)

TC/eina/eina_value/utc_eina_value.c

index 369514cb15b1c0a7d64b97a647f9e04cbed0b95f..92874f0e936688eebffd65903a96d35b4e2552f1 100644 (file)
@@ -279,7 +279,7 @@ START_TEST(utc_eina_value_util_p)
    if (strcmp(buffer, "20140311T21:20:30"))
      {
         eina_value_free(value_type);
-        ck_abort_msg("[TEST_FAIL]:: %s[%d] : Test has failed..", __FILE__, __LINE__);
+        ck_abort_msg("[TEST_FAIL]:: buffer: %s, %s[%d] : Test has failed..", buffer, __FILE__, __LINE__);
      }
 
    eina_value_free(value_type);