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
110
tools/tests/qsort/state/pc_system
Normal file
110
tools/tests/qsort/state/pc_system
Normal file
@ -0,0 +1,110 @@
|
||||
pc_system = {
|
||||
enable_a20 = true
|
||||
a20_mask = 0xffffffffffffffff
|
||||
currCountdown = 42
|
||||
currCountdownPeriod = 500
|
||||
ticksTotal = 80001500
|
||||
lastTimeUsec = 0
|
||||
usecSinceLast = 0
|
||||
HRQ = false
|
||||
timer = {
|
||||
0 = {
|
||||
inUse = true
|
||||
period = 4294967295
|
||||
timeToFire = 4294967295
|
||||
active = true
|
||||
continuous = true
|
||||
}
|
||||
1 = {
|
||||
inUse = true
|
||||
period = 1
|
||||
timeToFire = 1
|
||||
active = false
|
||||
continuous = false
|
||||
}
|
||||
2 = {
|
||||
inUse = true
|
||||
period = 17985
|
||||
timeToFire = 80015867
|
||||
active = true
|
||||
continuous = false
|
||||
}
|
||||
3 = {
|
||||
inUse = true
|
||||
period = 5000000
|
||||
timeToFire = 5000000
|
||||
active = false
|
||||
continuous = true
|
||||
}
|
||||
4 = {
|
||||
inUse = true
|
||||
period = 5000000
|
||||
timeToFire = 85000000
|
||||
active = true
|
||||
continuous = true
|
||||
}
|
||||
5 = {
|
||||
inUse = true
|
||||
period = 1220
|
||||
timeToFire = 80001220
|
||||
active = false
|
||||
continuous = false
|
||||
}
|
||||
6 = {
|
||||
inUse = true
|
||||
period = 1250
|
||||
timeToFire = 1250
|
||||
active = false
|
||||
continuous = false
|
||||
}
|
||||
7 = {
|
||||
inUse = true
|
||||
period = 1500000
|
||||
timeToFire = 81000000
|
||||
active = true
|
||||
continuous = true
|
||||
}
|
||||
8 = {
|
||||
inUse = true
|
||||
period = 500
|
||||
timeToFire = 80002000
|
||||
active = true
|
||||
continuous = true
|
||||
}
|
||||
9 = {
|
||||
inUse = true
|
||||
period = 1250
|
||||
timeToFire = 80002500
|
||||
active = true
|
||||
continuous = true
|
||||
}
|
||||
10 = {
|
||||
inUse = true
|
||||
period = 500000
|
||||
timeToFire = 80177346
|
||||
active = true
|
||||
continuous = false
|
||||
}
|
||||
11 = {
|
||||
inUse = true
|
||||
period = 1
|
||||
timeToFire = 1
|
||||
active = false
|
||||
continuous = false
|
||||
}
|
||||
12 = {
|
||||
inUse = true
|
||||
period = 1
|
||||
timeToFire = 1
|
||||
active = false
|
||||
continuous = false
|
||||
}
|
||||
13 = {
|
||||
inUse = true
|
||||
period = 1
|
||||
timeToFire = 1
|
||||
active = false
|
||||
continuous = false
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user