tools: Rename tool to check-schemas.

This commit is contained in:
Steve Howell 2021-01-20 18:39:32 +00:00 committed by Tim Abbott
parent 36b1794c1d
commit 09ff0c400d
5 changed files with 5 additions and 5 deletions

View File

@ -369,7 +369,7 @@ in `frontend_tests/node_tests/lib/events.js`, a test of the
`server_events_dispatch.js` code for that event in `server_events_dispatch.js` code for that event in
`frontend_tests/node_tests/dispatch.js`, and verify your example `frontend_tests/node_tests/dispatch.js`, and verify your example
against the two versions of the schema that you declared above using against the two versions of the schema that you declared above using
`tools/check-node-fixtures`. `tools/check-schemas`.
#### Code coverage #### Code coverage

View File

@ -2,7 +2,7 @@
// These events are not guaranteed to be perfectly // These events are not guaranteed to be perfectly
// representative of what the server sends. We // representative of what the server sends. We
// have a tool called check-node-fixtures that tries // have a tool called check-schemas that tries
// to validate this data against server side schemas, // to validate this data against server side schemas,
// but there are certain edge cases that the tool now // but there are certain edge cases that the tool now
// skips. And even when the data matches the schema, // skips. And even when the data matches the schema,

View File

@ -10,8 +10,8 @@ set -x
# Run the node tests first, since they're fast and deterministic # Run the node tests first, since they're fast and deterministic
./tools/test-js-with-node --coverage ./tools/test-js-with-node --coverage
# Check the node fixtures (also fast) # Check that various schemas are consistent. (is fast)
./tools/check-node-fixtures ./tools/check-schemas
# Check capitalization of strings # Check capitalization of strings
./manage.py makemessages --locale en ./manage.py makemessages --locale en

View File

@ -71,7 +71,7 @@ run ./tools/test-api
# ci/frontend # ci/frontend
run ./tools/lint --groups=frontend $FORCEARG run ./tools/lint --groups=frontend $FORCEARG
run ./tools/test-js-with-node run ./tools/test-js-with-node
run ./tools/check-node-fixtures run ./tools/check-schemas
run ./manage.py makemessages --locale en run ./manage.py makemessages --locale en
run env PYTHONWARNINGS=ignore ./tools/check-capitalization --no-generate run env PYTHONWARNINGS=ignore ./tools/check-capitalization --no-generate
run env PYTHONWARNINGS=ignore ./tools/check-frontend-i18n --no-generate run env PYTHONWARNINGS=ignore ./tools/check-frontend-i18n --no-generate