mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-11 03:41:43 +00:00
timeout test: remove error-limit exception for PIT
The problems with the PIT timer drivers were fixed so it is not necessary anymore to treat them special. Ref #2400
This commit is contained in:
parent
399e1586be
commit
ffaf99ae86
@ -42,13 +42,12 @@ proc precise_time { } {
|
|||||||
proc precise_ref_time { } {
|
proc precise_ref_time { } {
|
||||||
|
|
||||||
#
|
#
|
||||||
# On platforms that use the PIT timer driver, 'elapsed_ms' is pretty
|
# On Fiasco and Fiasco.OC, that use kernel timing, 'elapsed_ms' is
|
||||||
# inprecise/unsteady (up to 3 ms deviation) for a reason that is not
|
# pretty inprecise/unsteady (up to 3 ms deviation) for a reason that
|
||||||
# clearly determined yet. On Fiasco and Fiasco.OC, that use kernel timing,
|
# is not clearly determined yet. So, on these platforms, our locally
|
||||||
# it is the same. So, on these platforms, our locally interpolated time
|
# interpolated time seems to be fine but the reference time is bad.
|
||||||
# seems to be fine but the reference time is bad.
|
|
||||||
#
|
#
|
||||||
if {[have_spec sel4] || [have_spec pistachio] || [have_spec okl4] || [have_spec foc] || [have_spec fiasco]} { return false }
|
if {[have_spec foc] || [have_spec fiasco]} { return false }
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -84,7 +83,7 @@ append config {
|
|||||||
<binary name="test-timeout"/>
|
<binary name="test-timeout"/>
|
||||||
<resource name="RAM" quantum="250M"/>
|
<resource name="RAM" quantum="250M"/>
|
||||||
<config precise_time="} [precise_time] {"
|
<config precise_time="} [precise_time] {"
|
||||||
precise_ref_time="} [precise_ref_time] {"/>
|
precise_ref_time="} [precise_ref_time] {"
|
||||||
precise_timeouts="} [precise_timeouts] {"/>
|
precise_timeouts="} [precise_timeouts] {"/>
|
||||||
</start>
|
</start>
|
||||||
</config>
|
</config>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user