zealot.cli-test-changed-vocabs: The ``test`` word tests all child vocabs in the hierarchy, ``test-vocab`` tests only the specific vocabulary.

This should test fewer vocabularies and find more bugs where vocabularies are expected to be loaded but aren't loaded.
handle-patch-and-put
Doug Coleman 2018-08-26 16:53:38 -05:00
parent 4dcfefc0b9
commit faae03cdba
1 changed files with 3 additions and 6 deletions

View File

@ -4,10 +4,7 @@ USING: kernel sequences tools.test vocabs zealot.factor ;
IN: zealot.cli-test-changed-vocabs IN: zealot.cli-test-changed-vocabs
: zealot-test-changed-vocabs ( -- ) : zealot-test-changed-vocabs ( -- )
ci-vocabs-to-test [ ci-vocabs-to-test [ require test-vocab ] each ;
[ require ] each
] [ MAIN: zealot-test-changed-vocabs
[ test ] each
] bi ;
MAIN: zealot-test-changed-vocabs