source: trunk/abcl/test/lisp/abcl/package.lisp @ 12141

Last change on this file since 12141 was 12141, checked in by Mark Evenson, 12 years ago

Added support for loading Lisp from JAR files.

Pathnames passed to LOAD may now specify loading from within JAR files
by using the 'jar:file:' uri schema:

(load "jar:file:///PATH/TO.jar!/foo")

would attempt to load Lisp "associated" with 'foo' in a JAR file
located '/PATH/TO.jar'. "Associated with" means that the the
following entries in the JAR are looked for:

1) 'foo._' (the initial FASL from compiling 'foo.lisp)
2) 'foo.abcl' (the packed FASL)
3) 'foo.lisp'

Associated tests have been included but currently only work under UNIX
due to the need to package up the FASLs for testing.

  • Property svn:eol-style set to native
File size: 672 bytes
Line 
1(defpackage #:abcl.test.lisp 
2  (:use #:cl #:abcl-rt)
3  (:nicknames "ABCL-TEST")
4  (:export #:run))
5(in-package #:abcl.test.lisp)
6
7(defvar *abcl-lisp-test-directory* 
8  (pathname (directory-namestring *load-truename*))
9  "The directory in which the ABCL test source files are located.")
10
11(defun run ()
12  "Run the Lisp test suite for ABCL."
13
14  (let ((*default-pathname-defaults* *abcl-lisp-test-directory*))
15    (rem-all-tests)
16
17    (load "test-utilities.lisp")
18
19    (load "compiler-tests.lisp")
20    (load "condition-tests.lisp")
21    (load "file-system-tests.lisp")
22    (load "java-tests.lisp")
23    (load "math-tests.lisp")
24    (load "misc-tests.lisp")
25
26    (do-tests)))
27
28 
Note: See TracBrowser for help on using the repository browser.