2008-02-06 05:26:13 -05:00
|
|
|
|
2008-04-04 16:22:21 -04:00
|
|
|
USING: kernel namespaces assocs
|
|
|
|
io.files io.encodings.utf8 prettyprint
|
2008-03-09 06:49:35 -04:00
|
|
|
help.lint
|
2008-04-04 16:22:21 -04:00
|
|
|
benchmark
|
2008-05-09 11:00:24 -04:00
|
|
|
tools.time
|
2008-04-04 16:22:21 -04:00
|
|
|
bootstrap.stage2
|
|
|
|
tools.test tools.vocabs
|
|
|
|
builder.util ;
|
2008-02-06 05:26:13 -05:00
|
|
|
|
|
|
|
IN: builder.test
|
|
|
|
|
|
|
|
: do-load ( -- )
|
2008-03-07 19:30:47 -05:00
|
|
|
try-everything keys "../load-everything-vocabs" utf8 [ . ] with-file-writer ;
|
2008-02-11 19:13:49 -05:00
|
|
|
|
2008-02-06 05:26:13 -05:00
|
|
|
: do-tests ( -- )
|
2008-03-14 03:26:39 -04:00
|
|
|
run-all-tests
|
|
|
|
[ keys "../test-all-vocabs" utf8 [ . ] with-file-writer ]
|
|
|
|
[ "../test-failures" utf8 [ test-failures. ] with-file-writer ]
|
|
|
|
bi ;
|
2008-03-14 02:17:17 -04:00
|
|
|
|
2008-03-09 06:49:35 -04:00
|
|
|
: do-help-lint ( -- )
|
|
|
|
"" run-help-lint "../help-lint" utf8 [ typos. ] with-file-writer ;
|
|
|
|
|
2008-03-07 19:30:47 -05:00
|
|
|
: do-benchmarks ( -- )
|
|
|
|
run-benchmarks "../benchmarks" utf8 [ . ] with-file-writer ;
|
2008-02-13 06:50:45 -05:00
|
|
|
|
2008-02-11 19:13:49 -05:00
|
|
|
: do-all ( -- )
|
2008-03-07 19:30:47 -05:00
|
|
|
bootstrap-time get "../boot-time" utf8 [ . ] with-file-writer
|
2008-05-09 10:11:46 -04:00
|
|
|
[ do-load ] benchmark "../load-time" utf8 [ . ] with-file-writer
|
|
|
|
[ do-tests ] benchmark "../test-time" utf8 [ . ] with-file-writer
|
2008-03-09 06:49:35 -04:00
|
|
|
do-help-lint
|
2008-02-13 06:50:45 -05:00
|
|
|
do-benchmarks ;
|
2008-02-06 05:26:13 -05:00
|
|
|
|
|
|
|
MAIN: do-all
|