]> dreyeck.freedombox.rocks Git - topic-maps.git/blob - reports/slice-22d/native-preflight.lisp
Implement XTM occurrence reification with native conformance evidence
[topic-maps.git] / reports / slice-22d / native-preflight.lisp
1 (require :asdf)
2 (assert (string= "2.5.4" (lisp-implementation-version)))
3 (setf *compile-verbose* nil *load-verbose* nil)
4 (asdf:load-asd (truename "topic-maps.asd"))
5 (asdf:load-system "topic-maps/xtm/tests")
6 (load "tests/xtm-resource-datatypes.lisp")
7 (in-package :topic-maps.xtm.tests)
8 (let* ((*checks* nil) (map (datatype-native-preflight)))
9 (assert (null *cases*))
10 (with-open-file (out (uiop:getenv "TOPIC_MAPS_NATIVE_PREFLIGHT_REPORT") :direction :output :if-exists :supersede :external-format :utf-8)
11 (topic-maps.test-foundation::emit-json-value
12 (topic-maps.test-foundation::fields "kind" "native-preflight-before-reader-change"
13 "runtime" (lisp-implementation-version) "checks" (coerce (reverse *checks*) 'vector)
14 "model" (variant-reifier-model-data map) "registeredCases" 0 "passed" :true) out)
15 (terpri out)))
16 (format t "DATATYPE-NATIVE-PREFLIGHT-PASS~%")