Commit 0d03a145 authored by pfdietz's avatar pfdietz
Browse files

Fixed up so that ecl tries to run all the tests without crashing.

parent 4fb17021
......@@ -1267,8 +1267,8 @@ the condition to go uncaught if it cannot be classified."
(defmacro defstruct* (&body args)
`(eval-when (load eval compile)
(defstruct ,@args))))
(handler-case (eval '(defstruct ,@args))
(serious-condition () nil))))
(defun sort-package-list (x)
......@@ -29,7 +29,7 @@
;;; Tests of packages
#-ecl (load "packages.lsp")
(load "packages.lsp")
;;; Tests of sequences
(load "load-sequences.lsp")
......@@ -3,4 +3,4 @@
(load "structure-00.lsp")
(load "structures-01.lsp")
(load "structures-02.lsp")
#-ecl (load "structures-03.lsp")
\ No newline at end of file
(load "structures-03.lsp")
\ No newline at end of file
......@@ -6,34 +6,40 @@
(in-package :cl-test)
(declaim (optimize (safety 3)))
(defpackage "A"
(defpackage "A"
(:nicknames "Q")
(:export "FOO"))
(:export "FOO")))
(defpackage "B"
(defpackage "B"
(:use "A")
(:export "BAR"))
(:export "BAR")))
(defpackage "DS1"
(defpackage "DS1"
(:intern "C" "D")
(:export "A" "B"))
(:export "A" "B")))
(defpackage "DS2"
(defpackage "DS2"
(:intern "E" "F")
(:export "G" "H" "A"))
(:export "G" "H" "A")))
(defpackage "DS3"
(defpackage "DS3"
(:shadow "B")
(:shadowing-import-from "DS1" "A")
(:use "DS1" "DS2")
(:export "A" "B" "G" "I" "J" "K")
(:intern "L" "M"))
(:intern "L" "M")))
(defpackage "DS4"
(defpackage "DS4"
(:shadowing-import-from "DS1" "B")
(:use "DS1" "DS3")
(:intern "X" "Y" "Z")
(:import-from "DS2" "F"))
(:import-from "DS2" "F")))
......@@ -21,6 +21,6 @@
(load "packages-14.lsp")
(load "packages-15.lsp")
(load "packages-16.lsp")
(load "packages-17.lsp")
(ignore-errors (load "packages-17.lsp"))
(load "packages-18.lsp")
(load "packages-19.lsp")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment