1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2024-10-06 19:01:15 +01:00
Commit Graph

94 Commits

Author SHA1 Message Date
Sergei Trofimov
8a219d0e5a commands/process: improve logging
- Add a logging to indicate what is being processed.
- Log to file.
2018-05-14 17:05:06 +01:00
Sergei Trofimov
32701e7783 command/run: remove version/args logging.
This was moved to wa/framework/entrypoint.py but was kept here due to a
botched merge during a rebase.
2018-05-09 15:41:04 +01:00
sergei Trofimov
7cf0b881c1 fw: move version and cmd line logging to main()
Move the logging of the WA version and command line used to invoke it
from run command into main() inside entrypoint. That way, these will be
the first entries in the log file, now that early log records are no
longer lost.
2018-05-09 15:06:31 +01:00
sergei Trofimov
aacba47f9a utils/types: toggle_set: add "~~" semantics
Add support for "~~" special value that indicates that, when merging
into another set, all values from that set should in fact be dropped.
Apart from the unique merge semantics, "~~" just like any other "~"
value.
2018-05-08 10:50:48 +01:00
Marc Bonnici
f4b47bf65a Fix typos 2018-04-30 09:14:11 +01:00
Marc Bonnici
1b557e5c5a commands/show: Add missing identifiers
Ensure that plugin names are converted to identifiers when searching for
plugins.
2018-04-27 16:29:53 +01:00
Marc Bonnici
5664d312eb commands/revent: Add error message if not specifying workload stage
Ensure that if a workload is chosen for recording the user also
specifies which stages they wish to record for.
2018-04-10 18:07:20 +01:00
Marc Bonnici
f343f3a7ec wa/commands: Fix typo in create templates 2018-04-10 18:07:20 +01:00
Marc Bonnici
0a88c32502 commands/list: Display plugins in alphabetical order 2018-04-10 18:07:20 +01:00
Marc Bonnici
c34b219941 commands/create: Add missing workload templates 2018-04-10 18:07:20 +01:00
Marc Bonnici
66b40b25e5 commands/create: Rename workload type names
Remove underscores from `apk_revent` and `apk_uiauto` so the names are
consistent with the workload type names.
2018-04-10 18:07:20 +01:00
matthew
b71639b2ed commands/process create initial version
Add process command to run output processors over data produced by
a previous run.

Default processing is to skip the processors that were used during
the run and to process the specified directory only. Options to
use additional processors, force reprocessing and allow a directory
walk to discover additional output directories.
2018-04-06 14:46:25 +01:00
Marc Bonnici
2b0b6ed3db commands/show: Adds support for showing global settings 2018-03-16 14:05:19 +00:00
Marc Bonnici
71f0452b73 commands/record: Add checking for android targets
Update the 'package' argument description to specify it is for android
packages and add error checking to ensure that if specified, the target
supports android.
2018-03-09 11:57:00 +00:00
Marc Bonnici
8729702ee5 commands/record: Make recording of run stage optional
Change the recording of the run stage during workload recording mode to be
optional as the user may want to use the command to re-record a specific
stage of a workload without affecting the workload recording.
2018-03-09 11:57:00 +00:00
Marc Bonnici
05b726db09 commands/create: Add support for creating packages to WA3 2018-03-08 10:36:29 +00:00
Marc Bonnici
c5659d51f1 commands/create: Update agenda sections to use augmentations 2018-02-15 13:42:48 +00:00
Marc Bonnici
efc7dc9326 commands/create: Remove global section of generated agenda
Move the iterations parameter into `config`so the `global` section
can be removed.
2018-02-08 18:01:56 +00:00
Marc Bonnici
9941b9a92a commands/show: Add missing assistant parameters and RT param note. 2018-02-07 10:01:12 +00:00
Marc Bonnici
9eca168c55 commands/show: Remove individual headings from output 2018-02-07 10:01:12 +00:00
Marc Bonnici
446a1cfbb0 wa: Rename Instrumentation to Instruments
To be maintain a consistent naming scheme, rename all instances of
`Instrumentation` to `Instruments`
2018-01-15 10:24:03 +00:00
Marc Bonnici
538cd8d332 wa: Rename results_processors to output_processors
For clarity and to better reflect their purpose, rename
`results_processors` to `output_processors`.
2018-01-15 10:24:03 +00:00
Marc Bonnici
0047ce31d7 commands/run: Fix formatting 2018-01-12 17:28:56 +00:00
Marc Bonnici
635ebc1f4d commands/show: Improved formatting of show command 2018-01-08 10:34:32 +00:00
Sergei Trofimov
0a67e94709 framework/target: rename get_target_descriptions
Rename get_target_descriptions to list_target_descriptions.
2017-12-15 17:07:34 +00:00
Marc Bonnici
38e11f6777 commands/show: Adds show command
The show command will try to use pandoc and man to display the relevant
information and will fall back to printing the markdown if pandoc is not
available.
2017-12-14 09:50:26 +00:00
Marc Bonnici
7a8492031e commands/workload_templates: Fix validate method in template
Remove incorrect parameter for super 'validate' call.
2017-12-11 08:04:49 +00:00
Marc Bonnici
6308f99b9d commands/revent: Fix revent for non android based workloads
Previously recording an revent workload would assume an android based
revent workload with an apk. Now only deploy apk if present for
workload.
2017-12-11 08:04:49 +00:00
Marc Bonnici
6022c38ae2 commands/revent: Fix revent command
Update revent commands to supply output directory when creating
TargetManager and fix ignoring any additional device config provided.
2017-12-08 08:40:38 +00:00
Brendan Jackman
aa2abd16a3 Run autoflake to remove unused imports & variables 2017-12-07 15:37:49 +00:00
Marc Bonnici
bfb9dd2c43 Commands/Create: Adds support for creating workloads
The create command can now be used to create workloads for the various
types.
2017-12-06 17:05:52 +00:00
Marc Bonnici
0225b76562 CreateCommand: Fix missing import 2017-12-06 17:05:52 +00:00
Sergei Trofimov
00d1d3d318 commands/run: update "--disable" option
--diable can now be used to disable both intruments and
result_processors from the command line (overriding configuration
files). Rename variable names to reflect this.
2017-11-03 17:33:32 +00:00
Sergei Trofimov
0934037e1b revent fixes
- do not attempt to replay setup if a setup recording has not been
  provided (perviously, setup was mandatory).
- update the apk initialization to the correct method inside the record
  command.
2017-09-27 10:32:41 +01:00
Sergei Trofimov
4d964ccb2f commands: renaming record.py to revent.py
This file contians implementations of both record and replay commands
for revent so the old name was misleading.
2017-04-27 09:01:18 +01:00
setrofim
63b01e29ee Merge pull request #381 from marcbonnici/revent
Revent & Misc Fixes
2017-04-25 10:39:41 +01:00
Marc Bonnici
16f2bc69f0 Replay Command: Added a replay command
The replay command can be used to replay an revent recording on a device.
2017-04-25 10:35:02 +01:00
Marc Bonnici
311ac1b803 Record Command: Updated record command
Updated the record command to allow revent recordings to be made.
They can be performed in 3 ways; the default is a standard recording
as in WA2, it can start a specified package before starting the
recording or a workload can be specified which launches the workload
and prompts the user to record each stage, naming and storing the recordings
appropriately.
2017-04-25 10:35:02 +01:00
Sergei Trofimov
8a9ca6fdfe commands: added create ageanda command
Added the crate command with a subcommand to generate an agenda based on
a list of plugins.
2017-04-25 08:16:36 +01:00
Marc Bonnici
e60e31ff8e Imports: Updated Imports
Switch remaining wlauto imports to wa.
Added other missing imports.
2017-04-20 11:49:53 +01:00
Sergei Trofimov
bddabbc56d revent workload part 1 2017-04-06 16:38:39 +01:00
Sergei Trofimov
24402660c4 Initial implementation of state tracking and output handling. 2017-03-17 09:15:43 +00:00
Sergei Trofimov
42539bbe0d New target description + moving target stuff under "framework"
Changing the way target descriptions work from a static mapping to
something that is dynamically generated and is extensible via plugins.
Also moving core target implementation stuff under "framework".
2017-03-06 11:10:25 +00:00
Marc Bonnici
1f1f2b12c6 WA3 Exsisting Code 2017-02-21 15:02:28 +00:00