1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-29 12:50:28 +00:00

Disable test generation.

This commit is contained in:
Thomas Harte 2022-09-08 16:41:10 -04:00
parent de8ce3380c
commit dad1d7744e

View File

@ -393,7 +393,8 @@ void print_transactions(FILE *target, const std::vector<Transaction> &transactio
@implementation M68000OldVsNewTests @implementation M68000OldVsNewTests
- (void)testGenerate { //- (void)testGenerate {
- (void)generate {
srand(68000); srand(68000);
InstructionSet::M68k::Predecoder<InstructionSet::M68k::Model::M68000> decoder; InstructionSet::M68k::Predecoder<InstructionSet::M68k::Model::M68000> decoder;
RandomStore random_store; RandomStore random_store;
@ -555,7 +556,7 @@ void print_transactions(FILE *target, const std::vector<Transaction> &transactio
int testsRun = 0; int testsRun = 0;
std::set<InstructionSet::M68k::Operation> failing_operations; std::set<InstructionSet::M68k::Operation> failing_operations;
for(int c = 0; c < 65536; c++) { for(int c = 0; c < 65536; c++) {
// printf("%04x\n", c); printf("%04x\n", c);
// Test only defined opcodes that aren't STOP (which will never teminate). // Test only defined opcodes that aren't STOP (which will never teminate).
const auto instruction = decoder.decode(uint16_t(c)); const auto instruction = decoder.decode(uint16_t(c));