1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 04:10:18 +02:00
guile/test-suite/tests
Ludovic Courtès 8ac870dee4 Implement `hash' for structs.
* libguile/hash.c (scm_hasher): Call `scm_i_struct_hash' upon
  `scm_tcs_struct'.
* libguile/struct.c (scm_i_struct_hash): New function.
* libguile/struct.h (scm_i_struct_hash): New declaration.

* test-suite/tests/structs.test ("hash"): New test prefix.
2012-10-12 23:21:39 +02:00
..
00-initial-env.test Add optimized tagged integer addition/subtractions for x86_64. 2010-11-19 13:34:43 +01:00
alist.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01: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 fix generalized-vector-{ref,set!} for slices 2011-12-22 17:03:04 -05:00
asm-to-bytecode.test move (test-suite lib) to lower dir; cleans up uninstalled paths. 2012-04-23 21:46:06 +02:00
bit-operations.test fix bug in ash opcode 2010-03-31 22:29:29 +02:00
bitvectors.test fix bit-set*! bug (!) 2011-11-10 22:30:02 +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 bytevectors: Fix IEEE-754 endianness conversion. 2012-04-22 20:39:33 +02: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 fix problems detecting coding: in block comments 2011-03-31 14:46:21 +02: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 add reset and shift 2011-04-28 15:48:28 +02:00
coverage.test coverage: Add test for applicable structs. 2012-05-31 00:50:36 +02:00
cse.test fix bugs in effects analysis of "effect+exception-free-primitives" 2012-07-05 20:34:28 +02:00
curried-definitions.test fix curried definitions for value defines 2010-04-08 21:01:52 +02:00
ecmascript.test Add ECMAScript parser tests. 2011-01-26 23:47: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 elisp.test cleanups 2010-04-09 22:33:46 +02: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 Re-introduce pretty-printing of combining characters. 2010-09-15 01:02:54 +02:00
encoding-iso88597.test Use encoding-error' instead of misc-error' for string encoding errors. 2010-01-07 11:10:35 +01:00
encoding-utf8.test Re-introduce pretty-printing of combining characters. 2010-09-15 01:02:54 +02:00
eval-string.test add ice-9 eval-string 2011-03-05 23:16:11 +01:00
eval.test Fix primitive-eval to return #<unspecified> for definitions 2012-01-30 10:27:23 -05:00
exceptions.test deprecate lazy-catch 2010-02-26 11:56:02 +01:00
filesys.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
fluids.test fix unbound fluid tests 2010-12-17 13:53:29 +01:00
foreign.test Make `substitute' conversion strategy test portable. 2012-05-31 15:56:06 +02:00
format.test format: Add specifier ~h for localized number output. 2012-02-03 16:35:06 +01:00
fractions.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01:00
ftw.test scandir: select? takes basenames, operates on (sub)dirs also 2012-06-22 12:33:20 +02:00
future.test futures: Support multiple-value returns. 2010-12-16 23:45:24 +01:00
gc.test move (test-suite lib) to lower dir; cleans up uninstalled paths. 2012-04-23 21:46:06 +02: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 Merge branch 'master' into boehm-demers-weiser-gc 2009-08-18 00:06:45 +02:00
hash.test Adjust tests that relied on the output of the hash table printer. 2012-01-23 00:44:29 +01:00
hooks.test Enclose hooks tests in their own module. 2010-01-07 11:10:36 +01:00
i18n.test i18n: Skips ~h `format' tests when digit grouping info is missing. 2012-02-04 23:38:47 +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 fix invocation of duplicate handlers for merge-generics 2011-07-07 13:02:45 +02: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 Revert "Add tests for 'exp' and 'expt' that should produce complex NaNs" 2012-08-07 18:14:32 -04:00
optargs.test fix self-tail-calls for lexical procs with optional, rest, or kwargs 2010-12-10 16:07:58 +01: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 simplify one kind of degenerate prompt 2012-07-05 20:39:16 +02: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 Portability fixes for popen.test (for when /bin/sh is not bash) 2011-03-02 14:12:53 -05:00
ports.test Fix possible deadlock upon encoding-error' in open-input-string'. 2012-06-20 22:56:11 +02:00
posix.test Move {total,current}-processor-count' outside of posix.c'. 2011-04-25 22:41:58 +02:00
print.test Improve handling of read macros in `pretty-print'. 2010-11-05 01:39:26 +01: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 Implementation and test cases for the R6RS (rnrs arithmetic bitwise) 2010-05-20 21:18:02 -04:00
r6rs-arithmetic-fixnums.test Add two new sets of fast quotient and remainder operators 2011-01-30 23:00:38 +01:00
r6rs-arithmetic-flonums.test Add two new sets of fast quotient and remainder operators 2011-01-30 23:00:38 +01:00
r6rs-base.test fix assert to return true value. 2011-04-11 18:00:36 +02: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 Add `guard' form and test cases to R6RS (rnrs exceptions) library. 2010-05-20 21:18:03 -04: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 Fix port test that assumed string ports use the `error' conversion strategy. 2012-05-31 14:29:25 +02: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 New array-map! and array-for-each tests 2011-12-22 17:13:07 -05:00
rdelim.test Make sure binary ports pass `binary-port?' regardless of the locale. 2011-04-22 23:58:00 +02:00
reader.test fix reading of #||||# 2011-10-05 20:41:15 +02: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 In fold-matches, set regexp/notbol unless matching string start. 2012-09-26 23:46:05 +02:00
rnrs-libraries.test move (test-suite lib) to lower dir; cleans up uninstalled paths. 2012-04-23 21:46:06 +02: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 better procedure-arguments for interpreted procs with opt, rest, kwargs 2012-07-06 12:19:12 +02:00
signals.test Add define-module to signals.test 2009-10-01 21:56:49 +01:00
socket.test Add a test for send' and recv!'. 2011-01-29 21:36:59 +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 Fix <TAG>vector-length when applied to other uniform vector types 2012-03-01 16:16:18 -05:00
srfi-6.test Make SRFI-6 string ports Unicode-capable. 2012-06-20 15:50:27 +02:00
srfi-9.test SRFI-9: Set the `record-constructor' slot of the RTD. 2012-04-10 00:17:39 +02: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 Unoptimize 'read' to return freshly allocated empty strings 2012-02-08 16:27:32 -05:00
srfi-14.test Update srfi-14 test for Unicode 6.1 2012-02-02 19:50:07 -08: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 Have srfi-19.test' use the non-deprecated format' style. 2011-01-29 21:46:44 +01:00
srfi-26.test
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 Fix "coding:" cookies in the test suite. 2010-03-02 23:36:29 +01:00
srfi-37.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +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-42.test Remove stale test file. 2012-01-30 20:57:42 +01:00
srfi-45.test Add implementation of SRFI 45 2010-10-03 21:54:22 +02:00
srfi-60.test Change Guile license to LGPLv3+ 2009-06-17 00:22:09 +01: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
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 Have sxml->xml' handle *TOP*' nodes (bug #29260). 2010-05-11 23:46:05 +02: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 Fix @ and @@ to not capture lexicals; new @@ @@ form for R6RS libraries 2012-07-06 20:12:50 +02:00
syntax.test Support => within case, and improve error messages for cond and case 2012-02-08 16:27:48 -05:00
texinfo.docbook.test update licenses on tests imported from guile-lib 2010-04-07 21:37:50 +02:00
texinfo.serialize.test update licenses on tests imported from guile-lib 2010-04-07 21:37:50 +02:00
texinfo.string-utils.test update licenses on tests imported from guile-lib 2010-04-07 21:37:50 +02:00
texinfo.test Update `texinfo.test' to match latest change. 2012-08-26 23:42:09 +02:00
threads.test an experiment: clearing the C stack in gc tests 2012-01-31 17:57:13 +01:00
time.test Modify socket and time functions for wide strings 2009-08-23 09:29:45 -07:00
tree-il.test Simplify calls to 'eqv?' when one argument is an immediate constant. 2012-10-08 11:56:10 -04: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 Add `vhash-fold-right'. 2011-05-08 18:20:42 +02:00
weaks.test fix hash-set! on weak tables 2011-06-16 12:09:13 +02:00
web-http.test Add HTTP Chunked Encoding support to web modules. 2012-07-06 22:18:12 +02:00
web-request.test fix web-request.test 2011-07-18 10:37:46 +02:00
web-response.test Add HTTP Chunked Encoding support to web modules. 2012-07-06 22:18:12 +02:00
web-uri.test Fix uri-encoding for strings with no unreserved chars 2012-08-26 23:36:36 +02:00