Skip to content

Commit

Permalink
Explicitly adding a wedge field, to make it easy to display in graphs. (
Browse files Browse the repository at this point in the history
  • Loading branch information
richardssam and SamRichardsDisney authored Feb 19, 2024
1 parent a63f008 commit 0820a10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions enctests/testframework/encoders/ffmpeg_encoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ def run_wedges(self) -> dict:
'test_config_path'
))
test_meta['command'] = cmd
test_meta['wedge_name'] = wedge_name
test_meta['test_prefix'] = self.test_config.get('name')
test_meta['encode_arguments'] = wedge
test_meta['description'] = self.test_config.get('description')
test_meta['outputfile'] = str(out_file)
Expand Down
3 changes: 2 additions & 1 deletion enctests/testframework/utils/outputTemplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ def processTemplate(config, timeline):
merge_test_info = test_info.metadata['aswf_enctests']['results']
merge_test_info['name'] = ref_name
merge_test_info['testbasename'] = test_info.metadata['aswf_enctests']['testbasename']
merge_test_info['wedge'] = ref_name.replace(track.metadata.get('source_test_name', '')+"-", "")
merge_test_info['wedge'] = test_info.metadata['aswf_enctests']['wedge_name']
print("Wedge:", merge_test_info['wedge'], ref_name)
if 'description' in test_info.metadata['aswf_enctests']:
merge_test_info['test_description'] = test_info.metadata['aswf_enctests']['description']
results.append(merge_test_info)
Expand Down

0 comments on commit 0820a10

Please sign in to comment.