builder: fix bug

db4
Eduardo Cavazos 2008-03-14 00:17:17 -06:00
parent acdbfeb728
commit 628e213a20
3 changed files with 16 additions and 12 deletions

View File

@ -21,7 +21,7 @@ IN: builder.benchmark
[ benchmark-difference ] with map ;
: benchmark-deltas ( -- table )
"../../benchmarks" "../benchmarks" [ eval-file ] 2apply
"../benchmarks" "benchmarks" [ eval-file ] 2apply
compare-tables
sort-values ;

View File

@ -4,6 +4,7 @@ USING: kernel namespaces sequences splitting system combinators continuations
bootstrap.image benchmark vars bake smtp builder.util accessors
io.encodings.utf8
calendar
tools.test
builder.common
builder.benchmark
builder.release ;
@ -131,7 +132,10 @@ SYMBOL: build-status
"Test time: " write "test-time" eval-file milli-seconds>time print nl
"Did not pass load-everything: " print "load-everything-vocabs" cat
"Did not pass test-all: " print "test-all-vocabs" cat
"test-all-vocabs" eval-file test-failures.
"help-lint results:" print "help-lint" cat
"Benchmarks: " print "benchmarks" eval-file benchmarks.

View File

@ -16,18 +16,18 @@ IN: builder.test
: do-load ( -- )
try-everything keys "../load-everything-vocabs" utf8 [ . ] with-file-writer ;
! : do-tests ( -- )
! run-all-tests keys "../test-all-vocabs" utf8 [ . ] with-file-writer ;
: do-tests ( -- )
run-all-tests
"../test-all-vocabs" utf8
[
[ keys . ]
[ test-failures. ]
bi
]
with-file-writer ;
run-all-tests keys "../test-all-vocabs" utf8 [ . ] with-file-writer ;
! : do-tests ( -- )
! run-all-tests
! "../test-all-vocabs" utf8
! [
! [ keys . ]
! [ test-failures. ]
! bi
! ]
! with-file-writer ;
: do-help-lint ( -- )
"" run-help-lint "../help-lint" utf8 [ typos. ] with-file-writer ;