1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-06-24 09:16:05 +01:00
Commit Graph

1115 Commits

Author SHA1 Message Date
ff67ed1697 Replaced active_cpus by online_cpus in common/linux/device.py 2017-06-14 14:25:17 +01:00
ae1a5019dc Merge pull request from setrofim/master
ssh: Back-port ssh_get_shell from devlib
2017-06-14 13:13:23 +01:00
51db53d979 ssh: Back-port ssh_get_shell from devlib
This back-ports ssh_get_shell implementation from devlib. It includes
the following changes:

- original_prompt for Telnet verison of the connection can now be passed
  as an argument.
- Multiple attempts to connect with a timeout.
- Some additional implementation to the tty, including setting the size.
2017-06-13 09:14:26 +01:00
42a4831092 Merge pull request from marcbonnici/online_cores
Online cores
2017-06-13 08:55:47 +01:00
8e94b79ed8 LinuxDevice: Now raises an error if trying to hotplug all cores.
Previously this would try to automatically enable an additional core to ensure
that all cores were not hot-plugged, however it would do this unnecessarily if
another core that wasn't the first of its types was already online.
2017-06-12 17:56:06 +01:00
37d99e4a5d LinuxDevice: Remove duplicate method and rename for consistency
These function were duplicated of each other so one has been removed and the
remaining methods renamed for consistency with WA terminology and the relevant
calls updated.
2017-06-12 17:27:21 +01:00
0683427acd Merge pull request from marcbonnici/signal_fix
EntryPoint: Fixes local package being used over system level
2017-06-09 12:59:28 +01:00
64574b1d4c EntryPoint: Fixes local package being used over system level
Due to a local file named 'signal.py' this was being imported instead of the system level 'signal' package. This commit ensures the the system level is used instead.
2017-06-09 11:10:44 +01:00
3653e1b507 Merge pull request from marcbonnici/uiauto2
Uiauto2 - Fixes
2017-06-08 17:52:38 +01:00
e62262dbb3 Uiauto2 Workloads: Fixes applaunch bug in androind N
In order to workaround an bug in applaunch running on android N, all of the
workloads have been updated to the latest gradle build system, the timeout in
the baseclass has been changed from a TimeUnit to a regualr long and a
duplicately declared parameter bundle has been removed.
2017-06-08 16:55:47 +01:00
18e47c89c5 Skype: Fixes launch command for intrumented testing.
Without specifying user `-3' for the launch command, the application is by default
attempted to be launched with permissions that are only grantable to system
apps.
2017-06-08 16:55:41 +01:00
389a1ecf76 Merge pull request from AnthonyARM/master
Convert TERM signals into INT to allow WA to exit cleanly
2017-06-08 15:16:48 +01:00
260e9563b3 Convert TERM signals into INT to allow WA to exit cleanly 2017-06-08 14:09:15 +01:00
48d0e1196c Merge pull request from marcbonnici/uiauto2
Uiauto2: Fixes leftover references to `.uiautoapk`
2017-06-08 11:41:51 +01:00
b64c615e8e Uiauto2: Fixes leftover references to .uiautoapk 2017-06-08 11:23:45 +01:00
a4e27128e5 Merge pull request from marcbonnici/uiauto2
Uiautomator2: Fix for newer adb versions.
2017-06-08 10:57:49 +01:00
242cf7e33a Revert "Android Device: Add force flag to install_apk"
This reverts commit 5d8305cfdc.
2017-06-05 17:00:40 +01:00
cc641e8dac UiautoWorkloads: Updated to use apk files for uiautoamtion tests. 2017-06-05 17:00:40 +01:00
bb17590689 ResourceGetter: Updated to check if an apk is a uiautomation test apk.
The getter now checks the apk package name to distinguish between a regular
android apk and a uiautomator apk.
2017-06-05 17:00:40 +01:00
4ce38fcd55 Revert "ResourceGetters: Added support for finding uiautoapk files."
This reverts commit b948d28c62.
2017-06-05 16:55:47 +01:00
bf694ffdf1 Revert "AndroidResource: Add a UiautoApk resource type."
This reverts commit bc6af25366.
2017-06-05 16:55:47 +01:00
b36e0061e1 AndroidWorkload: Updated to use an 'APK' file instead of a 'uiautoapk' 2017-06-05 16:55:47 +01:00
526ad15c01 AndroidResource: Updated APKFile to add support for uiautomator tests.
In newer versions of adb, files cannot be installed unless they use the
`.apk` extension therefore we need to be able to distinguish between
regular apks and instrumented test files.
2017-06-05 16:55:38 +01:00
0694ab6792 LinuxDevice: rename get_number_of_online_cpus arg
Renamed "c" to "core", as that gets passed as a keyword argument inside
get_runtime_parameters().
2017-06-01 14:29:19 +01:00
2fd7614d97 Merge pull request from marcbonnici/uiauto2
Upgrading to UiAutomator2
2017-05-31 11:22:45 +01:00
c75c102cd2 Merge pull request from setrofim/master
utils/trace_cmd: add parsers for more sched events
2017-05-31 10:48:14 +01:00
c86ce64408 utils/trace_cmd: add parsers for more sched events
Added parsers for sched_wakeup(_new) and sched_stat_* events that have
non-standard text.
2017-05-31 10:42:55 +01:00
d6909c5e6a PowerUtils: Pylint Fix 2017-05-31 10:36:38 +01:00
55e140f20a Caffeinemark: Updated to Uiautomator2 2017-05-31 10:36:38 +01:00
0c7a7e4dca BenchmarkPi: Updated to uiautomator2 2017-05-31 10:36:38 +01:00
a7ed00d9ed Googleslides: Add workaround for opening navigation drawer
On Android N running under the instrumentation uiautomator appears to have
trouble retrieving the root node for the home screen of google slides. Therefore
we open the navigation drawer via a swipe which allows the node to be found again.
2017-05-31 10:36:38 +01:00
89aa3e1208 GoogleSlides: Updated to uiautomator2
The latest version of uiautomator2 seems to have an issue with google slides not
being able to interact with any elements on the slide therefore we are using a
slightly older version which doesn't have this issue.
2017-05-31 10:36:38 +01:00
f33fd97705 Videostreaming: Updated to uiautomator2 2017-05-31 10:36:38 +01:00
bf598d1873 Camerarecord: Updated to only use root if device is rooted.
Previously the workload would always try and use root to pull framestats file
causing it to fail on unrooted devices.
2017-05-31 10:36:38 +01:00
c094a47f12 Camerarecord: Updated to uiautomator2 2017-05-31 10:36:38 +01:00
6dab2b48ab Cameracapture: Updated to uiautomator2 2017-05-31 10:36:38 +01:00
1809def83f Peacekeeper: Updated to Uiautomator2 2017-05-31 10:36:37 +01:00
1158c62c55 Appshare: Updated to Uiautomator2 2017-05-31 10:36:37 +01:00
d13defe242 Glbenchmark: Updated to Uiautomator2 2017-05-31 10:36:37 +01:00
a9c5ab9bc8 Facebook: Updated to Uiautomator2 2017-05-31 10:36:37 +01:00
27af97b795 Quadrant: Updated to Uiautomator2 2017-05-31 10:36:37 +01:00
a0a189044e Applaunch: Updated to Uiautomator2
Certain configurations of this workload requires root and therefore on some
android devices, this will prompt to grant the app su permissions by default. To
ensure this does not interfere with the run, ensure that either, re-request
permission after reinstall/upgrade is not selected or grant access by default.
2017-05-31 10:36:37 +01:00
eca6c10a75 Andebench: Updated to Uiautomator2 2017-05-31 10:36:37 +01:00
01efbe1807 Googlephotos: Updated to Uiautomator2 2017-05-31 10:36:37 +01:00
81f7f92b84 real_linpack: Updated to Uiautomator2 2017-05-31 10:36:37 +01:00
95c98fd458 Antutu: Updated to Uiautomator2 2017-05-31 10:36:37 +01:00
428abfb6a6 Geekbench: Updated to Uiautomator2 2017-05-31 10:36:37 +01:00
a8bf8458ec Youtube: Updated to Uiautomator2 2017-05-31 10:36:37 +01:00
862eeadb39 Vellamo: Updated to Uiautomator2 2017-05-31 10:36:36 +01:00
ec66e1d166 Sqlitebm: Updated to Uiautomator2 2017-05-31 10:36:36 +01:00