]> dreyeck.freedombox.rocks Git - topic-maps.git/blob - scripts/fresh-sbcl.lisp
test(topic-maps): establish pinned CTM test foundation
[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 (when report
12 (uiop:symbol-call :topic-maps.test-foundation :write-validation-report
13 (uiop:symbol-call :topic-maps.test-foundation :discover-corpus)
14 report :infrastructure-checks
15 (symbol-value (find-symbol "*LAST-CHECKS*" :topic-maps.tests)))))