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,24 @@
memory = {
ram = memory.ram
len = 16777216
allocated = 16777216
used_blocks = 5
mapping = {
blk0 = 0
blk1 = 1
blk2 = 4
blk3 = 4294967295
blk4 = 4294967295
blk5 = 4294967295
blk6 = 4294967295
blk7 = 4294967295
blk8 = 4294967295
blk9 = 4294967295
blk10 = 4294967295
blk11 = 4294967295
blk12 = 4294967295
blk13 = 4294967295
blk14 = 3
blk15 = 2
}
}