Commit 44d36ade authored by Eric Timmons's avatar Eric Timmons
Browse files

Add test case for issue 39

Issue 39 concerned failure to propagate serial dependencies when an :if-feature
option is not satisfied.
parent 0ac93efe
;;; This test example shows a failure in propagating serial dependencies across :if-feature
;;; conditionalization.
(asdf:defsystem test-serial-dependencies
:serial t
:components ((:file "file1")
(:file "file4" :if-feature :undef)
(:file "file3" :if-feature :undef)
;; we expect an error loading here, because file1 won't be loaded
(:file "file2")))
;;; -*- mode: common-lisp; -*-
(in-package :asdf-test)
(configure-asdf)
;;; According to Gitlab issue 39, this should cause an error. We can't use
;;; LOAD-SYSTEM because LOAD-OP is a downward operation. Therefore the plan
;;; will always have a LOAD-OP on every source file of the system (in serial
;;; order).
;;;
(asdf:operate 'asdf:load-op
(asdf:find-component (asdf:find-system "test-serial-dependencies")
(list "file2")))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment