-
Notifications
You must be signed in to change notification settings - Fork 0
/
rt-package.lsp
61 lines (58 loc) · 2 KB
/
rt-package.lsp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
;-*- Mode: Lisp -*-
;;;; Author: Paul Dietz
;;;; Created: Tue Dec 17 21:10:53 2002
;;;; Contains: Package definition for RT
;; (eval-when (:execute :compile-toplevel :load-toplevel)
#| (defpackage :regression-test
(:use :cl)
(:nicknames :rtest #-lispworks :rt)
(:export
#:*do-tests-when-defined*
#:*compile-tests*
#:*test*
#:continue-testing
#:deftest
#:do-test
#:do-tests
#:get-test
#:pending-tests
#:rem-all-tests
#:rem-test
#:defnote
#:my-aref
#:*catch-errors*
#:disable-note
))
|#
(let* ((name (symbol-name :regression-test))
(pkg (find-package name)))
(unless pkg (setq pkg (make-package name
:nicknames (mapcar #'symbol-name '(:rtest #-lispworks :rt))
:use '(#-wcl :cl #+wcl :lisp)
)))
(let ((*package* pkg))
(export (mapcar #'intern
(mapcar #'symbol-name
'(#:*compile-tests*
#:*do-tests-when-defined*
#:*test*
#:continue-testing
#:deftest
#:do-test
#:do-tests
#:do-extended-tests
#:get-test
#:pending-tests
#:rem-all-tests
#:rem-test
#:defnote
#:my-aref
#:*catch-errors*
#:*passed-tests*
#:*failed-tests*
#:disable-note
#:*expected-failures*
#:*unexpected-failures*
#:*unexpected-successes*))))))
;; )
;; (in-package :regression-test)