Skip to content

Commit

Permalink
Merge pull request #61 from chetansinghrathore/ew_beta0
Browse files Browse the repository at this point in the history
Initializing status buffer state value to TEST_FAIL in test_init
  • Loading branch information
jaypit02 authored Feb 18, 2019
2 parents c5ddf85 + 4afa185 commit 165d1e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api-tests/val/common/val_target.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ STATIC_DECLARE val_status_t val_target_cfg_get_next(void **blob)
if ((hdr->version != 1) || (hdr->size == 0))
{
val_print(PRINT_ERROR, "Target config database Error. \n", 0);
return status;
return VAL_STATUS_ERROR;
}
hdr++;
*blob = hdr; // skip the header. start with the first record.
Expand Down
2 changes: 1 addition & 1 deletion api-tests/val/nspe/val_framework.c
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ void val_test_init(uint32_t test_num, char8_t *desc, uint32_t test_bitfield)
miscellaneous_desc_t *misc_desc;

/*global init*/
g_status_buffer.state = 0;
g_status_buffer.state = TEST_FAIL;
g_status_buffer.status = VAL_STATUS_INVALID;

val_print(PRINT_ALWAYS, "\nTEST: %d | DESCRIPTION: ", test_num);
Expand Down

0 comments on commit 165d1e6

Please sign in to comment.