Merge branch 'master' of git://factorcode.org/git/factor
commit
420c78d1d1
|
@ -132,6 +132,7 @@ SYMBOL: build-status
|
||||||
|
|
||||||
"Did not pass load-everything: " print "load-everything-vocabs" cat
|
"Did not pass load-everything: " print "load-everything-vocabs" cat
|
||||||
"Did not pass test-all: " print "test-all-vocabs" cat
|
"Did not pass test-all: " print "test-all-vocabs" cat
|
||||||
|
"help-lint results:" print "help-lint" cat
|
||||||
|
|
||||||
"Benchmarks: " print "benchmarks" eval-file benchmarks.
|
"Benchmarks: " print "benchmarks" eval-file benchmarks.
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,8 @@ USING: kernel namespaces sequences assocs builder continuations
|
||||||
tools.browser
|
tools.browser
|
||||||
tools.test
|
tools.test
|
||||||
io.encodings.utf8
|
io.encodings.utf8
|
||||||
|
combinators.cleave
|
||||||
|
help.lint
|
||||||
bootstrap.stage2 benchmark builder.util ;
|
bootstrap.stage2 benchmark builder.util ;
|
||||||
|
|
||||||
IN: builder.test
|
IN: builder.test
|
||||||
|
@ -14,8 +16,21 @@ IN: builder.test
|
||||||
: do-load ( -- )
|
: do-load ( -- )
|
||||||
try-everything keys "../load-everything-vocabs" utf8 [ . ] with-file-writer ;
|
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 ( -- )
|
: do-tests ( -- )
|
||||||
run-all-tests keys "../test-all-vocabs" utf8 [ . ] with-file-writer ;
|
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 ;
|
||||||
|
|
||||||
: do-benchmarks ( -- )
|
: do-benchmarks ( -- )
|
||||||
run-benchmarks "../benchmarks" utf8 [ . ] with-file-writer ;
|
run-benchmarks "../benchmarks" utf8 [ . ] with-file-writer ;
|
||||||
|
@ -24,6 +39,7 @@ IN: builder.test
|
||||||
bootstrap-time get "../boot-time" utf8 [ . ] with-file-writer
|
bootstrap-time get "../boot-time" utf8 [ . ] with-file-writer
|
||||||
[ do-load ] runtime "../load-time" utf8 [ . ] with-file-writer
|
[ do-load ] runtime "../load-time" utf8 [ . ] with-file-writer
|
||||||
[ do-tests ] runtime "../test-time" utf8 [ . ] with-file-writer
|
[ do-tests ] runtime "../test-time" utf8 [ . ] with-file-writer
|
||||||
|
do-help-lint
|
||||||
do-benchmarks ;
|
do-benchmarks ;
|
||||||
|
|
||||||
MAIN: do-all
|
MAIN: do-all
|
|
@ -100,7 +100,7 @@ ARTICLE: "logging.rotation" "Log rotation"
|
||||||
"The " { $vocab-link "logging.insomniac" } " vocabulary automates log rotation." ;
|
"The " { $vocab-link "logging.insomniac" } " vocabulary automates log rotation." ;
|
||||||
|
|
||||||
ARTICLE: "logging.server" "Log implementation"
|
ARTICLE: "logging.server" "Log implementation"
|
||||||
"The " { $vocab-link "logging.server" } " vocabulary implements a concurrent log server using " { $vocab-link "concurrency" } ". User code never interacts with the server directly, instead ot uses the words in the " { $link "logging" } " vocabulary. The server is used to synchronize access to log files and ensure that log rotation can proceed in an orderly fashion."
|
"The " { $vocab-link "logging.server" } " vocabulary implements a concurrent log server using " { $vocab-link "concurrency" } ". User code never interacts with the server directly, instead it uses the words in the " { $link "logging" } " vocabulary. The server is used to synchronize access to log files and ensure that log rotation can proceed in an orderly fashion."
|
||||||
$nl
|
$nl
|
||||||
"The " { $link log-message } " word sends a message to the server which results in the server executing an internal word:"
|
"The " { $link log-message } " word sends a message to the server which results in the server executing an internal word:"
|
||||||
{ $subsection (log-message) }
|
{ $subsection (log-message) }
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
USING: oracle oracle.liboci prettyprint tools.test ;
|
USING: oracle oracle.liboci prettyprint tools.test
|
||||||
|
kernel ;
|
||||||
|
|
||||||
[
|
[
|
||||||
"testuser" "testpassword" "//localhost/test1" log-on .
|
"testuser" "testpassword" "//localhost/test1" log-on .
|
||||||
|
|
Loading…
Reference in New Issue