Sebastian Goscik
6798a54a61
ConfigParser: Added ID validation - IDs cannot contain a -
because its used to separate section IDs from workload IDs - global
is a reserved ID for the "global" section.
2016-09-27 11:20:12 +01:00
Sebastian Goscik
451d973a65
ConfigParser: Global generic config is now stored in the plugin cache
...
Config such as "device_config" or "workload_parameters" is now stored in
the plugin cache till we know what it belongs to.
2016-09-27 11:20:12 +01:00
Sebastian Goscik
059b38685b
AgendaParse: Removed config finalisation
...
It should not been done by the agenda parser but rather what ever invokes it
2016-09-27 11:20:12 +01:00
Sebastian Goscik
6aa3ddae4f
types: Added obj_dict
...
obj_dict is a a dictionary that can have its entries accessed either
via the standard `[some_key]` method or via the obj_dict's attributes
`obj_dict.some_key`.
This comes is very useful when needing to use `ConfigurationPoints` outside
of a `Configuration` object
2016-09-27 11:20:12 +01:00
Sebastian Goscik
ca13c58f7c
toggle_set: Fixed code from when these were lists not sets
2016-09-27 11:20:12 +01:00
Sebastian Goscik
df17f79142
Job spec tree: Added a common base for workloads and sections
...
Added "JobSpecSource" as a base class for both section tree nodes and
workload entries. This adds a common interface between them for:
- Resolving names
- Storing configuration
- References to parents
- Getting IDs out of configuration
2016-09-27 11:20:12 +01:00
Sebastian Goscik
b0e500e2a8
misc
2016-09-27 11:20:11 +01:00
Sebastian Goscik
e258999e0a
Unit tests
2016-09-27 11:20:11 +01:00
Sebastian Goscik
02138c60cc
Added mock as a dependency for unit tests
2016-09-27 11:20:11 +01:00
Sebastian Goscik
e0e4f389b9
Reworked configuration
...
All config now uses configuration points
Config parsing is now done in destinct stages
- first all files are parsed and sent to their corresponding config objects or to a tree
- tree is traversed to generate job specs.
2016-09-27 11:20:11 +01:00
Sebastian Goscik
8de1b94d73
enable_disable_list: Added a type to handle instrument/result_processor lists
...
A custom list type now allows "enabling"/"disabling" items by prepending a `~`.
When merged the new state takes priority over the old state.
2016-09-27 11:20:11 +01:00
Sebastian Goscik
05df7c7d9f
ExecutionContext: Fixed copying agenda when one is not used
2016-09-27 11:17:25 +01:00
Sebastian Goscik
2d3254470c
utils: Removed utils code that is also in devlib
...
Since WA3 is now very much dependant on devlib there is no need
to duplicate utility code between the two projects.
Quite a few of the modules aren't even needed by WA because they
were for communicating with devices.
2016-09-27 11:17:25 +01:00
Sebastian Goscik
0057a531fd
RecordCommand: Improved record command to handle workloads
...
The wa record command now has the ability to record revent files for wa
workload.
The command with automatically deploy the workload and record both
setup and run revent recordings
Conflicts:
wlauto/commands/record.py
2016-09-27 11:17:25 +01:00
Sebastian Goscik
98b46894d8
Updates to pluggins to match the new plugin loader
2016-09-27 11:17:25 +01:00
Sebastian Goscik
913d41c86d
Update
2016-09-27 11:17:25 +01:00
Sebastian Goscik
17a395fbd4
Improved serializability
2016-09-27 11:17:25 +01:00
Sebastian Goscik
4485333454
Moved wlauto.core.config.core into wlauto.core.configuration
2016-09-27 11:17:25 +01:00
Sebastian Goscik
c51593a729
pluginloader: Updated documentation to say plugin instead of extension
2016-09-27 11:17:25 +01:00
Sebastian Goscik
1e6763ee9b
pluginloader: Replaced extension loader with WA3 plugin loader
...
In the process removed modules and boot_strap.py. Also Renamed extensions Plugins.
Louie is now monkey patched rather than containing a modified version in external
2016-09-27 11:17:25 +01:00
setrofim
a4a428c9ae
Merge pull request #109 from ep1cman/locallinux
...
LocalLinuxManager: Added a local linux manager
2016-02-23 17:04:41 +00:00
Sebastian Goscik
d89a52584b
bootstrap: Removed and fixed module mapping for extensions
2016-02-23 17:01:53 +00:00
Sebastian Goscik
41a3877640
LocalLinuxManager: Added a local linux manager
...
This allows WA to automate the machine it is running on.
2016-02-23 16:57:46 +00:00
Sebastian Goscik
0b1b9d304c
Fixed WA extensions for AndroidManager
...
Changed method calls to devlib naming
2016-02-19 15:29:10 +00:00
Sebastian Goscik
a3962b6323
AndroidManager: Added AndroidManager
...
Replaces AndroidDevice
2016-02-19 15:27:18 +00:00
Sebastian Goscik
001239dfe4
Fixed WA extensions for LinuxManager
...
Changed method calls to devlib naming
2016-02-19 15:27:18 +00:00
Sebastian Goscik
6f0de17201
LinuxManager: Added LinuxManager
...
Replaces BaseLinuxDevice & LinuxDevice
2016-02-19 15:26:54 +00:00
Sebastian Goscik
1599c1e0ed
Devices: Removed Devices
...
They are now superseded by DeviceManagers
2016-02-19 15:26:54 +00:00
Sebastian Goscik
4fc93a8a3c
DeviceManager: Introduced DeviceManager extension
...
DeviceManagers will replace devices and will wrap devlib targets for use in WA
2016-02-19 15:23:07 +00:00
Sebastian Goscik
cd0186d14e
json: Replaced json results processor with a more comprehensive one
2016-02-19 15:23:07 +00:00
Sebastian Goscik
de133cddb4
Merge pull request #105 from bjackman/check-config-exists
...
Add entry_point check for config file existence
2016-02-18 09:02:46 +00:00
Brendan Jackman
a5c9b94257
Add entry_point check for config file existence
...
This is just to provide a friendlier error message.
Before this commit you get an IOError from imp.load_source.
2016-02-17 17:24:14 +00:00
setrofim
c203ec8921
Merge pull request #103 from ep1cman/fixes
...
ApkWorkload: Fixed runtime permission granting
2016-02-15 11:50:36 +00:00
Sebastian Goscik
de021da300
ApkWorkload: Fixed runtime permission granting
...
"Normal" android permissions are automatically granted and cannot
be changed. Trying to "pm grant" these caused an error, this should
no longer occur.
2016-02-15 11:38:28 +00:00
setrofim
693afa3528
Merge pull request #102 from ep1cman/fixes
...
LinuxDevice: Added as_root to kick_off
2016-02-12 09:55:36 +00:00
Sebastian Goscik
5203188d9e
LinuxDevice: Added as_root to kick_off
2016-02-12 09:54:14 +00:00
Steve Bannister
08663209d6
Fix up lmbench commandline
2016-02-11 17:40:31 +00:00
Sebastian Goscik
232e4b3e65
Merge pull request #101 from setrofim/master
...
Adding taskset capability to lmbench + minor fixes.
2016-02-11 09:35:58 +00:00
Sergei Trofimov
13ebc8ad55
pep8: removed trailling spaces
2016-02-11 08:22:53 +00:00
Sergei Trofimov
759f8db1bc
lmbench: adding taskset support
...
lmbench can now be run pinned to specific CPUs.
2016-02-11 08:22:39 +00:00
setrofim
9a7cccacab
Merge pull request #100 from setrofim/master
...
dhrystone: fix busybox reference.
2016-02-10 17:45:42 +00:00
Sergei Trofimov
288aa764b3
dhrystone: fix busybox reference.
2016-02-10 17:28:33 +00:00
Sebastian Goscik
a32cc0f213
Merge pull request #99 from setrofim/master
...
Minor fixes.
2016-02-10 16:50:17 +00:00
Sergei Trofimov
fdbc2ae372
pylint
2016-02-10 16:39:06 +00:00
Sergei Trofimov
9129a9d2d8
dhrystone: remove reference to sysbench from dhrystone doc.
2016-02-10 16:38:56 +00:00
Sebastian Goscik
cb46c57754
Merge pull request #98 from setrofim/master
...
ipython: switched to using LooseVersion for version checks.
2016-02-10 10:54:00 +00:00
Sebastian Goscik
536c0ffe4e
Merge pull request #94 from ranjeetkumar/master
...
Added GoogleMap : Navigation app by Google Inc.
2016-02-10 09:37:00 +00:00
Sergei Trofimov
4f30e37f22
ipython: switched to using LooseVersion for version checks.
...
This is a fix for
https://github.com/ARM-software/workload-automation/issues/97
IPython can use rc tags in its version strings, which StrictVersion
can't handle.
2016-02-10 09:01:40 +00:00
ranjeet
0deb8fd7c6
Added GoogleMap : Navigation app by Google Inc.
2016-02-07 10:01:36 +05:30
Sebastian Goscik
85edc3084b
Merge pull request #96 from setrofim/master
...
Fixes to cpufreq module and elimination of unknown state in cpustate result processor.
2016-02-04 16:25:00 +00:00