test-compile-file-failure.script 465 Bytes
Newer Older
1
;;; -*- Lisp -*-
2

3
(in-package :asdf)
4

5
6
7
8
9
10
11
12
13
14
15
16
#-gcl<2.7
(assert (handler-case
            (let ((*compile-file-failure-behaviour* :warn))
              (load-system 'test-compile-file-failure :force t)
              t)
          (compile-file-error () nil)))
#-gcl<2.7
(assert (handler-case
            (let ((*compile-file-failure-behaviour* :error))
              (load-system 'test-compile-file-failure :force t)
              nil)
          (compile-file-error () t)))