From a0050b7506767a397e0ecdea58ad9686ec83cd56 Mon Sep 17 00:00:00 2001 From: Kambiz Darabi Date: Mon, 29 Jan 2018 17:28:27 +0100 Subject: [PATCH] Separate flexi-streams-test.asd to satisfy ASDF 3.3 ASDF 3 expects secondary systems to use a slash in their system name, e.g. foo.asd should only contain a system named 'foo' and additional ones called 'foo/test', 'foo/api' etc. [1] This change extracts the system flexi-streams-test to have its own .asd file. [1] https://common-lisp.net/project/asdf/asdf/Components.html#Components --- flexi-streams-test.asd | 41 +++++++++++++++++++++++++++++++++++++++++ flexi-streams.asd | 7 ------- 2 files changed, 41 insertions(+), 7 deletions(-) create mode 100644 flexi-streams-test.asd diff --git a/flexi-streams-test.asd b/flexi-streams-test.asd new file mode 100644 index 0000000..6f820f5 --- /dev/null +++ b/flexi-streams-test.asd @@ -0,0 +1,41 @@ +;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*- + +;;; Copyright (c) 2005-2008, Dr. Edmund Weitz. All rights reserved. + +;;; Redistribution and use in source and binary forms, with or without +;;; modification, are permitted provided that the following conditions +;;; are met: + +;;; * Redistributions of source code must retain the above copyright +;;; notice, this list of conditions and the following disclaimer. + +;;; * Redistributions in binary form must reproduce the above +;;; copyright notice, this list of conditions and the following +;;; disclaimer in the documentation and/or other materials +;;; provided with the distribution. + +;;; THIS SOFTWARE IS PROVIDED BY THE AUTHOR 'AS IS' AND ANY EXPRESSED +;;; OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +;;; WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +;;; ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY +;;; DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +;;; DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +;;; GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +;;; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +;;; WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +;;; NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +;;; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +(in-package :cl-user) + +(defpackage :flexi-streams-system + (:use :asdf :cl)) + +(in-package :flexi-streams-system) + +(defsystem :flexi-streams-test + :components ((:module "test" + :serial t + :components ((:file "packages") + (:file "test")))) + :depends-on (:flexi-streams)) diff --git a/flexi-streams.asd b/flexi-streams.asd index dc577ba..dbdb867 100644 --- a/flexi-streams.asd +++ b/flexi-streams.asd @@ -66,13 +66,6 @@ (:file "strings")) :depends-on (:trivial-gray-streams)) -(defsystem :flexi-streams-test - :components ((:module "test" - :serial t - :components ((:file "packages") - (:file "test")))) - :depends-on (:flexi-streams)) - (defmethod perform ((o test-op) (c (eql (find-system 'flexi-streams)))) (operate 'load-op 'flexi-streams-test) (funcall (intern (symbol-name :run-all-tests)