Newer
Older
Robert P. Goldman
committed
;;; -*- Lisp -*-
(load "script-support.lisp")
Robert P. Goldman
committed
(load-asdf)
Robert P. Goldman
committed
(setf asdf:*central-registry* '(*default-pathname-defaults*))
(DBG "loading test-samedir-modules")
Robert P. Goldman
committed
(asdf:operate 'asdf:load-op 'test-samedir-modules)
(let* ((file1 (asdf:compile-file-pathname* "file1"))
(file2 (asdf:compile-file-pathname* "file2"))
(file1-date (file-write-date file1)))
(DBG "test that it compiled" file1 file1-date)
Robert P. Goldman
committed
(assert file1-date)
(assert (file-write-date file2))
Robert P. Goldman
committed
(assert (symbol-value (find-symbol (symbol-name :*file1*) :test-package)))))