tools.deploy: add XML deploy test

db4
Slava Pestov 2011-01-29 00:07:22 -05:00
parent 6147460225
commit d93117c60d
3 changed files with 31 additions and 0 deletions

View File

@ -135,4 +135,11 @@ os macosx? [
[ ] [ "tools.deploy.test.19" shake-and-bake run-temp-image ] unit-test
[ ] [ "tools.deploy.test.20" shake-and-bake ] unit-test
[ "<?xml version=\"1.0\" encoding=\"UTF-8\"?><foo>Factor</foo>\n" ]
[ deploy-test-command ascii [ contents ] with-process-reader ] unit-test
[ ] [ 800000 small-enough? ] unit-test
[ ] [ "benchmark.ui-panes" shake-and-bake run-temp-image ] unit-test

View File

@ -0,0 +1,10 @@
USING: io xml.syntax xml.writer ;
IN: tools.deploy.test.20
: test-xml ( str -- str' )
<XML <foo><-></foo> XML> xml>string ;
: main ( -- )
"Factor" test-xml print ;
MAIN: main

View File

@ -0,0 +1,14 @@
USING: tools.deploy.config ;
H{
{ deploy-name "tools.deploy.test.20" }
{ deploy-ui? f }
{ deploy-c-types? f }
{ deploy-console? t }
{ deploy-unicode? f }
{ deploy-io 2 }
{ deploy-reflection 1 }
{ deploy-word-props? f }
{ deploy-math? f }
{ deploy-threads? f }
{ deploy-word-defs? f }
}