Files
passepartout/opencortex.asd
Amr Gharbeia d4913261e2
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 3s
Add lisp-utils and emacs-edit tests to ASDF test system
- Created tests/lisp-utils-tests.lisp (20 tests)
- Created tests/emacs-edit-tests.lisp (6 tests)
- Updated opencortex.asd to include new test files

NOTE: Tests cannot run in this environment - needs running
SBCL with quicklisp. Need to run: (asdf:test-system :opencortex)
2026-04-23 07:46:32 -04:00

45 lines
2.6 KiB
Common Lisp

(defsystem :opencortex
:name "opencortex"
:author "Amr"
:version "0.1.0"
:license "AGPLv3"
:description "The Probabilistic-Deterministic Lisp Machine Harness"
:depends-on (:usocket :bordeaux-threads :dexador :uiop :cl-dotenv :cl-ppcre :hunchentoot :ironclad :str :cl-json :uuid)
:serial t
:components ((:file "library/package")
(:file "library/skills" :depends-on ("library/package"))
(:file "library/memory" :depends-on ("library/package"))
(:file "library/context" :depends-on ("library/package" "library/memory"))
(:file "library/communication" :depends-on ("library/package"))
(:file "library/communication-validator" :depends-on ("library/package" "library/communication"))
(:file "library/perceive" :depends-on ("library/package"))
(:file "library/reason" :depends-on ("library/package" "library/perceive"))
(:file "library/act" :depends-on ("library/package" "library/reason"))
(:file "library/loop" :depends-on ("library/package" "library/act")))
:build-operation "program-op"
:build-pathname "opencortex-server"
:entry-point "opencortex:main")
(defsystem :opencortex/tests
:depends-on (:opencortex :fiveam)
:components ((:file "tests/communication-tests")
(:file "tests/pipeline-tests")
(:file "tests/act-tests")
(:file "tests/boot-sequence-tests")
(:file "tests/memory-tests")
(:file "tests/immune-system-tests")
(:file "tests/lisp-utils-tests"))
:perform (test-op (o s)
(uiop:symbol-call :fiveam :run! (uiop:find-symbol* :communication-protocol-suite :opencortex-tests))
(uiop:symbol-call :fiveam :run! (uiop:find-symbol* :pipeline-suite :opencortex-pipeline-tests))
(uiop:symbol-call :fiveam :run! (uiop:find-symbol* :safety-suite :opencortex-safety-tests))
(uiop:symbol-call :fiveam :run! (uiop:find-symbol* :boot-suite :opencortex-boot-tests))
(uiop:symbol-call :fiveam :run! (uiop:find-symbol* :memory-suite :opencortex-memory-tests))
(uiop:symbol-call :fiveam :run! (uiop:find-symbol* :immune-suite :opencortex-immune-system-tests))
(uiop:symbol-call :fiveam :run! (uiop:find-symbol* :emacs-edit-suite :opencortex-emacs-edit-tests))
(uiop:symbol-call :fiveam :run! (uiop:find-symbol* :lisp-utils-suite :opencortex-lisp-utils-tests)))))
(defsystem :opencortex/tui
:depends-on (:opencortex :croatoan :usocket :bordeaux-threads)
:components ((:file "library/tui-client")))