Fix report generation
test-modules/online.scm
235 | 235 | (name (assoc-ref test "name")) | |
236 | 236 | (@id (assoc-ref test "@id")) | |
237 | 237 | (name (string-append @id ": " name)) | |
238 | + | (context (string-join | |
239 | + | (reverse (cdr (reverse (string-split url #\.)))) | |
240 | + | ".")) | |
238 | 241 | (description (or (assoc-ref test "purpose") name)) | |
239 | 242 | (description (string-append @id ": " description))) | |
240 | 243 | (cons (+ 1 num) | |
241 | - | (cons (make-test-case (string-append url @id) | |
244 | + | (cons (make-test-case (string-append context @id) | |
242 | 245 | num name description test #f #f) | |
243 | 246 | result)))) | |
244 | 247 | `(,num . ()) |
test-modules/result.scm
114 | 114 | (format port " <https://www.w3.org/TR/json-ld11-api/>;~%") | |
115 | 115 | (format port " doap:license <https://www.gnu.org/licenses/gpl-3.0.html>;~%") | |
116 | 116 | (format port " doap:name \"guile-jsonld\"^^xsd:string;~%") | |
117 | - | (format port " doap:platform \"GNU Guile\"^^xsd:string;~%") | |
117 | + | (format port " doap:programming-language \"GNU Guile\"^^xsd:string;~%") | |
118 | 118 | (format port " doap:shortdesc \"JSON-LD support for GNU Guile.\"@en;~%") | |
119 | 119 | (format port " doap:release [~%") | |
120 | 120 | (format port " doap:name \"guile-jsonld-1.0-pre1\";~%") | |
… | |||
147 | 147 | ('fail "failed") | |
148 | 148 | ('xpass "cantTell") | |
149 | 149 | ('xfail "untested"))) | |
150 | - | (format port " dc:date \"~a\"^^xsd:dateTime~%" | |
150 | + | (format port " dc:date \"~a\"^^xsd:dateTime ] ;~%" | |
151 | 151 | (date->string (current-date) "~4")) | |
152 | 152 | (format port " earl:mode earl:automatic ] .~%") | |
153 | 153 | (format port "~%") |