abcl-asdf: fix problems with test suite's reliance on PROVE

Even though defining our tests ASDF subcomponents are where we wish to
eventually end up, currently there can be problems with referencing
testing dependencies that are inadvertently tickled by their mere
declaration.  To eliminate this possiblity, we move the test
definitions to their own file, which should work as long as these
definitions aren't referenced at runtime.
parent 3d234f3f
;;;; -*- Mode: LISP -*-
(in-package :cl-user)
(asdf:defsystem :abcl-asdf-tests
:author "Mark Evenson"
:description "<> asdf:defsystem <urn:abcl.org/release/1.5.0/contrib/abcl-asdf/test#1.6.0>"
:defsystem-depends-on (prove-asdf)
:depends-on (abcl-asdf ;; our dependencies
;; Actual testing framework
prove
log4j)
:components ((:module package :pathname "t/"
:components ((:file "package")))
(:module tests :pathname "t/" :serial t
:depends-on (package)
:components ((:test-file "log4j")
(:test-file "maven"))))
:perform (asdf:test-op (op c)
(uiop:symbol-call :prove-asdf 'run-test-system c)))
......@@ -18,22 +18,5 @@
(:file "maven-embedder"
:depends-on ("abcl-asdf" "asdf-jar")))
:depends-on (package)))
:in-order-to ((asdf:test-op (asdf:test-op abcl-asdf/test))))
(asdf:defsystem :abcl-asdf/test
:author "Mark Evenson"
:description "<> asdf:defsystem <urn:abcl.org/release/1.5.0/contrib/abcl-asdf/test#1.6.0>"
:defsystem-depends-on (prove-asdf)
:depends-on (abcl-asdf ;; our dependencies
;; Actual testing framework
prove
log4j)
:components ((:module package :pathname "t/"
:components ((:file "package")))
(:module tests :pathname "t/" :serial t
:depends-on (package)
:components ((:test-file "log4j")
(:test-file "maven"))))
:perform (asdf:test-op (op c)
(uiop:symbol-call :prove-asdf 'run-test-system c)))
:in-order-to ((asdf:test-op (asdf:test-op abcl-asdf-tests))))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment