# step: audio renditions · wai-rs and renditions_verify.py # order: 554 # features: audio_renditions # paths: wai/extensions/packaging.md # independent: audio-renditions delivery python3 -I pack-conformance/renditions_verify.py pack-conformance/renditions # # Audio renditions (extensions/packaging.md §8.10): the reference module's unit tests (a main and # a dub written, and every rule refusing) and the corpus's (it reaches every stated outcome, and # a changed outcome fails), and tests/audio_renditions.rs (vectors.json regenerates byte for # byte, wai-rs gives every case its stated outcome, and §8.10.6 lists exactly the reference's # codes); and, in the step of every independent verifier above, the corpus's second # implementation, renditions_verify.py, written from the extension's text and sharing no code # with wai-rs, which reads description records with access_services_verify.py, writes the HLS # tags and DASH adaptation sets itself, reads §8.10.6, requires every mutated copy of the # corpus to fail and drops each of its own checks in turn; standard library only, run # isolated (-I). # # The paths this step brings to the workflow's trigger, and why: # wai/extensions/packaging.md: tests/audio_renditions.rs requires §8.10.6 to list the # reference's codes, and renditions_verify.py reads it. set -euo pipefail (cd wai-rs && cargo test --no-default-features --features "$WAI_FEATURES" --lib -- audio_renditions::) (cd wai-rs && cargo test --no-default-features --features "$WAI_FEATURES" --test audio_renditions)