benchmark/tools/gbench
Roman Lebedev 17bc235ab3
Output library / schema versions in JSON context block (#1742)
* CMake: `get_git_version()`: just use `--dirty` flag of `git describe`

* CMake: move version normalization out of `get_git_version()`

Mainly, i want `get_git_version()` to return true version,
not something sanitized.

* JSON reporter: store library version and schema version in `context`

* Tools: discard inputs with unexpected `json_schema_version`

* Extract version string into `GetBenchmarkVersiom()`

---------

Co-authored-by: dominic <510002+dmah42@users.noreply.github.com>
2024-01-29 13:15:43 +00:00
..
Inputs tools/compare: don't actually discard valid (but zero) pvalue (#1733) 2024-01-08 09:57:00 +00:00
__init__.py Add pre-commit config and GitHub Actions job (#1688) 2023-10-30 15:35:37 +00:00
report.py tools/compare: don't actually discard valid (but zero) pvalue (#1733) 2024-01-08 09:57:00 +00:00
util.py Output library / schema versions in JSON context block (#1742) 2024-01-29 13:15:43 +00:00