2
(load "script-support.lisp")
6
(setf asdf:*central-registry* '(*default-pathname-defaults*))
7
(asdf:load-system 'test-builtin-source-file-type-1 :verbose t)
5
;;(trace source-file-type)
8
(format t "~D~%" (asdf:asdf-version))
10
(def-test-system test-builtin-source-file-type-1
11
:default-component-class cl-source-file.cl
13
:components ((:cl-source-file "file1") ; for the package
15
(load-system 'test-builtin-source-file-type-1 :verbose t)
8
16
(assert (symbol-value (read-from-string "test-package::*test-tmp-cl*")))
10
(equal (mapcar #'pathname-type
11
(mapcar #'asdf:component-pathname (asdf:module-components (asdf:find-system :test-source-file-type-1))))
18
(mapcar #'pathname-type
19
(mapcar #'asdf:component-pathname (asdf:module-components (asdf:find-system :test-source-file-type-1))))
13
21
(delete-package :test-package)
24
test-builtin-source-file-type-2
25
:default-component-class cl-source-file.cl
27
:components ((:file "file1" :type "lisp") ; for package
14
29
(asdf:load-system 'test-builtin-source-file-type-2 :verbose t)
15
30
(assert (symbol-value (read-from-string "test-package::*test-tmp-cl*")))
32
(def-test-system test-builtin-source-file-type-3
33
:default-component-class cl-source-file.lsp
35
:components ((:cl-source-file "file1") ; for the package
16
37
(asdf:load-system 'test-builtin-source-file-type-3 :verbose t)
17
38
(assert (symbol-value (read-from-string "test-package::*test-tmp-cl*")))
19
(equal (mapcar #'pathname-type
20
(mapcar #'asdf:component-pathname (asdf:module-components (asdf:find-system :test-source-file-type-1))))
40
(mapcar #'pathname-type
41
(mapcar #'asdf:component-pathname (asdf:module-components (asdf:find-system :test-source-file-type-1))))
22
43
(delete-package :test-package)
45
(def-test-system test-builtin-source-file-type-4
46
:default-component-class cl-source-file.lsp
48
:components ((:file "file1" :type "lisp") ; for package
23
50
(asdf:load-system 'test-builtin-source-file-type-4 :verbose t)
24
(assert (symbol-value (read-from-string "test-package::*test-tmp-cl*")))
51
(assert (symbol-value (read-from-string "test-package::*test-tmp-cl*"))))