Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asdf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hugo Ishimaru
asdf
Commits
6ca6db5d
Commit
6ca6db5d
authored
14 years ago
by
Robert P. Goldman
Browse files
Options
Downloads
Patches
Plain Diff
New test for modules that put their files in the top-level directory of the system.
parent
6a89cbc0
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/test-samedir-modules.asd
+13
-0
13 additions, 0 deletions
test/test-samedir-modules.asd
test/test-samedir-modules.script
+19
-0
19 additions, 0 deletions
test/test-samedir-modules.script
with
32 additions
and
0 deletions
test/test-samedir-modules.asd
0 → 100644
+
13
−
0
View file @
6ca6db5d
;;; -*- Lisp -*-
(
asdf:defsystem
test-samedir-modules
:components
((
:module
"here"
:components
(
(
:file
"file2"
:in-order-to
((
compile-op
(
load-op
"file1"
))))
(
:file
"file1"
))
:pathname
""
)))
#|
from clean, check that all fasl files build and that some function
defined in the second file is present
|#
This diff is collapsed.
Click to expand it.
test/test-samedir-modules.script
0 → 100644
+
19
−
0
View file @
6ca6db5d
;;; -*- Lisp -*-
(load "script-support")
(load-asdf)
(quit-on-error
(setf asdf:*central-registry* '(*default-pathname-defaults*))
(asdf:operate 'asdf:load-op 'test-samedir-modules)
;; test that it compiled
(let* ((file1 (asdf:compile-file-pathname* "file1"))
(file2 (asdf:compile-file-pathname* "file2"))
(file1-date (file-write-date file1)))
(format t "~&test samedir modules 1: ~S ~S~%" file1 file1-date)
(assert file1-date)
(assert (file-write-date file2))
;; and loaded
(assert (symbol-value (find-symbol (symbol-name :*file1*) :test-package)))))
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment