1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-03 10:40:21 +02:00
guile/test-suite/tests
Andy Wingo 0f423f20aa fix apply and call/cc in drop contexts
* module/language/tree-il/compile-glil.scm (flatten): Actually apply only
  needs one arg after the proc. And shit, call/cc and apply in drop
  contexts also need to be able to return arbitrary numbers of values;
  work it by trampolining through their applicative (non-@) definitions.
  Also, simplify the single-valued drop case to avoid the
  truncate-values.

* module/language/tree-il/inline.scm (call/cc):
* module/language/tree-il/optimize.scm (*interesting-primitive-names*):
  Define call/cc as "interesting". Perhaps we should be hashing on value
  and not on variable.

* test-suite/tests/tree-il.test ("application"): Fix up test for new,
  sleeker output. (Actually the GLIL is more verbose, but the assembly is
  better.)
  ("apply", "call/cc"): Add some more tests.
2009-05-21 21:13:24 +02:00
..
c-api *** empty log message *** 2003-04-07 01:58:47 +00:00
alist.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
and-let-star.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
arbiters.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
asm-to-bytecode.test add code for writing out metadata to the end of a program 2009-02-01 10:15:00 +01:00
bit-operations.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
c-api.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
chars.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
common-list.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
compiler.test remove compile-time-environment 2009-05-20 17:41:21 +02:00
continuations.test * tests/continuations.test ("continuations"): Use 2007-10-21 20:45:45 +00:00
dynamic-scope.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
elisp.test allow `apply' on %nil-terminated lists 2009-01-04 14:06:52 +01:00
environments.test Remove environments.[ch] from the build. 2006-11-02 21:10:37 +00:00
eval.test fix failing macro-as-parameter tests in eval.test 2009-05-20 18:11:23 +02:00
exceptions.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
filesys.test Delete test file after all tests have run in order to make "make 2006-05-27 22:24:24 +00:00
format.test merge from 1.8 branch 2006-10-09 23:40:48 +00:00
fractions.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
ftw.test Fix continuation marking, and some tests. 2008-09-26 13:42:09 +02:00
gc.test Add `gc.test' hack for SPARC GNU/Linux. 2008-02-15 16:02:22 +00:00
getopt-long.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
goops.test Merge commit 'e20d7001c3' into vm-check 2009-03-17 16:40:52 +01:00
guardians.test Move `guardians.test' to its own module. 2009-03-08 21:56:06 +01:00
hash.test Several new hash table tests, written by Gregory Marton. 2008-12-07 16:30:04 +00:00
hooks.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
i18n.test Changes from arch/CVS synchronization 2007-01-31 20:58:20 +00:00
import.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
interp.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
list.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
load.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
modules.test Changes from arch/CVS synchronization 2007-05-05 20:38:57 +00:00
multilingual.nottest merge from 1.8 branch 2006-04-16 23:37:40 +00:00
numbers.test Fix for incorrect (gcd -2) => -2; should give 2. 2008-09-22 21:21:20 +01:00
optargs.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
options.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
pairs.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
poe.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
popen.test merge from 1.8 branch 2006-10-09 23:40:48 +00:00
ports.test ("port-for-each"): remove unresolved for 2007-08-26 18:12:53 +00:00
posix.test Changes from arch/CVS synchronization 2007-06-07 08:36:13 +00:00
procprop.test procedure-arity on vm-compile apply: verily, unresolved. 2009-03-17 16:46:43 +01:00
q.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
r4rs.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
r5rs_pitfall.test Fix continuation marking, and some tests. 2008-09-26 13:42:09 +02:00
ramap.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
reader.test Add test case to make sure `read' returns mutable strings. 2008-10-09 22:32:16 +02:00
receive.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
regexp.test Enclose `regexp.test' in a module. 2008-09-25 21:36:14 +02:00
socket.test Honor $TMPDIR in the test suite. 2008-03-13 14:03:58 +00:00
sort.test merge from 1.8 branch 2007-03-07 23:00:22 +00:00
srcprop.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
srfi-1.test Fix type-checking of SRFI-1 `partition'. 2008-04-28 18:03:27 +02:00
srfi-4.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
srfi-6.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
srfi-9.test Changes from arch/CVS synchronization 2007-08-08 14:56:02 +00:00
srfi-10.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
srfi-11.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
srfi-13.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
srfi-14.test Changes from arch/CVS synchronization 2006-10-26 07:20:59 +00:00
srfi-17.test fix srfi-17.test 2009-05-21 16:04:14 +02:00
srfi-18.test procedures in "drop" contexts can return unspecified values 2009-05-21 17:22:58 +02:00
srfi-19.test srfi-19: Fix `string->date' weekday lookup. 2008-12-18 22:49:13 +01:00
srfi-26.test * tests/srfi-26.test: New. 2004-01-21 00:45:48 +00:00
srfi-31.test add tree-il->glil compilation test suite 2009-05-18 23:45:35 +02:00
srfi-34.test Run the handler of SRFI-34's `with-exception-handler' in the right dyn. env. 2008-11-24 09:40:00 +01:00
srfi-35.test Make (srfi srfi-35)' visible through cond-expand'. 2008-04-26 21:09:40 +02:00
srfi-37.test Fix SRFI-37 `args-fold' with short option names of argument-less options. 2008-03-12 17:01:19 +00:00
srfi-39.test Run the handler of SRFI-34's `with-exception-handler' in the right dyn. env. 2008-11-24 09:40:00 +01:00
srfi-60.test merge from 1.8 branch 2006-06-17 23:15:59 +00:00
srfi-69.test Changes from arch/CVS synchronization 2007-12-13 12:27:37 +00:00
srfi-88.test Add `(srfi srfi-88)'. 2008-04-26 19:34:37 +02:00
streams.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
strings.test Fix sloppy bound checking in `string-{ref,set!}' with the empty string. 2008-12-02 19:52:13 +01:00
structs.test merge from 1.8 branch 2007-03-07 23:00:22 +00:00
symbols.test Make `symbol->string' return a read-only string. 2008-09-23 18:44:27 +02:00
syncase.test Allow @ to work with (ice-9 syncase) 2009-02-08 21:45:31 +00:00
syntax.test add tree-il->glil compilation test suite 2009-05-18 23:45:35 +02:00
threads.test Delete trailing whitespace. 2008-05-14 23:52:49 +01:00
time.test Use Gnulib's `strftime' to address bug #24130. 2008-09-02 21:58:58 +02:00
tree-il.test fix apply and call/cc in drop contexts 2009-05-21 21:13:24 +02:00
unif.test Changes from arch/CVS synchronization 2006-12-12 14:01:40 +00:00
vectors.test Changes from arch/CVS synchronization 2006-11-29 09:05:10 +00:00
version.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00
weaks.test merge from 1.8 branch 2006-04-16 23:37:40 +00:00