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:
Christian Dietrich
2020-11-24 19:12:36 +01:00
committed by Horst Schirmeier
parent df44da9f33
commit f92b930acb
65 changed files with 198613 additions and 0 deletions

View File

@ -0,0 +1,40 @@
pic = {
master = {
interrupt_offset = 0x08
auto_eoi = 0x00
imr = 0xb8
isr = 0x00
irr = 0x01
read_reg_select = 0
irq = 0x00
lowest_priority = 0x07
INT = true
IRQ_in = 0x01
in_init = false
requires_4 = true
byte_expected = 4
special_mask = false
polled = false
rotate_on_autoeoi = false
edge_level = 0x00
}
slave = {
interrupt_offset = 0x70
auto_eoi = 0x00
imr = 0x8f
isr = 0x00
irr = 0x00
read_reg_select = 0
irq = 0x00
lowest_priority = 0x07
INT = false
IRQ_in = 0x00
in_init = false
requires_4 = true
byte_expected = 4
special_mask = false
polled = false
rotate_on_autoeoi = false
edge_level = 0x00
}
}