Permalink
Browse files

Add tests for SRFI-13 (adapted from Gauche) and update LICENSE

Add tests for SRFI-13 (adapted from Gauche)
Signed-off-by: Peter Bex <peter.bex@xs4all.nl>
(cherry picked from commit 56d2581)

Add tests/srfi-13-tests.scm to LICENSE, for completeness
(cherry picked from commit ac0a3d1)

Porting issues:
- Removed runtests.bat change (Windows tests not present).
- Added (import srfi-13) due to use of let-string-start+end macro;
  4.7.0 does not import automatically when (use) occurs at toplevel.
  • Loading branch information...
1 parent fe98f33 commit 2b4c7d6418422077e3785eba9a97048797fb14b7 @ursetto committed Jul 4, 2012
Showing with 723 additions and 0 deletions.
  1. +30 −0 LICENSE
  2. +3 −0 tests/runtests.sh
  3. +690 −0 tests/srfi-13-tests.scm
View
@@ -255,3 +255,33 @@ tests/r4rstest.scm:
Boston, MA 02111-1307, USA; or view
http://swissnet.ai.mit.edu/~jaffer/GPL.html
+tests/srfi-13-tests.scm:
+
+ Copyright (c) 2000-2003 Shiro Kawai, All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+ 2. 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.
+
+ 3. Neither the name of the authors 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.
View
@@ -229,6 +229,9 @@ $compile fixnum-tests.scm
echo "======================================== srfi-4 tests ..."
$interpret -s srfi-4-tests.scm
+echo "======================================== srfi-13 tests ..."
+$interpret -s srfi-13-tests.scm
+
echo "======================================== condition tests ..."
$interpret -s condition-tests.scm
Oops, something went wrong.

0 comments on commit 2b4c7d6

Please sign in to comment.