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 ;; Typed-name tests run all retained Date/numeric/identity-dependent suites once.
15 (asdf:test-system "topic-maps/ctm/typed-name-tests")
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 (uiop:symbol-call :topic-maps.ctm.tests :date-checks)
30 (uiop:symbol-call :topic-maps.ctm.tests :datetime-checks)
31 (uiop:symbol-call :topic-maps.ctm.tests :timezone-checks)
32 (uiop:symbol-call :topic-maps.ctm.tests :typed-name-checks))
33 :scope "Slice 12A: explicit Topic Name types; 56 exact positive CXTM baselines, 8 specific rejections, 2 retained normative baseline FAILs; embedded Topics, scope, reification and Variants unsupported")
34 (uiop:symbol-call :topic-maps.ctm.tests :write-occurrence-report
35 (concatenate 'string report ".occurrences.json"))
36 (uiop:symbol-call :topic-maps.ctm.tests :write-prefix-report
37 (concatenate 'string report ".prefixes.json"))
38 (uiop:symbol-call :topic-maps.ctm.tests :write-integer-report
39 (concatenate 'string report ".integers.json"))
40 (uiop:symbol-call :topic-maps.ctm.tests :write-decimal-report
41 (concatenate 'string report ".decimals.json"))
42 (uiop:symbol-call :topic-maps.ctm.tests :write-date-report
43 (concatenate 'string report ".dates.json"))
44 (uiop:symbol-call :topic-maps.ctm.tests :write-datetime-report
45 (concatenate 'string report ".datetimes.json"))
46 (uiop:symbol-call :topic-maps.ctm.tests :write-timezone-report
47 (concatenate 'string report ".timezones.json"))
48 (uiop:symbol-call :topic-maps.ctm.tests :write-typed-name-report
49 (concatenate 'string report ".typed-names.json"))))