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,34 @@
virt_timer = {
timer = {
0 = {
inUse = true
period = 2147483647
timeToFire = 2147483647
active = true
continuous = true
}
1 = {
inUse = true
period = 3599
timeToFire = 15896924
active = true
continuous = false
}
}
current_timers_time = 15893325
timers_next_event_time = 3599
last_sequential_time = 0
virtual_next_event_time = 3599
current_virtual_time = 15893325
last_real_time = 1578924690899518
total_real_usec = 0
last_realtime_delta = 0
last_usec = 0
usec_per_second = 1000000
stored_delta = 0
last_system_usec = 0
em_last_realtime = 0
total_ticks = 0
last_realtime_ticks = 0
ticks_per_second = 1000000
}