mirror of https://github.com/ARMmbed/mbed-os.git
Review comment:
Removed superfluous debug prints from harness.cpp.
parent
710421d3e8
commit
15e372f6ef
|
@ -84,26 +84,21 @@ bool Harness::run(const Specification& specification, size_t)
|
||||||
bool Harness::run(const Specification& specification)
|
bool Harness::run(const Specification& specification)
|
||||||
{
|
{
|
||||||
UTEST_LOG_FUNCTION();
|
UTEST_LOG_FUNCTION();
|
||||||
printf("here in harness::run 1\n");
|
|
||||||
// check if a specification is currently running
|
// check if a specification is currently running
|
||||||
if (is_busy())
|
if (is_busy())
|
||||||
return false;
|
return false;
|
||||||
printf("here in harness::run 2\n");
|
|
||||||
|
|
||||||
// if the scheduler is invalid, this is the first time we are calling
|
// if the scheduler is invalid, this is the first time we are calling
|
||||||
if (!is_scheduler_valid(scheduler))
|
if (!is_scheduler_valid(scheduler))
|
||||||
scheduler = utest_v1_get_scheduler();
|
scheduler = utest_v1_get_scheduler();
|
||||||
printf("here in harness::run 3\n");
|
|
||||||
|
|
||||||
// if the scheduler is still invalid, abort
|
// if the scheduler is still invalid, abort
|
||||||
if (!is_scheduler_valid(scheduler))
|
if (!is_scheduler_valid(scheduler))
|
||||||
return false;
|
return false;
|
||||||
printf("here in harness::run 4\n");
|
|
||||||
|
|
||||||
// if the scheduler failed to initialize, abort
|
// if the scheduler failed to initialize, abort
|
||||||
if (scheduler.init() != 0)
|
if (scheduler.init() != 0)
|
||||||
return false;
|
return false;
|
||||||
printf("here in harness::run 5\n");
|
|
||||||
test_cases = specification.cases;
|
test_cases = specification.cases;
|
||||||
test_length = specification.length;
|
test_length = specification.length;
|
||||||
defaults = specification.defaults;
|
defaults = specification.defaults;
|
||||||
|
|
Loading…
Reference in New Issue