end result per test

This commit is contained in:
Folkert van Heusden 2025-04-03 23:36:03 +02:00
parent 44b8719f14
commit 67a3b27540
Signed by untrusted user who does not match committer: folkert
GPG key ID: 6B6455EDFEED3BD1
2 changed files with 2 additions and 2 deletions

View file

@ -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))

View file

@ -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;