File: test2.script

package info (click to toggle)
cl-asdf 1.86-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 352 kB
  • ctags: 178
  • sloc: lisp: 1,193; sh: 83; makefile: 54
file content (19 lines) | stat: -rw-r--r-- 702 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
;;; -*- Lisp -*-
(load "../asdf")
(setf asdf:*central-registry* '(*default-pathname-defaults*))
;(trace asdf::perform)
;(trace asdf::find-component)
;(trace asdf::traverse)
(asdf:oos 'asdf:load-op 'test2b1)
(assert (and (probe-file (compile-file-pathname "file3"))
	     (probe-file (compile-file-pathname "file4"))))
(handler-case 
    (asdf:oos 'asdf:load-op 'test2b2)
  (asdf:missing-dependency (c)
    (format t "load failed as expected: - ~%~A~%" c))
  (:no-error (c) (error "should have failed, oops")))
(handler-case 
    (asdf:oos 'asdf:load-op 'test2b3)
  (asdf:missing-dependency (c)
    (format t "load failed as expected: - ~%~A~%" c))
  (:no-error (c) (error "should have failed, oops")))