vocabs.metadata: remove filter-don't-test (inline it instead).
parent
ce6653bb65
commit
94e285e6de
|
@ -188,9 +188,11 @@ M: test-failure error. ( error -- )
|
||||||
|
|
||||||
: :test-failures ( -- ) test-failures get errors. ;
|
: :test-failures ( -- ) test-failures get errors. ;
|
||||||
|
|
||||||
: test ( prefix -- ) loaded-child-vocab-names test-vocabs ;
|
: test ( prefix -- )
|
||||||
|
loaded-child-vocab-names test-vocabs ;
|
||||||
|
|
||||||
: test-all ( -- ) loaded-vocab-names filter-don't-test test-vocabs ;
|
: test-all ( -- )
|
||||||
|
loaded-vocab-names [ don't-test? ] reject test-vocabs ;
|
||||||
|
|
||||||
: test-main ( -- )
|
: test-main ( -- )
|
||||||
command-line get [ [ load ] [ test ] bi ] each
|
command-line get [ [ load ] [ test ] bi ] each
|
||||||
|
|
|
@ -85,9 +85,6 @@ ERROR: bad-platform name ;
|
||||||
: don't-test? ( vocab -- ? )
|
: don't-test? ( vocab -- ? )
|
||||||
vocab-tags "not tested" swap member? ;
|
vocab-tags "not tested" swap member? ;
|
||||||
|
|
||||||
: filter-don't-test ( vocabs -- vocabs' )
|
|
||||||
[ don't-test? ] reject ;
|
|
||||||
|
|
||||||
TUPLE: unsupported-platform vocab requires ;
|
TUPLE: unsupported-platform vocab requires ;
|
||||||
|
|
||||||
: throw-unsupported-platform ( vocab requires -- )
|
: throw-unsupported-platform ( vocab requires -- )
|
||||||
|
|
Loading…
Reference in New Issue