diff options
author | bd <bdunahu@operationnull.com> | 2025-03-16 01:43:19 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-03-16 01:43:19 -0400 |
commit | c5a4fa662e17aa85d895cde4ae3869d8074312e2 (patch) | |
tree | 3337a945efa44b8829a3a073e6d85285d5ca8e5b /rva.asd | |
parent | c999b377b2ddd7dc51d0ae7ab639ebb0cf70f051 (diff) |
Added and configured fiveam test suite
Diffstat (limited to 'rva.asd')
-rw-r--r-- | rva.asd | 27 |
1 files changed, 22 insertions, 5 deletions
@@ -1,21 +1,38 @@ -(defsystem "rva" +#.(unless (or #+asdf3.1 (version<= "3.1" (asdf-version))) + (error "You need ASDF >= 3.1 to load this system correctly.")) + +(asdf:defsystem #:rva ;; :author "" ;; :license "" :version "0.1" :homepage "https://github.com/bdunahu/rva" + :description "Assembler for the RISC-V[ECTOR] mini-ISA." :source-control (:git "git@github.com:bdunahu/rva.git") :depends-on ("uiop") :components ((:module "src" - :serial t - :components ((:file "lex") - (:file "rva")))) + :serial t + :components ((:file "package") + (:file "lex") + (:file "main")))) :long-description #.(uiop:read-file-string (uiop:subpathname *load-pathname* "README.md")) :in-order-to ((test-op (test-op "rva/tests"))) :build-operation "program-op" :build-pathname "bin/rva" - :entry-point "rva::main") + :entry-point "rva:main") + +(asdf:defsystem #:rva/tests + ;; :author "" + ;; :license "" + :description "rva's test suite" + :depends-on (:rva + :fiveam) + :components ((:module "t" + :serial t + :components ((:file "package") + (:file "main")))) + :perform (test-op (o s) (uiop:symbol-call :rva-tests :test-rva))) (defmethod asdf:perform ((o asdf:image-op) (c asdf:system)) (uiop:dump-image (asdf:output-file o c) |