Skip to content

Commit b5f358a

Browse files
committed
Add test_repository_tags to annotate which branch the test vectors belong in.
- Mostly intended to help with bookeeping and scripts which are used to generare the test report, and decide which tests to run. - But secondarily this helps tag tests that are relevant if a private implementer wants to examine tests based on particular versions of IAMF. - The tags match any branches the test vector will be maintained in - this is useful if future bugs are fixed that require regenerating tests. - Based on AOMediaCodec/iamf-tools@a104c1cf9.
1 parent 0776286 commit b5f358a

180 files changed

Lines changed: 726 additions & 14 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

proto/test_vector_metadata.proto

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,18 @@ message TestVectorMetadata {
4343
optional bool is_valid_to_decode = 14 [default = true];
4444
optional string mp4_fixed_timestamp = 4;
4545
reserved 5;
46+
// Tags to identify the repository this test vector belongs to. A repository
47+
// could be a git branch or it could refer to some other way to organize a
48+
// test suite.
49+
//
50+
// Some canonical tags are used to identify which GitHub branch(es) the test
51+
// vector should be synchronized with.
52+
//
53+
// `github/aomediacodec/libiamf/main`: Used on the `main` branch of
54+
// https://github.com/AOMediaCodec/libiamf
55+
// `github/aomediacodec/libiamf/v1.0.0-errata`: Used on the `v1.0.0-errata`
56+
// branch of https://github.com/AOMediaCodec/libiamf
57+
repeated string test_repository_tags = 15;
4658
repeated string primary_tested_spec_sections = 6;
4759
optional string base_test = 7;
4860
optional int32 ms_per_fragment = 8 [default = 10000];

tests/test_000000_3.textproto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ test_vector_metadata {
2121
is_valid_to_decode: false
2222
validate_user_loudness: true
2323
mp4_fixed_timestamp: "2023-04-06 00:00:00"
24+
test_repository_tags: [
25+
"github/aomediacodec/libiamf/main",
26+
"github/aomediacodec/libiamf/v1.0.0-errata"
27+
]
2428
primary_tested_spec_sections: [
2529
"3.2/num_samples_to_trim_at_end",
2630
"3.4/IA Sequence Header OBU Syntax and Semantics",

tests/test_000002.textproto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ test_vector_metadata {
2020
is_valid_to_decode: true
2121
validate_user_loudness: true
2222
mp4_fixed_timestamp: "2023-04-19 00:00:00"
23+
test_repository_tags: [
24+
"github/aomediacodec/libiamf/main",
25+
"github/aomediacodec/libiamf/v1.0.0-errata"
26+
]
2327
primary_tested_spec_sections: [
2428
"3.8/Parameter Block OBU Syntax and Semantics",
2529
"3.8.1/animation_type == STEP",

tests/test_000003.textproto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ test_vector_metadata {
2020
is_valid_to_decode: true
2121
validate_user_loudness: true
2222
mp4_fixed_timestamp: "2023-04-19 00:00:00"
23+
test_repository_tags: [
24+
"github/aomediacodec/libiamf/main",
25+
"github/aomediacodec/libiamf/v1.0.0-errata"
26+
]
2327
primary_tested_spec_sections: [
2428
"3.2/num_samples_to_trim_at_end",
2529
"3.6.2/num_layers",

tests/test_000005.textproto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ test_vector_metadata {
2020
is_valid_to_decode: true
2121
validate_user_loudness: true
2222
mp4_fixed_timestamp: "2023-04-19 00:00:00"
23+
test_repository_tags: [
24+
"github/aomediacodec/libiamf/main",
25+
"github/aomediacodec/libiamf/v1.0.0-errata"
26+
]
2327
primary_tested_spec_sections: ["3.2/num_samples_to_trim_at_end"]
2428
base_test: "test_000002"
2529
}

tests/test_000006.textproto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ test_vector_metadata {
2020
is_valid_to_decode: true
2121
validate_user_loudness: true
2222
mp4_fixed_timestamp: "2023-04-19 00:00:00"
23+
test_repository_tags: [
24+
"github/aomediacodec/libiamf/main",
25+
"github/aomediacodec/libiamf/v1.0.0-errata"
26+
]
2327
primary_tested_spec_sections: [
2428
"3.4/IA Sequence Header OBU Syntax and Semantics",
2529
"3.10/Codec Specific",

tests/test_000007.textproto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ test_vector_metadata {
2020
is_valid_to_decode: false
2121
validate_user_loudness: true
2222
mp4_fixed_timestamp: "2023-04-19 00:00:00"
23+
test_repository_tags: [
24+
"github/aomediacodec/libiamf/main",
25+
"github/aomediacodec/libiamf/v1.0.0-errata"
26+
]
2327
primary_tested_spec_sections: ["3.4/ia_code"]
2428
base_test: "test_000005"
2529
}

tests/test_000012.textproto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ test_vector_metadata {
2020
is_valid_to_decode: true
2121
validate_user_loudness: true
2222
mp4_fixed_timestamp: "2023-04-19 00:00:00"
23+
test_repository_tags: [
24+
"github/aomediacodec/libiamf/main",
25+
"github/aomediacodec/libiamf/v1.0.0-errata"
26+
]
2327
primary_tested_spec_sections: ["3.2/num_samples_to_trim_at_end"]
2428
base_test: "test_000005"
2529
}

tests/test_000013.textproto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ test_vector_metadata {
2020
is_valid_to_decode: true
2121
validate_user_loudness: true
2222
mp4_fixed_timestamp: "2023-04-19 00:00:00"
23+
test_repository_tags: [
24+
"github/aomediacodec/libiamf/main",
25+
"github/aomediacodec/libiamf/v1.0.0-errata"
26+
]
2327
primary_tested_spec_sections: ["3.2/num_samples_to_trim_at_end"]
2428
base_test: "test_000005"
2529
}

tests/test_000014.textproto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ test_vector_metadata {
2020
is_valid_to_decode: false
2121
validate_user_loudness: true
2222
mp4_fixed_timestamp: "2023-04-19 00:00:00"
23+
test_repository_tags: [
24+
"github/aomediacodec/libiamf/main",
25+
"github/aomediacodec/libiamf/v1.0.0-errata"
26+
]
2327
primary_tested_spec_sections: [
2428
"3.9/Audio Frame OBU Syntax and Semantics",
2529
"3.11.1/pre_skip"

0 commit comments

Comments
 (0)