Klurige / 0xbench

Automatically exported from code.google.com/p/0xbench
0 stars 0 forks source link

Infinite loop when running benchmarks on memory constrained systems #25

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start program
2. Select all benchmarks
3. Click run

What is the expected output? What do you see instead?
Infinite loop

What version of the product are you using? On what operating system?
TAZ Pad with 832M memory available
Android 4.0.4

Please provide any additional information below.

Problem is due to activity state not being saved.
So on memory constrained systems the initial activity which contains the "Case" 
objects is destroyed then recreated when the first test activity ends. The Case 
object state used to determine which test to run is thus lost and the first 
test is rerun (even if not selected).

Attached patch fixes this

Original issue reported on code.google.com by mfuz...@parkeon.com on 23 Jan 2014 at 3:10

Attachments: