tools.deploy: add XML deploy test
parent
6147460225
commit
d93117c60d
|
@ -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
|
||||
|
|
|
@ -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
|
|
@ -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 }
|
||||
}
|
Loading…
Reference in New Issue