diff options
author | Robert Brown <robert.brown@gmail.com> | 2020-04-10 18:24:16 -0400 |
---|---|---|
committer | Robert Brown <robert.brown@gmail.com> | 2020-04-11 09:47:20 -0400 |
commit | 92d4d01240bc9195432c386b9415595b34a9079e (patch) | |
tree | f0003e135e54b2c74f94f34e017a79affce7a5d9 | |
parent | 385ec8d30f0cdaecd267512d43326e152ae17728 (diff) |
Rename the test ASDF system from swank-crew-test to swank-crew/test.
Move the test system ASDF specification into swank-crew.asd.
Rename file swank-crew_test.lisp to swank-crew-test.lisp.
Use SYMBOL-CALL instead of READ-FROM-STRING to run tests.
Add my email address to the ASDF system author info.
-rw-r--r-- | swank-crew-test.asd | 42 | ||||
-rw-r--r-- | swank-crew-test.lisp (renamed from swank-crew_test.lisp) | 0 | ||||
-rw-r--r-- | swank-crew.asd | 17 |
3 files changed, 15 insertions, 44 deletions
diff --git a/swank-crew-test.asd b/swank-crew-test.asd deleted file mode 100644 index a038454..0000000 --- a/swank-crew-test.asd +++ /dev/null @@ -1,42 +0,0 @@ -;;;; Copyright 2012 Google Inc. 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. -;;;; * Neither the name of Google Inc. nor the names of its -;;;; contributors may be used to endorse or promote products derived from -;;;; this software without specific prior written permission. - -;;;; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -;;;; "AS IS" AND ANY EXPRESS 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 COPYRIGHT -;;;; OWNER OR CONTRIBUTORS 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. - -;;;; Author: Robert Brown <robert.brown@gmail.com> - -(defsystem swank-crew-test - :name "Swank Crew test" - :description "Test code for package SWANK-CREW." - :version "1.4" - :author "Robert Brown" - :license "New BSD license. See the copyright messages in individual files." - :depends-on (swank-crew hu.dwim.stefil) - :components - ((:file "swank-crew_test"))) - -(defmethod perform ((operation test-op) (component (eql (find-system 'swank-crew-test)))) - (funcall (read-from-string "swank-crew-test:test-swank-crew"))) diff --git a/swank-crew_test.lisp b/swank-crew-test.lisp index 8b64ebb..8b64ebb 100644 --- a/swank-crew_test.lisp +++ b/swank-crew-test.lisp diff --git a/swank-crew.asd b/swank-crew.asd index d4e6cf4..5a900ec 100644 --- a/swank-crew.asd +++ b/swank-crew.asd @@ -36,13 +36,26 @@ applications. It uses Slime's Swank protocol to transport data between machines, making the debugging of distributed applications easier." :version "1.4" - :author "Robert Brown" + :author "Robert Brown <robert.brown@gmail.com>" :license "New BSD license. See the copyright messages in individual files." :depends-on (bordeaux-threads com.google.base swank-client) - :in-order-to ((test-op (test-op swank-crew-test))) + :in-order-to ((test-op (test-op swank-crew/test))) :components ((:file "package") (:file "master" :depends-on ("package")) (:file "worker" :depends-on ("package")))) + +(defsystem swank-crew/test + :name "Swank Crew test" + :description "Test code for package SWANK-CREW." + :version "1.4" + :author "Robert Brown <robert.brown@gmail.com>" + :license "New BSD license. See the copyright messages in individual files." + :depends-on (swank-crew hu.dwim.stefil) + :components + ((:file "swank-crew-test"))) + +(defmethod perform ((operation test-op) (component (eql (find-system 'swank-crew/test)))) + (symbol-call 'swank-crew-test 'test-swank-crew)) |