+
+(asdf:defsystem "topic-maps/ctm/variant-tests"
+ :description "Variants, proper scope supersets, canonical handles and four original contracts"
+ :depends-on ("topic-maps/ctm/scope-tests") :serial t
+ :components ((:file "tests/ctm-variants"))
+ :perform (asdf:test-op (operation component)
+ (declare (ignore operation component))
+ (uiop:symbol-call :topic-maps.variant.tests :run-tests)))
+
+(asdf:defsystem "topic-maps/ctm/reference-tests"
+ :description "Wildcard environment, recursive Embedded Topics and canonical Topic references"
+ :depends-on ("topic-maps/ctm/variant-tests") :serial t
+ :components ((:file "tests/ctm-references"))
+ :perform (asdf:test-op (operation component)
+ (declare (ignore operation component))
+ (uiop:symbol-call :topic-maps.reference.tests :run-tests)))
+
+(asdf:defsystem "topic-maps/tmdm/identifier-tests"
+ :description "General Item Identifiers, global uniqueness, merges and manual XTM2 baseline comparisons"
+ :depends-on ("topic-maps/ctm/reference-tests") :serial t
+ :components ((:file "tests/item-identifiers"))
+ :perform (asdf:test-op (operation component)
+ (declare (ignore operation component))
+ (uiop:symbol-call :topic-maps.identifier.tests :run-tests)))
+
+(asdf:defsystem "topic-maps/tmdm/reification-tests"
+ :description "Same-map Reification, canonical references, atomic cascades and original CTM contracts"
+ :depends-on ("topic-maps/tmdm/identifier-tests") :serial t
+ :components ((:file "tests/reification"))
+ :perform (asdf:test-op (operation component)
+ (declare (ignore operation component))
+ (uiop:symbol-call :topic-maps.reification.tests :run-tests)))
+
+(asdf:defsystem "topic-maps/ctm/association-arity-tests"
+ :description "Unbounded CTM Role declarations, canonical merges and original CXTM contract"
+ :depends-on ("topic-maps/tmdm/reification-tests") :serial t
+ :components ((:file "tests/ctm-association-arity"))
+ :perform (asdf:test-op (operation component)
+ (declare (ignore operation component))
+ (uiop:symbol-call :topic-maps.arity.tests :run-tests)))
+
+(asdf:defsystem "topic-maps/ctm/type-relationship-tests"
+ :description "CTM isa/ako, Core Subject consistency and atomic identity cascades"
+ :depends-on ("topic-maps/ctm/association-arity-tests") :serial t
+ :components ((:file "tests/ctm-type-relationships"))
+ :perform (asdf:test-op (operation component)
+ (declare (ignore operation component))
+ (uiop:symbol-call :topic-maps.relationship.tests :run-tests)))
+
+(asdf:defsystem "topic-maps/ctm/template-tests"
+ :description "CTM Templates, contextual argument binding and original conformance contracts"
+ :depends-on ("topic-maps/ctm/type-relationship-tests") :serial t
+ :components ((:file "tests/ctm-templates"))
+ :perform (asdf:test-op (operation component)
+ (declare (ignore operation component))
+ (uiop:symbol-call :topic-maps.template.tests :run-tests)))
+
+(asdf:defsystem "topic-maps/tmdm/import-tests"
+ :description "Source-preserving Map content import, identity cascades and atomic conflicts"
+ :depends-on ("topic-maps/ctm/template-tests") :serial t
+ :components ((:file "tests/map-import"))
+ :perform (asdf:test-op (operation component)
+ (declare (ignore operation component))
+ (uiop:symbol-call :topic-maps.import.tests :run-tests)))
+
+(asdf:defsystem "topic-maps/ctm/mergemap-tests"
+ :description "Explicit resource resolver, CTM Mergemap isolation and original contracts"
+ :depends-on ("topic-maps/tmdm/import-tests") :serial t
+ :components ((:file "tests/ctm-mergemap"))
+ :perform (asdf:test-op (operation component)
+ (declare (ignore operation component))
+ (uiop:symbol-call :topic-maps.mergemap.tests :run-tests)))
+
+(asdf:defsystem "topic-maps/ctm/include-tests"
+ :description "CTM Include, source-preserving Template transport and explicit original baseline discrepancies"
+ :depends-on ("topic-maps/ctm/mergemap-tests") :serial t
+ :components ((:file "tests/ctm-include"))
+ :perform (asdf:test-op (operation component)
+ (declare (ignore operation component))
+ (uiop:symbol-call :topic-maps.include.tests :run-tests)))