opencontainers / distribution-spec

OCI Distribution Specification
https://opencontainers.org
Apache License 2.0
781 stars 201 forks source link

conformance: support OCI_REPORT_DIR #473

Closed rogpeppe closed 8 months ago

rogpeppe commented 9 months ago

This makes it possible to run the conformance tests in a read-only directory without failing by specifying an output directory for the report files instead of hard-coding it to the current directory (which may not be writable, and won't be writable if the tests are being run with go test github.com/opencontainers/distribution-spec/conformance rather than in a git checkout of the conformance module.

We recognize the value none for disabling report generation entirely.