Newer
Older
;;; -*- Lisp -*-
(load "script-support")
Francois-Rene Rideau
committed
(load (compile-file-pathname "../asdf"))
Francois-Rene Rideau
committed
(quit-on-error
(setf asdf:*central-registry* '(*default-pathname-defaults*))
(asdf:operate 'asdf:load-op 'static-and-serial)
Francois-Rene Rideau
committed
(defvar file1-date (file-write-date (asdf:compile-file-pathname* "file1"))))
Francois-Rene Rideau
committed
(quit-on-error
;; cheat
(setf asdf::*defined-systems* (make-hash-table :test 'equal))
Francois-Rene Rideau
committed
;; date should stay same
(sleep 1)
(asdf:operate 'asdf:load-op 'static-and-serial)
Francois-Rene Rideau
committed
(assert (= (file-write-date (asdf:compile-file-pathname* "file1")) file1-date)))