Fix minor issues

pull/8637/head
Amir Cohen 2018-10-15 12:04:46 +03:00 committed by Cruz Monrreal II
parent eaf9fa0c39
commit 68efa1cdf6
2 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# Getting started with the Mbed OS block device test
Mbed OS block device test is used to test exsiting and new block devices.
Mbed OS block device test is used to test existing and new block devices.
You can find more information about the Mbed OS block device and other related pieces of the Mbed OS storage stack [in the storage overview](https://os.mbed.com/docs/latest/reference/storage.html).

View File

@ -78,7 +78,8 @@ void basic_erase_program_read_test(BlockDevice *block_device, bd_size_t block_si
val_rand = rand();
if ( (0xff & val_rand) != read_block[i_ind] ) {
utest_printf("\n Assert Failed Buf Read - block:size: %llx:%llu \n", block, block_size);
utest_printf("\n pos: %llu, exp: %02x, act: %02x, wrt: %02x \n", i_ind, (0xff & val_rand), read_block[i_ind],
utest_printf("\n pos: %llu, exp: %02x, act: %02x, wrt: %02x \n", i_ind, (0xff & val_rand),
read_block[i_ind],
write_block[i_ind] );
}
TEST_ASSERT_EQUAL(0xff & val_rand, read_block[i_ind]);
@ -213,7 +214,5 @@ Specification specification(test_setup, cases);
int main()
{
//mbed_trace_init();
utest_printf("MAIN STARTS\n");
return !Harness::run(specification);
}