skip HALT/WAIT/RESET
This commit is contained in:
parent
40f2ca866c
commit
9999fd9ea1
1 changed files with 7 additions and 1 deletions
|
@ -42,6 +42,11 @@ void produce_validation_tests()
|
||||||
if (skip)
|
if (skip)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
if (i == 0 || // HALT
|
||||||
|
i == 1 || // WAIT
|
||||||
|
i == 5) // RESET
|
||||||
|
continue;
|
||||||
|
|
||||||
json_t *before = json_object();
|
json_t *before = json_object();
|
||||||
|
|
||||||
cpu_reset(&cpu_dev);
|
cpu_reset(&cpu_dev);
|
||||||
|
@ -131,6 +136,7 @@ void produce_validation_tests()
|
||||||
json_object_set(after, "memory", memory_o);
|
json_object_set(after, "memory", memory_o);
|
||||||
|
|
||||||
json_t *collection = json_object();
|
json_t *collection = json_object();
|
||||||
|
json_object_set(collection, "id", json_integer(i));
|
||||||
json_object_set(collection, "before", before);
|
json_object_set(collection, "before", before);
|
||||||
json_object_set(collection, "after", after);
|
json_object_set(collection, "after", after);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue