-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
testRunner issue #24
Comments
Strange. Hard-coding yesterday's seed (222), it runs flawlessly on the Mac (clang):
Maybe it's compiler-dependent. Does anybody have gcc at hand and can run the app after compiling it in debug mode? To hard-code a seed, change this function before compiling: int
Randomizer::init()
{
std::time_t t = std::time(0);
std::tm* now = std::localtime(&t);
auto seed = 222; // now->tm_year + now->tm_yday;
srand(seed);
return seed;
} |
Correct result today.... Moira CPU tester. (C) Dirk W. Hoffmann, 2019 - 2023 The test program runs Moira agains Musashi with randomly generated data. Test rounds : 1 Random seed : 226 Exec range : (opcode >= 0x0000 && opcode <= 0xEFFF) Dasm range : (opcode >= 0x0000 && opcode <= 0xFFFF) Round 1: 68000 CPU ................................ PASSED (Moira: 1.43s Musashi: 1.29s) 68010 CPU ................................ PASSED (Moira: 2.85s Musashi: 2.57s) EC020 CPU ................................ PASSED (Moira: 4.26s Musashi: 3.84s) 68020 CPU ................................ PASSED (Moira: 5.65s Musashi: 5.08s) EC030 CPU ................................ PASSED (Moira: 6.99s Musashi: 6.29s) 68030 CPU ................................ PASSED (Moira: 8.41s Musashi: 7.56s) 68030 MMU ................................ PASSED (Moira: 8.41s Musashi: 7.56s) EC040 CPU ................................ PASSED (Moira: 9.72s Musashi: 8.75s) LC040 CPU ................................ PASSED (Moira: 11.01s Musashi: 9.92s) LC040 MMU ................................ PASSED (Moira: 11.01s Musashi: 9.92s) 68040 CPU ................................ PASSED (Moira: 12.39s Musashi: 11.16s) 68040 MMU ................................ PASSED (Moira: 12.39s Musashi: 11.16s) 68040 FPU ................................ PASSED (Moira: 12.39s Musashi: 11.16s) All tests completed with Moira CPU tester. (C) Dirk W. Hoffmann, 2019 - 2023 The test program runs Moira agains Musashi with randomly generated data.
Round 1: 68000 CPU ................................ PASSED (Moira: 1.36s Musashi: 1.24s) 68010 CPU ................................ PASSED (Moira: 2.93s Musashi: 2.65s) EC020 CPU ................................ PASSED (Moira: 3.81s Musashi: 3.41s) 68020 CPU ................................ PASSED (Moira: 4.71s Musashi: 4.08s) EC030 CPU ................................ PASSED (Moira: 5.88s Musashi: 5.09s) 68030 CPU ................................ PASSED (Moira: 7.19s Musashi: 6.11s) 68030 MMU ................................ PASSED (Moira: 7.19s Musashi: 6.11s) EC040 CPU ................................ PASSED (Moira: 8.69s Musashi: 7.58s) LC040 CPU ................................ PASSED (Moira: 10.17s Musashi: 9.00s) LC040 MMU ................................ PASSED (Moira: 10.17s Musashi: 9.00s) 68040 CPU ................................ PASSED (Moira: 12.17s Musashi: 10.31s) 68040 MMU ................................ PASSED (Moira: 12.17s Musashi: 10.31s) 68040 FPU ................................ PASSED (Moira: 12.17s Musashi: 10.31s) All tests completed with I don't want to investigate the problem, but it is strange ... |
I describe the output of the testRunner and its backtrace, the executable is not compiled in debug, I cannot trace the assert line:
runned on Windows and Ubuntu, same result
The text was updated successfully, but these errors were encountered: