From a802f0cedc7b5580d746f46ae62fcf8074ae3c49 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Thu, 2 Mar 2017 04:41:24 -0800 Subject: 3749 --- html/072scheduler.cc.html | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'html/072scheduler.cc.html') diff --git a/html/072scheduler.cc.html b/html/072scheduler.cc.html index 61e253bb..0e035242 100644 --- a/html/072scheduler.cc.html +++ b/html/072scheduler.cc.html @@ -129,7 +129,7 @@ if ('onhashchange' in window) { 66 skip_to_next_routine(); 67 assert(Current_routine); 68 assert(Current_routine->state == RUNNING); - 69 trace(9990, "schedule") << current_routine_label() << end(); + 69 trace(9990, "schedule") << current_routine_label() << end(); 70 run_current_routine(); 71 // Scheduler State Transitions 72 if (Current_routine->completed()) @@ -170,7 +170,7 @@ if ('onhashchange' in window) { 107 string routine_label(routine* r) { 108 ostringstream result; 109 const call_stack& calls = r->calls; -110 for (call_stack::const_iterator p = calls.begin(); p != calls.end(); ++p) { +110 for (call_stack::const_iterator p = calls.begin(); p != calls.end(); ++p) { 111 if (p != calls.begin()) result << '/'; 112 result << get(Recipe, p->running_recipe).name; 113 } @@ -230,11 +230,11 @@ if ('onhashchange' in window) { 167 :(before "End Primitive Recipe Checks") 168 case START_RUNNING: { 169 if (inst.ingredients.empty()) { -170 raise << maybe(get(Recipe, r).name) << "'start-running' requires at least one ingredient: the recipe to start running\n" << end(); +170 raise << maybe(get(Recipe, r).name) << "'start-running' requires at least one ingredient: the recipe to start running\n" << end(); 171 break; 172 } 173 if (!is_mu_recipe(inst.ingredients.at(0))) { -174 raise << maybe(get(Recipe, r).name) << "first ingredient of 'start-running' should be a recipe, but got '" << to_string(inst.ingredients.at(0)) << "'\n" << end(); +174 raise << maybe(get(Recipe, r).name) << "first ingredient of 'start-running' should be a recipe, but got '" << to_string(inst.ingredients.at(0)) << "'\n" << end(); 175 break; 176 } 177 break; @@ -521,11 +521,11 @@ if ('onhashchange' in window) { 458 :(before "End Primitive Recipe Checks") 459 case ROUTINE_STATE: { 460 if (SIZE(inst.ingredients) != 1) { -461 raise << maybe(get(Recipe, r).name) << "'routine-state' requires exactly one ingredient, but got '" << inst.original_string << "'\n" << end(); +461 raise << maybe(get(Recipe, r).name) << "'routine-state' requires exactly one ingredient, but got '" << inst.original_string << "'\n" << end(); 462 break; 463 } 464 if (!is_mu_number(inst.ingredients.at(0))) { -465 raise << maybe(get(Recipe, r).name) << "first ingredient of 'routine-state' should be a routine id generated by 'start-running', but got '" << inst.ingredients.at(0).original_string << "'\n" << end(); +465 raise << maybe(get(Recipe, r).name) << "first ingredient of 'routine-state' should be a routine id generated by 'start-running', but got '" << inst.ingredients.at(0).original_string << "'\n" << end(); 466 break; 467 } 468 break; @@ -554,11 +554,11 @@ if ('onhashchange' in window) { 491 :(before "End Primitive Recipe Checks") 492 case STOP: { 493 if (SIZE(inst.ingredients) != 1) { -494 raise << maybe(get(Recipe, r).name) << "'stop' requires exactly one ingredient, but got '" << inst.original_string << "'\n" << end(); +494 raise << maybe(get(Recipe, r).name) << "'stop' requires exactly one ingredient, but got '" << inst.original_string << "'\n" << end(); 495 break; 496 } 497 if (!is_mu_number(inst.ingredients.at(0))) { -498 raise << maybe(get(Recipe, r).name) << "first ingredient of 'stop' should be a routine id generated by 'start-running', but got '" << inst.ingredients.at(0).original_string << "'\n" << end(); +498 raise << maybe(get(Recipe, r).name) << "first ingredient of 'stop' should be a routine id generated by 'start-running', but got '" << inst.ingredients.at(0).original_string << "'\n" << end(); 499 break; 500 } 501 break; @@ -615,7 +615,7 @@ if ('onhashchange' in window) { 552 :(before "End Scheduler State Transitions") 553 if (Current_routine->limit >= 0) { 554 if (Current_routine->limit <= Scheduling_interval) { -555 trace(9999, "schedule") << "discontinuing routine " << Current_routine->id << end(); +555 trace(9999, "schedule") << "discontinuing routine " << Current_routine->id << end(); 556 Current_routine->state = DISCONTINUED; 557 Current_routine->limit = 0; 558 } @@ -626,10 +626,10 @@ if ('onhashchange' in window) { 563 564 :(before "End Test Teardown") 565 if (Passed && any_routines_with_error()) -566 raise << "some routines died with errors\n" << end(); +566 raise << "some routines died with errors\n" << end(); 567 :(before "End Mu Test Teardown") 568 if (Passed && any_routines_with_error()) -569 raise << Current_scenario->name << ": some routines died with errors\n" << end(); +569 raise << Current_scenario->name << ": some routines died with errors\n" << end(); 570 571 :(code) 572 bool any_routines_with_error() { @@ -652,15 +652,15 @@ if ('onhashchange' in window) { 589 :(before "End Primitive Recipe Checks") 590 case LIMIT_TIME: { 591 if (SIZE(inst.ingredients) != 2) { -592 raise << maybe(get(Recipe, r).name) << "'limit-time' requires exactly two ingredient, but got '" << inst.original_string << "'\n" << end(); +592 raise << maybe(get(Recipe, r).name) << "'limit-time' requires exactly two ingredient, but got '" << inst.original_string << "'\n" << end(); 593 break; 594 } 595 if (!is_mu_number(inst.ingredients.at(0))) { -596 raise << maybe(get(Recipe, r).name) << "first ingredient of 'limit-time' should be a routine id generated by 'start-running', but got '" << inst.ingredients.at(0).original_string << "'\n" << end(); +596 raise << maybe(get(Recipe, r).name) << "first ingredient of 'limit-time' should be a routine id generated by 'start-running', but got '" << inst.ingredients.at(0).original_string << "'\n" << end(); 597 break; 598 } 599 if (!is_mu_number(inst.ingredients.at(1))) { -600 raise << maybe(get(Recipe, r).name) << "second ingredient of 'limit-time' should be a number (of instructions to run for), but got '" << inst.ingredients.at(1).original_string << "'\n" << end(); +600 raise << maybe(get(Recipe, r).name) << "second ingredient of 'limit-time' should be a number (of instructions to run for), but got '" << inst.ingredients.at(1).original_string << "'\n" << end(); 601 break; 602 } 603 break; @@ -690,11 +690,11 @@ if ('onhashchange' in window) { 627 :(before "End Primitive Recipe Checks") 628 case NUMBER_OF_INSTRUCTIONS: { 629 if (SIZE(inst.ingredients) != 1) { -630 raise << maybe(get(Recipe, r).name) << "'number-of-instructions' requires exactly one ingredient, but got '" << inst.original_string << "'\n" << end(); +630 raise << maybe(get(Recipe, r).name) << "'number-of-instructions' requires exactly one ingredient, but got '" << inst.original_string << "'\n" << end(); 631 break; 632 } 633 if (!is_mu_number(inst.ingredients.at(0))) { -634 raise << maybe(get(Recipe, r).name) << "first ingredient of 'number-of-instructions' should be a routine id generated by 'start-running', but got '" << inst.ingredients.at(0).original_string << "'\n" << end(); +634 raise << maybe(get(Recipe, r).name) << "first ingredient of 'number-of-instructions' should be a routine id generated by 'start-running', but got '" << inst.ingredients.at(0).original_string << "'\n" << end(); 635 break; 636 } 637 break; -- cgit 1.4.1-2-gfad0