end result per test
This commit is contained in:
parent
44b8719f14
commit
67a3b27540
2 changed files with 2 additions and 2 deletions
1
cpu.cpp
1
cpu.cpp
|
@ -2488,7 +2488,6 @@ void cpu::step()
|
||||||
b->getMMU()->setMMR2(instruction_start);
|
b->getMMU()->setMMR2(instruction_start);
|
||||||
|
|
||||||
uint16_t instr = b->read_word(instruction_start);
|
uint16_t instr = b->read_word(instruction_start);
|
||||||
|
|
||||||
add_register(7, 2);
|
add_register(7, 2);
|
||||||
|
|
||||||
if (double_operand_instructions(instr))
|
if (double_operand_instructions(instr))
|
||||||
|
|
3
main.cpp
3
main.cpp
|
@ -164,7 +164,8 @@ int run_cpu_validation(console *const cnsl, const std::string & filename)
|
||||||
|
|
||||||
total_error_count += cur_n_errors;
|
total_error_count += cur_n_errors;
|
||||||
tests_with_error_count += !!cur_n_errors;
|
tests_with_error_count += !!cur_n_errors;
|
||||||
|
|
||||||
|
cnsl->put_string_lf(format("Test result for %d, %s: %s", n_tests, test["id"].as<std::string>().c_str(), cur_n_errors ? "FAILED":"OK"));
|
||||||
|
|
||||||
// clean-up
|
// clean-up
|
||||||
delete b;
|
delete b;
|
||||||
|
|
Loading…
Add table
Reference in a new issue