source: trunk/abcl/abcl.asd @ 11752

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

ABCL included Lisp tests now working from ASDF and Ant.

The following targets now work from Ant:

'test.ansi.compiled'
'test.ansi.intepreted'
'test.abcl.lisp'

invoking the GCL ANSI tests compiled, GCL ANSI tests interpreted, and the internal ABCL tests.

Packaged the internal ANSI Lisp test use of REGRESSION-TEST as
ABCL-REGRESSION-TEST (nickname abcl-rt) to avoid conflicting with
other test suites that use this.

  • Property svn:keywords set to Id
File size: 2.6 KB
Line 
1;;; -*- Mode: LISP; Syntax: COMMON-LISP -*-
2;;; $Id: abcl.asd 11605 2009-01-30 15:40:57Z mevenson $
3
4(require 'asdf)
5(defpackage :abcl-asdf
6  (:use :cl :asdf))
7(in-package :abcl-asdf)
8
9;;; Wrapper for all ABCL ASDF definitions.
10(defsystem :abcl :version "0.3.0")
11
12(defmethod perform :after ((o load-op) (c (eql (find-system 'abcl))))
13  ;;; Additional test suite loads would go here.
14  (asdf:oos 'asdf:load-op :test-abcl :force t))
15
16(defmethod perform ((o test-op) (c (eql (find-system 'abcl))))
17  ;;; Additional test suite invocations would go here.
18  (asdf:oos 'asdf:test-op :ansi-compiled :force t))
19
20;;; A collection of test suites for ABCL.
21(defsystem :test-abcl
22  :version "0.3"
23  :depends-on (:ansi-compiled #+nil :abcl-tests))
24
25(defmethod perform :after ((o load-op) (c (eql (find-system 'test-abcl))))
26  #+nil (asdf:oos 'asdf:test-op :cl-bench :force t)
27  (asdf:oos 'asdf:load-op :abcl-test-lisp :force t)
28  (asdf:oos 'asdf:load-op :ansi-compiled :force t)
29  (asdf:oos 'asdf:load-op :ansi-interpreted :force t))
30
31(defsystem :ansi-test :version "1.0" :components
32     ;;; GCL ANSI test suite.
33     ((:module ansi-tests :pathname "test/lisp/ansi/" :components
34         ((:file "package")))))
35
36(defsystem :ansi-interpreted :version "1.0" :depends-on (ansi-test))
37(defmethod perform ((o test-op) (c (eql (find-system 'ansi-interpreted))))
38   "Invoke tests with:  (asdf:oos 'asdf:test-op :ansi-interpreted :force t)."
39   ;;; FIXME needs ASDF:OOS to be invoked with :FORCE t
40  (funcall (intern (symbol-name 'run) :ansi.test.ansi)
41     :compile-tests nil))
42
43(defsystem :ansi-compiled :version "1.0" :depends-on (ansi-test))
44(defmethod perform ((o test-op) (c (eql (find-system 'ansi-compiled))))
45  "Invoke tests with:  (asdf:oos 'asdf:test-op :abcl-compiled :force t)."
46  (funcall (intern (symbol-name 'run) :abcl.test.ansi)
47     :compile-tests t))
48
49(defsystem :abcl-test-lisp :version "1.0" :components
50     ((:module abcl-rt :pathname "test/lisp/abcl/" :serial t :components
51         ((:file "rt-package") (:file "rt")))
52      (:module package  :depends (abcl-rt)
53         :pathname "test/lisp/abcl/" :components
54         ((:file "package")))))
55(defmethod perform ((o test-op) (c (eql (find-system 'abcl-test-lisp))))
56   "Invoke tests with:  (asdf:oos 'asdf:test-op :abcl-tests :force t)."
57   ;;; FIXME needs ASDF:OOS to be invoked with :FORCE t
58   (funcall (intern (symbol-name 'run) :abcl.test.lisp)))
59 
60;;; Build ABCL from a Lisp.
61;;; aka the "Lisp-hosted build system"
62;;; Works for: abcl, sbcl, clisp, cmu, lispworks, allegro, openmcl
63(defsystem :build-abcl :components
64     ((:module build :pathname ""  :components
65         ((:file "build-abcl")
66          (:file "customizations" :depends-on ("build-abcl"))))))
67
68
69
Note: See TracBrowser for help on using the repository browser.