Keeping notes: I installed ubuntu-test-cases and ubuntu-test-cases-memory-usage-measurement from jcollado's PPA, then purged ubuntu-test-cases-memory-usage-measurement, and use the bzr branch instead (which makes it easier to change/revert things):
$ cat ~/do
#!/bin/sh
cd memory-usage-measurement/autopilot
autopilot run -v ubuntu_test_cases.memory_usage_measurement 2>&1 | tee ~/log
With that I open terminal-app, and run "./do". This gives me a fairly fast turnaround time and no unnecessary layers in between.
- Disabling smem: bug happens
- Disable the 'Media player app finished playback' block: test works multiple times
- only run the two last "media player" tests, disable everything else (including smem): bug happens
My suspicion is that this is due to launching mediaplayer-app twice. A simple test like
Keeping notes: I installed ubuntu-test-cases and ubuntu- test-cases- memory- usage-measureme nt from jcollado's PPA, then purged ubuntu- test-cases- memory- usage-measureme nt, and use the bzr branch instead (which makes it easier to change/revert things):
bzr branch lp:~javier.collado/ubuntu-test-cases/memory-usage-measurement
This is my test script:
$ cat ~/do usage-measureme nt/autopilot test_cases. memory_ usage_measureme nt 2>&1 | tee ~/log
#!/bin/sh
cd memory-
autopilot run -v ubuntu_
With that I open terminal-app, and run "./do". This gives me a fairly fast turnaround time and no unnecessary layers in between.
- Disabling smem: bug happens
- Disable the 'Media player app finished playback' block: test works multiple times
- only run the two last "media player" tests, disable everything else (including smem): bug happens
My suspicion is that this is due to launching mediaplayer-app twice. A simple test like
self.media = self.launch_ test_applicatio n('mediaplayer- app', app_type='qt') test_applicatio n('mediaplayer- app', '-w', 'small.mp4', app_type='qt')
self.media2 = self.launch_
works though. So a minimal reproducer must be somewhere in between.
Christopher, Thomi, is it supported to run an app two times? Does ap and U phone support that in general?