test_platform: Separate TEST_NA results from FAIL results
Currently TEST_NA (Not Applicable) tests show up as failures. This
change adds another verdict so that TEST_NA can be treated as a no-op
instead.
BUG=chromium:1027745
TEST=./generate.sh
Change-Id: Idf2c7f3449a554f1d0e864a8fba270f23f2a389a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/proto/+/2186549
Reviewed-by: Alex Zamorzaev <zamorzaev@chromium.org>
Tested-by: G Tong <gatong@chromium.org>
Commit-Queue: G Tong <gatong@chromium.org>
Commit-Queue: Alex Zamorzaev <zamorzaev@chromium.org>
diff --git a/go/test_platform/skylab_test_runner/result.pb.go b/go/test_platform/skylab_test_runner/result.pb.go
index 12ca75e..622ac5f 100644
--- a/go/test_platform/skylab_test_runner/result.pb.go
+++ b/go/test_platform/skylab_test_runner/result.pb.go
@@ -25,21 +25,24 @@
type Result_Autotest_TestCase_Verdict int32
const (
- Result_Autotest_TestCase_VERDICT_UNDEFINED Result_Autotest_TestCase_Verdict = 0
- Result_Autotest_TestCase_VERDICT_PASS Result_Autotest_TestCase_Verdict = 1
- Result_Autotest_TestCase_VERDICT_FAIL Result_Autotest_TestCase_Verdict = 2
+ Result_Autotest_TestCase_VERDICT_UNDEFINED Result_Autotest_TestCase_Verdict = 0
+ Result_Autotest_TestCase_VERDICT_PASS Result_Autotest_TestCase_Verdict = 1
+ Result_Autotest_TestCase_VERDICT_FAIL Result_Autotest_TestCase_Verdict = 2
+ Result_Autotest_TestCase_VERDICT_NO_VERDICT Result_Autotest_TestCase_Verdict = 3
)
var Result_Autotest_TestCase_Verdict_name = map[int32]string{
0: "VERDICT_UNDEFINED",
1: "VERDICT_PASS",
2: "VERDICT_FAIL",
+ 3: "VERDICT_NO_VERDICT",
}
var Result_Autotest_TestCase_Verdict_value = map[string]int32{
- "VERDICT_UNDEFINED": 0,
- "VERDICT_PASS": 1,
- "VERDICT_FAIL": 2,
+ "VERDICT_UNDEFINED": 0,
+ "VERDICT_PASS": 1,
+ "VERDICT_FAIL": 2,
+ "VERDICT_NO_VERDICT": 3,
}
func (x Result_Autotest_TestCase_Verdict) String() string {
@@ -515,44 +518,45 @@
}
var fileDescriptor_e702ec909b65d32c = []byte{
- // 609 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x94, 0xdf, 0x4f, 0x13, 0x41,
- 0x10, 0xc7, 0xb9, 0xb6, 0xf4, 0xc7, 0xb4, 0x62, 0xdd, 0x88, 0x39, 0x6b, 0xa2, 0xc8, 0x13, 0x31,
- 0x71, 0x2f, 0x56, 0x12, 0x13, 0xe3, 0x03, 0x2d, 0x05, 0xc1, 0x10, 0x42, 0xb6, 0x14, 0xa3, 0x21,
- 0xb9, 0x6c, 0xdb, 0xa5, 0x54, 0xee, 0x6e, 0x2f, 0xbb, 0x7b, 0x26, 0xfc, 0x69, 0x3e, 0xfb, 0x4f,
- 0xf8, 0x57, 0xf8, 0xec, 0xa3, 0xb9, 0xb9, 0xbd, 0x78, 0xa0, 0x49, 0x81, 0x27, 0xdf, 0x6e, 0x66,
- 0x76, 0x3e, 0x33, 0xfb, 0x9d, 0xb9, 0x85, 0x97, 0x46, 0x68, 0xe3, 0xc7, 0x01, 0x37, 0x67, 0x52,
- 0x85, 0x9e, 0xbe, 0xb8, 0x0c, 0xf8, 0xd8, 0x47, 0xa7, 0x4a, 0xa2, 0x48, 0x28, 0x4f, 0x09, 0x9d,
- 0x04, 0x86, 0xc6, 0x4a, 0x1a, 0x49, 0xd6, 0xae, 0x1c, 0xa7, 0x7f, 0x1f, 0xef, 0x3c, 0xbb, 0x0a,
- 0x9c, 0xc8, 0x30, 0x94, 0x91, 0x67, 0xb8, 0xbe, 0xc8, 0x10, 0xeb, 0x5b, 0xd0, 0xea, 0xe9, 0xcb,
- 0x68, 0xc2, 0x90, 0xab, 0xc9, 0x63, 0xa8, 0x07, 0x72, 0xa6, 0xfd, 0x44, 0x05, 0xae, 0xb3, 0xe6,
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05,
+ 0x00, 0x00,
}
diff --git a/src/test_platform/skylab_test_runner/result.proto b/src/test_platform/skylab_test_runner/result.proto
index edc4e10..5fa9fbc 100644
--- a/src/test_platform/skylab_test_runner/result.proto
+++ b/src/test_platform/skylab_test_runner/result.proto
@@ -36,6 +36,7 @@
VERDICT_UNDEFINED = 0;
VERDICT_PASS = 1;
VERDICT_FAIL = 2;
+ VERDICT_NO_VERDICT = 3;
}
Verdict verdict = 2;