]> dreyeck.freedombox.rocks Git - topic-maps.git/blob - scripts/fresh-sbcl.lisp
feat(ctm): read associations and roles with merge-safe topic references
[topic-maps.git] / scripts / fresh-sbcl.lisp
1 (require :asdf)
2 ;; No Quicklisp/user registry, no HyperDoc systems, no persistent Lisp image.
3 (asdf:initialize-source-registry '(:source-registry :ignore-inherited-configuration))
4 (asdf:initialize-output-translations
5 '(:output-translations (t (:root "tmp" "topic-maps-fasls")) :ignore-inherited-configuration))
6 (let* ((root (uiop:pathname-parent-directory-pathname
7 (uiop:pathname-directory-pathname *load-truename*)))
8 (report (uiop:getenv "TOPIC_MAPS_REPORT")))
9 (asdf:load-asd (merge-pathnames "topic-maps.asd" root))
10 (asdf:test-system "topic-maps/tests")
11 (asdf:test-system "topic-maps/ctm/tests")
12 (asdf:test-system "topic-maps/ctm/merging-tests")
13 (asdf:test-system "topic-maps/ctm/association-tests")
14 (when report
15 (uiop:symbol-call :topic-maps.ctm.tests :write-slice-report
16 report (concatenate 'string report ".semantics.json"))
17 (uiop:symbol-call :topic-maps.ctm.tests :write-merging-report
18 (concatenate 'string report ".merging.json"))
19 (uiop:symbol-call :topic-maps.ctm.tests :write-association-report
20 (concatenate 'string report ".associations.json"))))