diff options
Diffstat (limited to 'cl-ppcre.asd')
-rw-r--r-- | cl-ppcre.asd | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/cl-ppcre.asd b/cl-ppcre.asd index 433ad49..a456ad0 100644 --- a/cl-ppcre.asd +++ b/cl-ppcre.asd @@ -29,13 +29,6 @@ ;;; NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS ;;; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -(in-package :cl-user) - -(defpackage :cl-ppcre-asd - (:use :cl :asdf)) - -(in-package :cl-ppcre-asd) - (defsystem :cl-ppcre :version "2.1.1" :description "Perl-compatible regular expression library" @@ -67,9 +60,10 @@ (:file "repetition-closures") #-:use-acl-regexp2-engine (:file "scanner") - (:file "api"))) + (:file "api")) + :in-order-to ((test-op (test-op :cl-ppcre/test)))) -(defsystem :cl-ppcre-test +(defsystem :cl-ppcre/test :description "Perl-compatible regular expression library tests" :author "Dr. Edi Weitz" :license "BSD" @@ -78,8 +72,7 @@ :serial t :components ((:file "packages") (:file "tests") - (:file "perl-tests"))))) - -(defmethod perform ((o test-op) (c (eql (find-system :cl-ppcre)))) - (operate 'load-op :cl-ppcre-test) - (funcall (intern (symbol-name :run-all-tests) (find-package :cl-ppcre-test)))) + (:file "perl-tests")))) + :perform (test-op (o c) + (funcall (intern (symbol-name :run-all-tests) + (find-package :cl-ppcre-test))))) |