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 ;; Scope tests run all retained Date/numeric/identity-dependent suites once.
15 (asdf:test-system "topic-maps/ctm/scope-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 (uiop:symbol-call :topic-maps.ctm.tests :scope-checks))
34 :scope "Slice 13: same-map Scope for Names, Occurrences and Associations; 59 exact positive CXTM baselines, 8 specific rejections, 2 retained normative baseline FAILs; embedded Topics, reification and Variants unsupported")
35 (uiop:symbol-call :topic-maps.ctm.tests :write-occurrence-report
36 (concatenate 'string report ".occurrences.json"))
37 (uiop:symbol-call :topic-maps.ctm.tests :write-prefix-report
38 (concatenate 'string report ".prefixes.json"))
39 (uiop:symbol-call :topic-maps.ctm.tests :write-integer-report
40 (concatenate 'string report ".integers.json"))
41 (uiop:symbol-call :topic-maps.ctm.tests :write-decimal-report
42 (concatenate 'string report ".decimals.json"))
43 (uiop:symbol-call :topic-maps.ctm.tests :write-date-report
44 (concatenate 'string report ".dates.json"))
45 (uiop:symbol-call :topic-maps.ctm.tests :write-datetime-report
46 (concatenate 'string report ".datetimes.json"))
47 (uiop:symbol-call :topic-maps.ctm.tests :write-timezone-report
48 (concatenate 'string report ".timezones.json"))
49 (uiop:symbol-call :topic-maps.ctm.tests :write-typed-name-report
50 (concatenate 'string report ".typed-names.json"))
51 (uiop:symbol-call :topic-maps.ctm.tests :write-scope-report
52 (concatenate 'string report ".scopes.json"))))