![]() `verify-conformance-yaml.sh` is used to verify the test spec of conformance e2e test are valid. Bascically, it calls `e2e.test` binary to dump the test spec and then walk the source to generate the `conformance.yaml`. If the `e2e.test` binary is outdated, it's possible that `testInfo` is nil. Access the field from nil will result to `nil pointer dereference` Signed-off-by: Dave Chen <dave.chen@arm.com> |
||
---|---|---|
.. | ||
image | ||
testdata | ||
cf_header.md | ||
conformance_test.sh | ||
doc.go | ||
gen-conformance-docs.sh | ||
gen-conformance-yaml.sh | ||
gen-specsummaries.sh | ||
OWNERS | ||
README.md | ||
spec-to-docs.sh | ||
spec-to-yaml.sh | ||
walk_test.go | ||
walk.go |
This directory contains the regression test for controlling the list of all conformance tests.
If you add or remove a conformance test, this test will fail and you will need
to update the golden list of tests stored in testdata/
. Changes to that file
require review by sig-architecture.
To update the list, run hack/update-conformance-yaml.sh
Add the changed file to your PR, then send for review.