File: test-static-and-serial.script

package info (click to toggle)
cl-asdf 1.111-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 428 kB
  • ctags: 189
  • sloc: lisp: 1,395; sh: 128; makefile: 41
file content (17 lines) | stat: -rw-r--r-- 498 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
;;; -*- Lisp -*-
(load "script-support")
(load "../asdf")
(exit-on-error 
 (setf asdf:*central-registry* '(*default-pathname-defaults*))

 (asdf:operate 'asdf:load-op 'static-and-serial)
 (defvar file1-date (file-write-date (compile-file-pathname "file1")))

 ;; cheat
 (setf asdf::*defined-systems* (make-hash-table :test 'equal))
  
 ;; date should stay same
 (sleep 1)
 (asdf:operate 'asdf:load-op 'static-and-serial)
 (assert (= (file-write-date (compile-file-pathname "file1")) file1-date))
 )