source: trunk/abcl/abcl.asd @ 11530

Last change on this file since 11530 was 11530, checked in by Mark Evenson, 13 years ago

'abcl.test' now invokes both Java and Lisp based tests.

First stab at a collected test infrastructure for ABCL using ASDF packaging.

Currently, only the GCL ANSI-TEST suite really works: create a sibling
directory to the 'abcl' top-level directory called 'ansi-tests' to get
them to run automagically.

File size: 1.0 KB
Line 
1;;; -*- Mode: LISP; Syntax: COMMON-LISP -*-
2;;; $Id$
3
4(require 'asdf)
5(defpackage :abcl-asdf
6  (:use :cl :asdf))
7(in-package :abcl-asdf)
8
9(defsystem :abcl
10  :documentation "Wrapper for all ABCL ASDF definitions."
11  :version "0.2.0")
12
13(defmethod perform :after ((o load-op) (c (eql (find-system 'abcl))))
14  (asdf:oos 'asdf:load-op :test-abcl))
15
16(defsystem :test-abcl
17  :documentation "A collection of test suites for ABCL."
18  :version "0.3"
19  :components
20     ((:module ansi-tests :pathname "test/lisp/ansi/"
21         :documentation "GCL ANSI test suite"
22         :components
23        ((:file "package")))))
24
25(defmethod perform ((o test-op) (c (eql (find-system 'abcl))))
26  "Invoke tests with:  (asdf:oos 'asdf:test-op :test-abcl)."
27  (funcall (intern (symbol-name 'run-ansi-tests)
28       :abcl.tests.ansi-tests)))
29
30;;; Works for: abcl, sbcl, clisp
31(defsystem :build-abcl
32  :documentation "Build ABCL from a Lisp."
33  :components
34     ((:module build :pathname ""  :components
35         ((:file "build-abcl")
36          (:file "customizations" :depends-on ("build-abcl"))))))
37
38
39
Note: See TracBrowser for help on using the repository browser.