Skip to content

test: report missing ucp-schema as skipped#477

Open
TateLyman wants to merge 1 commit into
Universal-Commerce-Protocol:mainfrom
TateLyman:codex/skip-missing-ucp-schema
Open

test: report missing ucp-schema as skipped#477
TateLyman wants to merge 1 commit into
Universal-Commerce-Protocol:mainfrom
TateLyman:codex/skip-missing-ucp-schema

Conversation

@TateLyman
Copy link
Copy Markdown

Summary

  • add an explicit SKIP result to the lightweight validate_examples test harness
  • treat the ucp-schema-dependent integration case as skipped when the binary is not on PATH
  • preserve failing exit status for real FAIL results

Why

The test module says ucp-schema-dependent checks are skipped when the binary is missing. Locally, that case was recorded as a failure, so contributors without ucp-schema could not run the no-dependency contract tests cleanly.

Verification

  • python3 scripts/test_validate_examples.py
  • python3 scripts/validate_examples.py --schema-base source/schemas/ --audit
  • python3 -m py_compile scripts/test_validate_examples.py scripts/validate_examples.py
  • git diff --check

@google-cla
Copy link
Copy Markdown

google-cla Bot commented May 22, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant