]> dreyeck.freedombox.rocks Git - topic-maps.git/blob - scripts/fresh-sbcl.lisp
feat(ctm): support decimal occurrences and canonical lexical output
[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 ;; Decimal tests run retained Integer, Prefix, Occurrence and CXTM suites once.
15 (asdf:test-system "topic-maps/ctm/decimal-tests")
16 (when report
17 (uiop:symbol-call :topic-maps.ctm.tests :write-slice-report
18 report (concatenate 'string report ".semantics.json"))
19 (uiop:symbol-call :topic-maps.ctm.tests :write-merging-report
20 (concatenate 'string report ".merging.json"))
21 (uiop:symbol-call :topic-maps.ctm.tests :write-association-report
22 (concatenate 'string report ".associations.json"))
23 (uiop:symbol-call :topic-maps.ctm.tests :write-cxtm-report
24 report (concatenate 'string report ".cxtm.json")
25 :additional-checks (append (uiop:symbol-call :topic-maps.ctm.tests :occurrence-checks)
26 (uiop:symbol-call :topic-maps.ctm.tests :prefix-checks)
27 (uiop:symbol-call :topic-maps.ctm.tests :integer-checks)
28 (uiop:symbol-call :topic-maps.ctm.tests :decimal-checks))
29 :scope "Slice 8: decimal Occurrences; 46 unchanged positive CXTM baselines; no Date/DateTime canonicalization")
30 (uiop:symbol-call :topic-maps.ctm.tests :write-occurrence-report
31 (concatenate 'string report ".occurrences.json"))
32 (uiop:symbol-call :topic-maps.ctm.tests :write-prefix-report
33 (concatenate 'string report ".prefixes.json"))
34 (uiop:symbol-call :topic-maps.ctm.tests :write-integer-report
35 (concatenate 'string report ".integers.json"))
36 (uiop:symbol-call :topic-maps.ctm.tests :write-decimal-report
37 (concatenate 'string report ".decimals.json"))))