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
144
tools/tests/qsort/state/dma
Normal file
144
tools/tests/qsort/state/dma
Normal file
@ -0,0 +1,144 @@
|
||||
dma = {
|
||||
0 = {
|
||||
flip_flop = false
|
||||
status_reg = 0x00
|
||||
command_reg = 0x00
|
||||
ctrl_disabled = false
|
||||
0 = {
|
||||
DRQ = false
|
||||
DACK = false
|
||||
mask = true
|
||||
mode_type = 0
|
||||
address_decrement = 0
|
||||
autoinit_enable = 0
|
||||
transfer_type = 0
|
||||
base_address = 0x0000
|
||||
current_address = 0x0000
|
||||
base_count = 0x0000
|
||||
current_count = 0x0000
|
||||
page_reg = 0x00
|
||||
}
|
||||
1 = {
|
||||
DRQ = false
|
||||
DACK = false
|
||||
mask = true
|
||||
mode_type = 0
|
||||
address_decrement = 0
|
||||
autoinit_enable = 0
|
||||
transfer_type = 0
|
||||
base_address = 0x0000
|
||||
current_address = 0x0000
|
||||
base_count = 0x0000
|
||||
current_count = 0x0000
|
||||
page_reg = 0x00
|
||||
}
|
||||
2 = {
|
||||
DRQ = false
|
||||
DACK = false
|
||||
mask = false
|
||||
mode_type = 0
|
||||
address_decrement = 0
|
||||
autoinit_enable = 0
|
||||
transfer_type = 0
|
||||
base_address = 0x0000
|
||||
current_address = 0x0000
|
||||
base_count = 0x0000
|
||||
current_count = 0x0000
|
||||
page_reg = 0x00
|
||||
}
|
||||
3 = {
|
||||
DRQ = false
|
||||
DACK = false
|
||||
mask = true
|
||||
mode_type = 0
|
||||
address_decrement = 0
|
||||
autoinit_enable = 0
|
||||
transfer_type = 0
|
||||
base_address = 0x0000
|
||||
current_address = 0x0000
|
||||
base_count = 0x0000
|
||||
current_count = 0x0000
|
||||
page_reg = 0x00
|
||||
}
|
||||
}
|
||||
1 = {
|
||||
flip_flop = false
|
||||
status_reg = 0x00
|
||||
command_reg = 0x00
|
||||
ctrl_disabled = false
|
||||
0 = {
|
||||
DRQ = false
|
||||
DACK = false
|
||||
mask = false
|
||||
mode_type = 3
|
||||
address_decrement = 0
|
||||
autoinit_enable = 0
|
||||
transfer_type = 0
|
||||
base_address = 0x0000
|
||||
current_address = 0x0000
|
||||
base_count = 0x0000
|
||||
current_count = 0x0000
|
||||
page_reg = 0x00
|
||||
}
|
||||
1 = {
|
||||
DRQ = false
|
||||
DACK = false
|
||||
mask = true
|
||||
mode_type = 0
|
||||
address_decrement = 0
|
||||
autoinit_enable = 0
|
||||
transfer_type = 0
|
||||
base_address = 0x0000
|
||||
current_address = 0x0000
|
||||
base_count = 0x0000
|
||||
current_count = 0x0000
|
||||
page_reg = 0x00
|
||||
}
|
||||
2 = {
|
||||
DRQ = false
|
||||
DACK = false
|
||||
mask = true
|
||||
mode_type = 0
|
||||
address_decrement = 0
|
||||
autoinit_enable = 0
|
||||
transfer_type = 0
|
||||
base_address = 0x0000
|
||||
current_address = 0x0000
|
||||
base_count = 0x0000
|
||||
current_count = 0x0000
|
||||
page_reg = 0x00
|
||||
}
|
||||
3 = {
|
||||
DRQ = false
|
||||
DACK = false
|
||||
mask = true
|
||||
mode_type = 0
|
||||
address_decrement = 0
|
||||
autoinit_enable = 0
|
||||
transfer_type = 0
|
||||
base_address = 0x0000
|
||||
current_address = 0x0000
|
||||
base_count = 0x0000
|
||||
current_count = 0x0000
|
||||
page_reg = 0x00
|
||||
}
|
||||
}
|
||||
ext_page = {
|
||||
0x80 = 0x00
|
||||
0x81 = 0x00
|
||||
0x82 = 0x00
|
||||
0x83 = 0x00
|
||||
0x84 = 0x00
|
||||
0x85 = 0x00
|
||||
0x86 = 0x00
|
||||
0x87 = 0x00
|
||||
0x88 = 0x00
|
||||
0x89 = 0x00
|
||||
0x8a = 0x00
|
||||
0x8b = 0x00
|
||||
0x8c = 0x00
|
||||
0x8d = 0x00
|
||||
0x8e = 0x00
|
||||
0x8f = 0x00
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user