tools/tests: small end-to-end test suite for importing/pruning
As bigger changes lie ahead, we want a small end-to-end test suite that ensures that our importing and tracing does not fall apart. With this change, we add the infrastructure and two test-cases (fib, qsort) including ELFs, traces, and injection results. In order to run the basic-pruner test cases, one needs to setup a MySQL table and set the CMake option ENABLE_DATABASE_TESTS.
This commit is contained in:
committed by
Horst Schirmeier
parent
df44da9f33
commit
f92b930acb
82
tools/tests/qsort/state/pit
Normal file
82
tools/tests/qsort/state/pit
Normal file
@ -0,0 +1,82 @@
|
||||
pit = {
|
||||
speaker_data_on = 0x00
|
||||
refresh_clock_div2 = true
|
||||
last_usec = 15999576
|
||||
last_next_event_time = 47244
|
||||
total_ticks = 1192675
|
||||
total_usec = 999576
|
||||
counter = {
|
||||
0 = {
|
||||
GATE = true
|
||||
OUTpin = true
|
||||
count = 47245
|
||||
outlatch = 0
|
||||
inlatch = 0
|
||||
status_latch = 0
|
||||
rw_mode = 3
|
||||
mode = 2
|
||||
bcd_mode = false
|
||||
null_count = false
|
||||
count_LSB_latched = false
|
||||
count_MSB_latched = false
|
||||
status_latched = false
|
||||
count_binary = 47245
|
||||
triggerGATE = false
|
||||
write_state = 2
|
||||
read_state = 2
|
||||
count_written = true
|
||||
first_pass = false
|
||||
state_bit_1 = false
|
||||
state_bit_2 = false
|
||||
next_change_time = 47244
|
||||
}
|
||||
1 = {
|
||||
GATE = true
|
||||
OUTpin = true
|
||||
count = 46122
|
||||
outlatch = 0
|
||||
inlatch = 0
|
||||
status_latch = 0
|
||||
rw_mode = 1
|
||||
mode = 4
|
||||
bcd_mode = false
|
||||
null_count = false
|
||||
count_LSB_latched = false
|
||||
count_MSB_latched = false
|
||||
status_latched = false
|
||||
count_binary = 46122
|
||||
triggerGATE = false
|
||||
write_state = 0
|
||||
read_state = 0
|
||||
count_written = true
|
||||
first_pass = false
|
||||
state_bit_1 = false
|
||||
state_bit_2 = false
|
||||
next_change_time = 0
|
||||
}
|
||||
2 = {
|
||||
GATE = false
|
||||
OUTpin = true
|
||||
count = 65535
|
||||
outlatch = 0
|
||||
inlatch = 65535
|
||||
status_latch = 0
|
||||
rw_mode = 3
|
||||
mode = 0
|
||||
bcd_mode = false
|
||||
null_count = false
|
||||
count_LSB_latched = false
|
||||
count_MSB_latched = false
|
||||
status_latched = false
|
||||
count_binary = 65535
|
||||
triggerGATE = false
|
||||
write_state = 2
|
||||
read_state = 2
|
||||
count_written = true
|
||||
first_pass = true
|
||||
state_bit_1 = false
|
||||
state_bit_2 = false
|
||||
next_change_time = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user