Skip to content
Snippets Groups Projects
Commit 963ec39d authored by Kevin M. Rosenberg's avatar Kevin M. Rosenberg
Browse files

Use newer ASDF test-op functionality

parent 3746b777
No related branches found
No related tags found
No related merge requests found
;;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*-
;;;; *************************************************************************
;;;; FILE IDENTIFICATION
;;;;
;;;; Name: kmrcl-tests.asd
;;;; Purpose: ASDF system definitionf for kmrcl testing package
;;;; Author: Kevin M. Rosenberg
;;;; Date Started: Apr 2003
;;;;
;;;; $Id$
;;;; *************************************************************************
(defpackage #:kmrcl-tests-system
(:use #:asdf #:cl))
(in-package #:kmrcl-tests-system)
(defsystem kmrcl-tests
:depends-on (:rt :kmrcl)
:components
((:file "tests")))
(defmethod perform ((o test-op) (c (eql (find-system 'kmrcl-tests))))
(or (funcall (intern (symbol-name '#:do-tests)
(find-package '#:regression-test)))
(error "test-op failed")
t))
...@@ -58,10 +58,15 @@ ...@@ -58,10 +58,15 @@
(:file "os" :depends-on ("macros" "impl")) (:file "os" :depends-on ("macros" "impl"))
(:file "signals" :depends-on ("package")) (:file "signals" :depends-on ("package"))
(:file "btree" :depends-on ("macros")) (:file "btree" :depends-on ("macros"))
(:file "hash" :depends-on ("macros")) (:file "hash" :depends-on ("macros")))
)) :in-order-to ((test-op (test-op "kmrcl/test"))))
(defmethod perform ((o test-op) (c (eql (find-system 'kmrcl))))
(operate 'load-op 'kmrcl-tests)
(operate 'test-op 'kmrcl-tests :force t))
(defsystem kmrcl/test
:depends-on (:rt :kmrcl)
:components
((:file "tests"))
:perform (test-op (o s)
(or (funcall (intern (symbol-name '#:do-tests)
(find-package '#:regression-test)))
(error "test-op failed"))))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment