git-repo/tests
Ian Kasprzak 30bc354e25 Enable git trace2 event format logging.
Ways to enable logging:
1) Set git's trace2.eventtarget config variable to desired logging path
2) Specify path via --git_trace2_event_log option

A unique logfile name is generated per repo execution (based on the repo session-id).

Testing:
1) Verified git config 'trace2.eventtarget' and flag enable logging.
2) Verified version/start/end events are expected format:
  https://git-scm.com/docs/api-trace2#_event_format
3) Unit tests

Bug: https://crbug.com/gerrit/13706
Change-Id: I335eba68124055321c4149979bec36ac16ef81eb
Tested-by: Ian Kasprzak <iankaz@google.com>
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/292262
Reviewed-by: Mike Frysinger <vapier@google.com>
Reviewed-by: Jonathan Nieder <jrn@google.com>
2021-01-06 17:49:41 +00:00
..
fixtures git_config: add GetInt helper 2020-02-19 23:09:05 +00:00
test_editor.py upload/editor: fix bytes/string confusion 2019-11-16 23:55:30 +00:00
test_git_command.py Use hash for ControlPath instead of full variables 2020-04-15 06:51:22 +00:00
test_git_config.py git_config: add GetInt helper 2020-02-19 23:09:05 +00:00
test_git_trace2_event_log.py Enable git trace2 event format logging. 2021-01-06 17:49:41 +00:00
test_hooks.py Move RepoHook class from project.py file to dedicated file 2020-11-03 22:08:08 +00:00
test_manifest_xml.py manifest_xml: harmonize list fields 2020-12-04 17:27:11 +00:00
test_project.py Fix tests after "use new main branch" 2020-12-03 07:29:59 +00:00
test_subcmds_init.py init: reject unknown args 2020-09-02 07:53:16 +00:00
test_subcmds.py init: reject unknown args 2020-09-02 07:53:16 +00:00
test_wrapper.py Fix tests after "use new main branch" 2020-12-03 07:29:59 +00:00