Skip to content

[SR-4534] Validate that benchmark commits contain freshly generated test harness #47111

Closed
@palimondo

Description

@palimondo
mannequin
Previous ID SR-4534
Radar None
Original Reporter @palimondo
Type Improvement
Status Closed
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Project Infrastructure
Labels Improvement
Assignee @palimondo
Priority Medium

md5: e2233ef2b29210a9925bdadf563786d1

relates to:

  • SR-4533 Using gyb with benchmarks

Issue Description:

As discussed on swift-dev, when adding new performance tests to the benchmark suit, contributors sometimes forget to regenerate the test harness using benchmark/scripts/generate_harness/generate_harness.py and instead manually edit the benchmark/CMakeLists.txt and benchmark/utils/main.swift.

@gottesmm suggested to "add a test to the validation suite that locally generates the gyb/harness files and performs a diff? This will ensure that at least the bots will catch if someone forgets to run the update."

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions