qcdm: testcase output cleanup
This commit is contained in:
@@ -172,7 +172,6 @@ wait_reply (TestComData *d, char *buf, gsize len)
|
|||||||
|
|
||||||
total++;
|
total++;
|
||||||
decap_len = 0;
|
decap_len = 0;
|
||||||
print_buf ("<<<", readbuf, total);
|
|
||||||
success = dm_decapsulate_buffer (readbuf, total, buf, len, &decap_len, &used, &more);
|
success = dm_decapsulate_buffer (readbuf, total, buf, len, &decap_len, &used, &more);
|
||||||
|
|
||||||
/* Discard used data */
|
/* Discard used data */
|
||||||
@@ -242,6 +241,8 @@ test_com_version_info (void *f, void *data)
|
|||||||
result = qcdm_cmd_version_info_result (buf, reply_len, &error);
|
result = qcdm_cmd_version_info_result (buf, reply_len, &error);
|
||||||
g_assert (result);
|
g_assert (result);
|
||||||
|
|
||||||
|
g_print ("\n");
|
||||||
|
|
||||||
str = NULL;
|
str = NULL;
|
||||||
qcdm_result_get_string (result, QCDM_CMD_VERSION_INFO_ITEM_COMP_DATE, &str);
|
qcdm_result_get_string (result, QCDM_CMD_VERSION_INFO_ITEM_COMP_DATE, &str);
|
||||||
g_message ("%s: Compiled Date: %s", __func__, str);
|
g_message ("%s: Compiled Date: %s", __func__, str);
|
||||||
@@ -291,6 +292,8 @@ test_com_esn (void *f, void *data)
|
|||||||
result = qcdm_cmd_esn_result (buf, reply_len, &error);
|
result = qcdm_cmd_esn_result (buf, reply_len, &error);
|
||||||
g_assert (result);
|
g_assert (result);
|
||||||
|
|
||||||
|
g_print ("\n");
|
||||||
|
|
||||||
str = NULL;
|
str = NULL;
|
||||||
qcdm_result_get_string (result, QCDM_CMD_ESN_ITEM_ESN, &str);
|
qcdm_result_get_string (result, QCDM_CMD_ESN_ITEM_ESN, &str);
|
||||||
g_message ("%s: ESN: %s", __func__, str);
|
g_message ("%s: ESN: %s", __func__, str);
|
||||||
@@ -324,6 +327,8 @@ test_com_mdn (void *f, void *data)
|
|||||||
result = qcdm_cmd_nv_get_mdn_result (buf, reply_len, &error);
|
result = qcdm_cmd_nv_get_mdn_result (buf, reply_len, &error);
|
||||||
g_assert (result);
|
g_assert (result);
|
||||||
|
|
||||||
|
g_print ("\n");
|
||||||
|
|
||||||
str = NULL;
|
str = NULL;
|
||||||
qcdm_result_get_string (result, QCDM_CMD_NV_GET_MDN_ITEM_MDN, &str);
|
qcdm_result_get_string (result, QCDM_CMD_NV_GET_MDN_ITEM_MDN, &str);
|
||||||
g_message ("%s: MDN: %s", __func__, str);
|
g_message ("%s: MDN: %s", __func__, str);
|
||||||
@@ -359,6 +364,8 @@ test_com_status (void *f, void *data)
|
|||||||
result = qcdm_cmd_cdma_status_result (buf, reply_len, &error);
|
result = qcdm_cmd_cdma_status_result (buf, reply_len, &error);
|
||||||
g_assert (result);
|
g_assert (result);
|
||||||
|
|
||||||
|
g_print ("\n");
|
||||||
|
|
||||||
str = NULL;
|
str = NULL;
|
||||||
qcdm_result_get_string (result, QCDM_CMD_CDMA_STATUS_ITEM_ESN, &str);
|
qcdm_result_get_string (result, QCDM_CMD_CDMA_STATUS_ITEM_ESN, &str);
|
||||||
g_message ("%s: ESN: %s", __func__, str);
|
g_message ("%s: ESN: %s", __func__, str);
|
||||||
@@ -466,6 +473,8 @@ test_com_cm_subsys_state_info (void *f, void *data)
|
|||||||
result = qcdm_cmd_cm_subsys_state_info_result (buf, reply_len, &error);
|
result = qcdm_cmd_cm_subsys_state_info_result (buf, reply_len, &error);
|
||||||
g_assert (result);
|
g_assert (result);
|
||||||
|
|
||||||
|
g_print ("\n");
|
||||||
|
|
||||||
n32 = 0;
|
n32 = 0;
|
||||||
qcdm_result_get_uint32 (result, QCDM_CMD_CM_SUBSYS_STATE_INFO_ITEM_CALL_STATE, &n32);
|
qcdm_result_get_uint32 (result, QCDM_CMD_CM_SUBSYS_STATE_INFO_ITEM_CALL_STATE, &n32);
|
||||||
g_message ("%s: Call State: %u", __func__, n32);
|
g_message ("%s: Call State: %u", __func__, n32);
|
||||||
@@ -572,6 +581,8 @@ test_com_hdr_subsys_state_info (void *f, void *data)
|
|||||||
}
|
}
|
||||||
g_assert (result);
|
g_assert (result);
|
||||||
|
|
||||||
|
g_print ("\n");
|
||||||
|
|
||||||
num = 0;
|
num = 0;
|
||||||
detail = NULL;
|
detail = NULL;
|
||||||
qcdm_result_get_uint8 (result, QCDM_CMD_HDR_SUBSYS_STATE_INFO_ITEM_AT_STATE, &num);
|
qcdm_result_get_uint8 (result, QCDM_CMD_HDR_SUBSYS_STATE_INFO_ITEM_AT_STATE, &num);
|
||||||
|
Reference in New Issue
Block a user