mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 20:05:54 +00:00
cpu_quota.run: fix bug in error detection
The test always succeeded because I forgot to set the error tolerance from my debugging value 1 back to the correct value 0.01 before commiting the test. Ref #1616
This commit is contained in:
parent
c14fe7e6c7
commit
5189055396
@ -143,7 +143,7 @@ run_genode_until ".*done.*\n.*done.*\n.*done.*\n" 100
|
||||
|
||||
proc check_counter { name opt cnt total_cnt } {
|
||||
|
||||
set err 1
|
||||
set err 0.01
|
||||
set is [expr double($cnt) / $total_cnt ]
|
||||
set is_pc [expr double(round($is * 100000)) / 1000]
|
||||
set opt_pc [expr double(round($opt * 100000)) / 1000]
|
||||
|
Loading…
x
Reference in New Issue
Block a user