Merge branch 'master' of git://factorcode.org/git/factor

db4
Doug Coleman 2009-11-20 22:16:46 -06:00
commit 57ed581f22
2 changed files with 10 additions and 3 deletions
basis/tools/deploy/test/17
extra/mason/report

View File

@ -11,7 +11,7 @@ person "PEOPLE" {
{ "occupation" "OCCUPATION" { VARCHAR 256 } +not-null+ }
} define-persistent
: db-deploy-test ( -- ) ;
: db-deploy-test ( -- )
"test.db" temp-file <sqlite-db> [
person recreate-table

View File

@ -86,9 +86,16 @@ IN: mason.report
: benchmarks-table ( assoc -- xml )
[
1000000 /f
1,000,000,000 /f
[XML <tr><td><-></td><td><-></td></tr> XML]
] { } assoc>map [XML <h2>Benchmarks</h2> <table><-></table> XML] ;
] { } assoc>map
[XML
<h2>Benchmarks</h2>
<table>
<tr><th>Benchmark</th><th>Time (seconds)</th></tr>
<->
</table>
XML] ;
: successful-report ( -- )
[