1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-10 15:50:50 +02:00
guile/test-suite/tests
Andy Wingo fb7dd00169 Deprecate general "uniform-vector" interface
* libguile/uniform.h:
* libguile/uniform.c (scm_is_uniform_vector, scm_uniform_vector_p)
  (scm_c_uniform_vector_length, scm_uniform_vector_length)
  (scm_uniform_vector_element_type, scm_uniform_vector_element_size)
  (scm_c_uniform_vector_ref, scm_uniform_vector_ref):
  (scm_c_uniform_vector_set_x, scm_uniform_vector_set_x):
  (scm_uniform_vector_to_list)
  (scm_uniform_vector_elements, scm_uniform_vector_writable_elements):
  Deprecate.  This interface lacked both generality and specificity.
  The general replacement is array-length, array-ref, and friends on the
  scheme side, or the array handle interface on the C side.  On the
  specific side of things, there are the specific bytevector, srfi-4,
  and bitvector interfaces.

* test-suite/tests/arrays.test:
* test-suite/tests/bitvectors.test:
* test-suite/tests/ports.test:
* test-suite/tests/srfi-4.test: Update to use array interfaces.

* doc/ref/api-foreign.texi (Void Pointers and Byte Access):
* doc/ref/srfi-modules.texi (SRFI-4): Update.
2014-02-08 14:28:07 +01:00
..
00-initial-env.test Add optimized tagged integer addition/subtractions for x86_64. 2010-11-19 13:34:43 +01:00
00-socket.test Deprecate htons, htonl, ntohs, ntohl 2014-02-08 14:28:07 +01:00
alist.test test-suite: eq-ness of numbers, characters is unspecified 2013-03-01 11:03:22 -05:00
and-let-star.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
arbiters.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
arrays.test Deprecate general "uniform-vector" interface 2014-02-08 14:28:07 +01:00
asm-to-bytecode.test Fix handling of the *-gnux32 target. 2013-02-28 09:42:45 +01:00
bit-operations.test fix bug in ash opcode 2010-03-31 22:29:29 +02:00
bitvectors.test Deprecate general "uniform-vector" interface 2014-02-08 14:28:07 +01:00
brainfuck.test move (test-suite lib) to lower dir; cleans up uninstalled paths. 2012-04-23 21:46:06 +02:00
bytevectors.test Improve handling of locales in the test suite. 2014-02-07 21:49:35 -05:00
c-api.test Rework c-api.test to use test lib 2012-01-04 08:02:05 -08:00
chars.test Change inappropriate uses of expect-fail X to pass-if not X in chars.test 2012-10-04 07:57:27 -04:00
coding.test Arrange so that 'file-encoding' does not truncate the encoding name. 2014-01-17 18:18:41 +01:00
common-list.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
compiler.test move (test-suite lib) to lower dir; cleans up uninstalled paths. 2012-04-23 21:46:06 +02:00
continuations.test with-continuation-barrier calls exit(3) _after_ unwinding 2011-03-30 12:43:50 +02:00
control.test vm: Gracefully handle stack overflows. 2013-12-05 22:19:01 +01:00
coverage.test tests: Don't rely on `scm_call_2' being visible. 2013-06-16 20:58:21 +02:00
cse.test cse: Fix out-of-bounds access to the database. 2012-11-21 23:51:16 +01:00
curried-definitions.test fix curried definitions for value defines 2010-04-08 21:01:52 +02:00
ecmascript.test ecmascript: Fix conversion to boolean for non-numbers. 2013-01-26 19:18:31 +01:00
elisp-compiler.test lexical function binding for elisp 2010-12-07 13:21:03 +01:00
elisp-reader.test use correct names for quasiquotation operators 2010-12-07 13:21:02 +01:00
elisp.test test-suite: eq-ness of numbers, characters is unspecified 2013-03-01 11:03:22 -05:00
encoding-escapes.test Change `scm_encoding_error' to pass the port and faulty character. 2011-02-02 18:06:29 +01:00
encoding-iso88591.test Improve handling of locales in the test suite. 2014-02-07 21:49:35 -05:00
encoding-iso88597.test Improve handling of locales in the test suite. 2014-02-07 21:49:35 -05:00
encoding-utf8.test Improve handling of locales in the test suite. 2014-02-07 21:49:35 -05:00
eval-string.test add ice-9 eval-string 2011-03-05 23:16:11 +01:00
eval.test eval: Store docstrings for lambdas. 2012-11-28 16:43:59 +01:00
exceptions.test Convert test-suite/tests/exceptions.test to use hygienic macros. 2013-11-22 22:53:51 -05:00
filesys.test tests: Remove symlink only when it exists. 2013-06-16 16:54:12 +02:00
fluids.test Fix later-bindings-win logic in with-fluids. 2013-02-28 18:43:09 -05:00
foreign.test dereference-pointer: check for null pointer. 2013-08-09 18:26:07 -04:00
format.test Improve handling of locales in the test suite. 2014-02-07 21:49:35 -05:00
fractions.test Fix incorrect rationalize tests. 2013-07-21 08:09:46 -04:00
ftw.test test-suite: Skip EACCES' test of file-system-fold' when run as root. 2012-12-10 23:41:06 +01:00
future.test futures: Limit the number of nested futures on the same stack. 2013-03-27 18:09:49 +01:00
gc.test tests: Add more `maybe-gc-flakiness'. 2013-03-22 22:24:27 +01:00
getopt-long.test Implement #:stop-at-first-non-option option for getopt-long 2011-05-26 17:58:18 +01:00
goops.test update tests after vtable-vtable deprecation 2012-07-28 13:03:04 +02:00
guardians.test Deprecate vector-ref, vector-length, vector-set! on weak vectors 2014-02-07 12:42:44 +01:00
hash.test Fix hashing of empty vectors. 2014-01-12 07:38:04 -05:00
hooks.test Enclose hooks tests in their own module. 2010-01-07 11:10:36 +01:00
i18n.test Broken Turkish UTF-8 locale still unresolved in FreeBSD 9.1. 2013-08-11 22:42:22 -04:00
iconv.test Change iconv procedures to take optional instead of keyword arg 2013-01-11 21:15:28 +01:00
import.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
interp.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
keywords.test Fix "coding:" cookies in the test suite. 2010-03-02 23:36:29 +01:00
list.test Improve error reporting in 'append!' 2012-10-06 06:04:29 -04:00
load.test primitive-load returns the value(s) of the last expression 2012-01-09 16:15:00 +01:00
match.test move (test-suite lib) to lower dir; cleans up uninstalled paths. 2012-04-23 21:46:06 +02:00
match.test.upstream Update (ice-9 match) from Chibi-Scheme. 2011-10-16 18:36:20 +02:00
modules.test test-suite: eq-ness of numbers, characters is unspecified 2013-03-01 11:03:22 -05:00
multilingual.nottest Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
net-db.test tests: Have `getaddrinfo' test work for Darwin 8. 2012-02-03 10:30:52 +01:00
numbers.test Fix 'exact-integer?' comment in numbers.test. 2014-01-12 07:47:00 -05:00
optargs.test Report the faulty keyword in errors raised by `scm_c_bind_keyword_arguments'. 2013-06-05 00:25:39 +02:00
options.test fix up options.test 2010-09-25 12:12:45 +02:00
pairs.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
parameters.test current-input-port et al are srfi-39 parameters 2011-12-10 21:37:19 +01:00
peval.test Fix inlining of tail list to apply. 2014-01-07 03:37:21 +00:00
poe.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
popen-child.scm Fix hanging of popen.test 2010-07-01 22:16:54 +01:00
popen.test build: Build and check (ice-9 popen) only when --enable-posix and HAVE_FORK. 2013-03-29 19:20:01 +01:00
ports.test Deprecate general "uniform-vector" interface 2014-02-08 14:28:07 +01:00
posix.test tests: Remove leftover `pk'. 2012-12-19 23:31:05 +01:00
print.test print: In R7RS |...| symbols, print most graphic characters unescaped. 2014-01-14 23:46:45 -05:00
procprop.test Fix erroneous check in `set-procedure-properties!'. 2012-01-05 22:52:36 +01:00
procs.test Add compose', negate', and `const'. 2010-12-16 23:45:23 +01:00
q.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
r4rs.test Placate a number of `syntax-check' verifications. 2012-01-05 23:38:10 +01:00
r5rs_pitfall.test Remove deprecation warnings from the build 2009-09-17 01:18:14 +01:00
r6rs-arithmetic-bitwise.test Optimize R6RS bitwise operators. 2013-07-21 10:00:48 -04:00
r6rs-arithmetic-fixnums.test Optimize R6RS bitwise operators. 2013-07-21 10:00:48 -04:00
r6rs-arithmetic-flonums.test Fix numerator and denominator handling of signed zeroes and infinities. 2013-08-09 06:09:56 -04:00
r6rs-base.test R6RS `string-for-each' should accept multiple string arguments 2012-11-22 22:26:16 +01:00
r6rs-conditions.test Some tweaks to the R6RS support 2010-11-25 23:04:12 +01:00
r6rs-control.test Implementation and test cases for the R6RS (rnrs control) library. 2010-05-20 21:18:02 -04:00
r6rs-enums.test Enumeration set universe comparisons should be done with `equal?' 2010-11-21 15:35:44 -05:00
r6rs-eval.test Fix typo in license comment. 2010-05-20 21:18:04 -04:00
r6rs-exceptions.test Convert guile exceptions to R6RS conditions in R6RS exception handlers. 2013-11-18 00:35:42 -05:00
r6rs-files.test Implementation and test cases for R6RS (rnrs files) library. 2010-05-20 21:18:03 -04:00
r6rs-hashtables.test Fix argument passing for external hash functions in `(rnrs hashtables)'. 2010-07-14 01:16:19 -04:00
r6rs-lists.test Fix R6RS `fold-left' so the accumulator is the first argument. 2011-11-01 01:11:46 +01:00
r6rs-ports.test Buffered custom binary input ports correctly handle partial read requests. 2014-01-21 23:39:53 +01:00
r6rs-records-inspection.test Implementation for the R6RS (rnrs hashtables) library; 2010-05-20 21:18:02 -04:00
r6rs-records-procedural.test Fix test suite title in comment 2010-05-20 21:18:03 -04:00
r6rs-records-syntactic.test Fix hygiene issues with `define-record-type' 2011-06-19 21:41:39 +02:00
r6rs-unicode.test Implementation and test cases for the R6RS (rnrs unicode) library. 2010-05-20 21:18:03 -04:00
ramap.test tests: Add `array-for-each' tests for one-dimensional traversals. 2013-04-03 21:46:27 +02:00
rdelim.test add read-string and read-string! to (ice-9 rdelim) 2013-01-22 15:15:43 +01:00
reader.test read: Support R7RS |...| symbol notation. 2014-01-14 20:23:21 -05:00
receive.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
records.test make-record-type slight refactor 2010-04-19 19:33:57 +02:00
regexp.test Improve handling of locales in the test suite. 2014-02-07 21:49:35 -05:00
rnrs-libraries.test R6RS srfi library names should ignore first identifier after the :n 2012-11-25 12:28:41 +00:00
rnrs-test-a.scm move (test-suite lib) to lower dir; cleans up uninstalled paths. 2012-04-23 21:46:06 +02:00
session.test More procedure-arguments-alist documentation and a bugfix 2013-01-07 22:02:26 +01:00
signals.test Add define-module to signals.test 2009-10-01 21:56:49 +01:00
sort.test Fix likely crash in `stable-sort!' 2011-06-09 22:11:02 +02:00
srcprop.test Add tests to verify that 'read' sets source properties when appropriate 2012-02-15 12:23:12 -05:00
srfi-1.test fix take-right and drop-right for improper lists 2011-08-12 23:26:15 +02:00
srfi-4.test Deprecate general "uniform-vector" interface 2014-02-08 14:28:07 +01:00
srfi-6.test Make SRFI-6 string ports Unicode-capable. 2012-06-20 15:50:27 +02:00
srfi-9.test Adapt srfi-9.test to error reporting improvements; update copyright dates. 2013-09-12 18:14:54 -04:00
srfi-10.test add quasisyntax 2009-11-14 17:25:12 +01:00
srfi-11.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
srfi-13.test Fix 'string-copy!' to work properly with overlapping src/dest. 2014-01-08 21:42:24 -05:00
srfi-14.test Improve handling of locales in the test suite. 2014-02-07 21:49:35 -05:00
srfi-17.test adapt tests to new syntax-error form 2010-11-18 11:04:15 +01:00
srfi-18.test srfi-18 test fix 2012-02-24 20:01:47 +01:00
srfi-19.test Improve handling of locales in the test suite. 2014-02-07 21:49:35 -05:00
srfi-26.test * tests/srfi-26.test: New. 2004-01-21 00:45:48 +00:00
srfi-27.test Add implementation of SRFI 27 2010-09-27 22:15:51 +02:00
srfi-31.test Rewrite SRFI-31 in terms of `syntax-rules'. 2012-09-11 23:39:32 +02:00
srfi-34.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
srfi-35.test test-suite: eq-ness of numbers, characters is unspecified 2013-03-01 11:03:22 -05:00
srfi-37.test SRFI-37: Fix infinite loop when processing short option with no required arg. 2013-03-25 23:25:57 +01:00
srfi-38.test Add implementation of SRFI 38 2010-11-03 00:19:54 +01:00
srfi-39.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
srfi-41.test Add SRFI-41. 2013-03-27 13:37:45 -04:00
srfi-42.test Remove stale test file. 2012-01-30 20:57:42 +01:00
srfi-43.test Implement SRFI-43 Vector Library. 2014-02-01 01:19:49 -05:00
srfi-45.test SRFI-45: add promise? predicate. 2013-03-26 21:22:11 -04:00
srfi-60.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
srfi-64-test.scm Implement SRFI-64 - A Scheme API for test suites. 2014-02-01 01:19:55 -05:00
srfi-64.test Implement SRFI-64 - A Scheme API for test suites. 2014-02-01 01:19:55 -05:00
srfi-67.test Placate a number of `syntax-check' verifications. 2012-01-05 23:38:10 +01:00
srfi-69.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
srfi-88.test Fix "coding:" cookies in the test suite. 2010-03-02 23:36:29 +01:00
srfi-98.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
srfi-105.test Minor tweaks to srfi-105.test 2012-10-29 19:37:56 -04:00
srfi-111.test Implement SRFI-111 Boxes. 2014-01-24 10:50:51 -05:00
statprof.test Have `statprof.test' fail gracefully when samples could not be collected. 2012-01-14 23:02:03 +01:00
streams.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
strings.test In string-split, add support for character sets and predicates. 2012-10-12 08:15:08 -04:00
structs.test Implement `hash' for structs. 2012-10-12 23:21:39 +02:00
sxml-match-tests.ss sxml-match: Handle multiple-value returns. 2010-05-26 23:41:23 +02:00
sxml.fold.test Remove `fold' from (sxml fold). 2010-04-09 00:32:14 +02:00
sxml.match.test move (test-suite lib) to lower dir; cleans up uninstalled paths. 2012-04-23 21:46:06 +02:00
sxml.simple.test add #:doctype-handler to xml->sxml 2013-01-30 15:29:18 +01:00
sxml.ssax.test update licenses on tests imported from guile-lib 2010-04-07 21:37:50 +02:00
sxml.transform.test update licenses on tests imported from guile-lib 2010-04-07 21:37:50 +02:00
sxml.xpath.test update licenses on tests imported from guile-lib 2010-04-07 21:37:50 +02:00
symbols.test symbols with odd characters print better in #{}# 2011-04-11 13:48:11 +02:00
syncase.test failing to load module in psyntax indicates an identifier is not macro 2013-03-13 10:04:47 +01:00
syntax.test Implement R7RS 'define-values'. 2014-02-02 03:28:23 -05:00
texinfo.docbook.test update licenses on tests imported from guile-lib 2010-04-07 21:37:50 +02:00
texinfo.serialize.test texinfo: Add whitespace after periods. 2013-03-22 22:05:23 +01:00
texinfo.string-utils.test texinfo: Add whitespace after periods. 2013-03-22 22:05:23 +01:00
texinfo.test test suite: Fix typo in `texinfo.test'. 2013-03-21 19:17:56 +01:00
threads.test futures: Limit the number of nested futures on the same stack. 2013-03-27 18:09:49 +01:00
time.test Modify socket and time functions for wide strings 2009-08-23 09:29:45 -07:00
tree-il.test Improve handling of locales in the test suite. 2014-02-07 21:49:35 -05:00
vectors.test add vector-move test cases 2011-02-14 20:21:04 +01:00
version.test Relax the `(version)' test. 2010-05-30 22:39:23 +02:00
vlist.test test-suite: eq-ness of numbers, characters is unspecified 2013-03-01 11:03:22 -05:00
weaks.test Deprecate vector-ref, vector-length, vector-set! on weak vectors 2014-02-07 12:42:44 +01:00
web-client.test Add http-post, http-put, et cetera 2013-01-11 15:40:00 +01:00
web-http.test Write out HTTP Basic auth headers correctly. 2014-01-21 16:11:04 -05:00
web-request.test fix web-request.test 2011-07-18 10:37:46 +02:00
web-response.test web: Don't throw if a response is longer than its Content-Length says. 2014-01-15 23:41:49 +01:00
web-uri.test web: uri-encode hexadecimal percent-encoding is now uppercase 2013-05-02 17:13:55 -04:00