Newer
Older
Robert P. Goldman
committed
;;; -*- Lisp -*-
Robert P. Goldman
committed
;;;---------------------------------------------------------------------------
;;; This test verifies that if you have a system with a weakly-depends-on
;;; dependency, and the weakly-depended-on system is NOT THERE, the depending
;;; system will still load successfully. [2011/12/14:rpg]
;;;---------------------------------------------------------------------------
Robert P. Goldman
committed
(load "script-support.lisp")
(load-asdf)
Robert P. Goldman
committed
(setf asdf:*central-registry* '(*default-pathname-defaults*))
Robert P. Goldman
committed
(asdf:load-system 'test-weakly-depends-on-unpresent)
Robert P. Goldman
committed
;; test that it compiled
(let* ((file1 (asdf:compile-file-pathname* "file1"))
(file1-date (file-write-date file1)))
(format t "~&test1 1: ~S ~S~%" file1 file1-date)
(assert file1-date)
;; and loaded
(assert (symbol-value (find-symbol (symbol-name :*file1*) :test-package)))))