summaryrefslogtreecommitdiff
path: root/test-suite/Makefile.am
Commit message (Expand)AuthorAgeFilesLines
* tests: Add REPL server test for CVE-2016-8606....This is a followup to 08c021916dbd3a235a9f9cc33df4c418c0724e03. * test-suite/tests/00-repl-server.test: New file. * test-suite/Makefile.am (SCM_TESTS): Add it. Ludovic Courtès2017-03-011-0/+1
* New functions (array-for-each-cell, array-for-each-cell-in-order)...* libguile/array-map.c (scm_i_array_rebase, scm_array_for_each_cell): New functions. Export scm_array_for_each_cell() as (array-for-each-cell). (array-for-each-cell-in-order): Define additional export. * libguile/array-map.h (scm_i_array_rebase, scm_array_for_each_cell): Add prototypes. * test-suite/tests/array-map.test: Renamed from test-suite/tests/ramap.test, fix module name. Add tests for (array-for-each-cell). * test-suite/Makefile.am: Apply rename array-map.test -> ramap.test. Daniel Llorens2016-11-231-1/+1
* Deprecate arbiters...* libguile/arbiters.c: * libguile/arbiters.h: * test-suite/tests/arbiters.test: Delete files. * libguile/deprecated.c: * libguile/deprecated.h: Move arbiters code here. * doc/ref/api-scheduling.texi: Remove section on arbiters. * libguile.h: * libguile/Makefile.am: * libguile/init.c: * module/oop/goops.scm: * test-suite/Makefile.am: Remove mention of arbiters. * NEWS: Update. Andy Wingo2016-10-171-1/+0
* Add file descriptor finalizers...* doc/ref/posix.texi (Ports and File Descriptors): Document new interfaces. * libguile/filesys.c (scm_close, scm_close_fdes) * libguile/fports.c (fport_close): * libguile/ioext.c (scm_primitive_move_to_fdes): Call scm_run_fdes_finalizers. * module/ice-9/fdes-finalizers.scm: * test-suite/tests/fdes-finalizers.test: * libguile/fdes-finalizers.h: * libguile/fdes-finalizers.c: New files. * module/Makefile.am: * test-suite/Makefile.am: * libguile/Makefile.am: * libguile.h: * libguile/init.c: Wire up new files. Andy Wingo2016-08-301-0/+1
* Fix texinfo->html for @acronym, @itemize...* module/texinfo/html.scm (itemize, acronym, tag-replacements, rules): Fix HTML serialization of @itemize and @acronym. Fixes #21772. * test-suite/tests/texinfo.html.test: New file. * test-suite/Makefile.am: Add new file. Andy Wingo2016-06-241-0/+1
* Add SRFI-2 (and-let*) test suite....* test-suite/tests/srfi-2.test: New file. * test-suite/Makefile.am (SCM_TESTS): Add it. Taylan Ulrich Bayırlı/Kammer2016-06-211-0/+1
* Update port documentation, rename sports to suspendable ports...* module/ice-9/suspendable-ports.scm: Rename from ice-9/sports.scm, and adapt module names. Remove exports that are not related to the suspendable ports facility; we want people to continue using the port operations from their original locations. Add put-string to the replacement list. * module/Makefile.am: Adapt to rename. * test-suite/tests/suspendable-ports.test: Rename from sports.test. * test-suite/Makefile.am: Adapt to rename. * module/ice-9/textual-ports.scm (unget-char, unget-string): New functions. * doc/ref/api-io.texi (Textual I/O, Simple Output): Flesh out documentation. (Line/Delimited): Undocument write-line, read-string, and read-string!. This is handled by (ice-9 textual-ports). (Bytevector Ports): Fix duplicated section. (String Ports): Move the note about encodings down to the end. (Custom Ports): Add explanatory text. Remove mention of C functions; they should use the C port interface. (Venerable Port Interfaces): Add text, and make documentation refer to recommended interfaces. (Using Ports from C): Add documentation. (Non-Blocking I/O): Document more fully and adapt to suspendable-ports name change. Andy Wingo2016-06-091-1/+1
* Test Scheme port implementation...* module/ice-9/ports.scm: Add port-decode-char to internals export list. * test-suite/Makefile.am: * test-suite/tests/sports.test: Add new test. Andy Wingo2016-05-161-0/+1
* Add (ice-9 unicode) module...* libguile/unicode.c: * libguile/unicode.h: * test-suite/tests/unicode.test: * module/ice-9/unicode.scm: New files. * module/Makefile.am: * libguile/Makefile.am: * test-suite/Makefile.am: * libguile/init.c: Wire new files into the build. * doc/ref/api-data.texi: Add docs. Andy Wingo2014-09-121-0/+1
* Merge branch 'stable-2.0'...Conflicts: GUILE-VERSION NEWS guile-readline/ice-9/readline.scm libguile/async.c libguile/backtrace.c libguile/deprecated.h libguile/gc-malloc.c libguile/gdbint.c libguile/init.c libguile/ioext.c libguile/mallocs.c libguile/print.c libguile/rw.c libguile/scmsigs.c libguile/script.c libguile/simpos.c libguile/snarf.h libguile/strports.c libguile/threads.c libguile/vm-i-scheme.c libguile/vm-i-system.c module/srfi/srfi-18.scm test-suite/Makefile.am test-suite/standalone/test-num2integral.c Mark H Weaver2014-04-251-0/+15
|\
| * Add missing files to the test-suite Makefile....* test-suite/Makefile.am (SCM_TESTS): Add "tests/compiler.test", "tests/encoding-escapes.test", "tests/encoding-iso88591.test", "tests/encoding-iso88597.test", "tests/encoding-utf8.test", "tests/pairs.test", "tests/records.test", "tests/sort.test", "tests/srfi-17.test", "tests/srfi-18.test", "tests/srfi-98.test", "tests/streams.test", "tests/vectors.test", and "tests/web-client.test". Mark H Weaver2014-03-031-1/+15
| * Add (system base types)....* module/system/base/types.scm, test-suite/tests/types.test: New files. * module/Makefile.am (SYSTEM_BASE_SOURCES): Add system/base/types.scm. * test-suite/Makefile.am (SCM_TESTS): Add tests/types.test. Ludovic Courtès2014-02-181-0/+1
* | Remove tests for old Tree-IL CSE module...* test-suite/tests/cse.test: Remove. * test-suite/Makefile.am: Andy Wingo2014-04-101-2/+1
* | Change uses of scm_is_simple_vector to scm_is_vector...* libguile/filesys.c, libguile/random.c, libguile/stime.c, libguile/trees.c, libguile/validate.h: use scm_is_vector instead of scm_is_simple_vector. * libguile/sort.c (scm_sort_x, scm_sort, scm_stable_sort_x) (scm_stable_sort): Remove scm_is_vector check; scm_is_array is sufficient. * test-suite/tests/arrays.test: Fix header. * test-suite/tests/random.test: New coverage test covering random:normal-vector!. * test-suite/Makefile.am: Include random.test in make check. Daniel Llorens2014-02-081-0/+1
* | Merge commit '34e89877342f20fdb8a531ad78dab34cfd2b0843'...Conflicts: module/Makefile.am Andy Wingo2014-02-071-1/+4
|\|
| * Implement SRFI-64 - A Scheme API for test suites....* module/srfi/srfi-64.scm: New file. * module/srfi/srfi-64/testing.scm: New file. * module/Makefile.am: Add rule for srfi-64.go dependency on srfi-64/testing.scm. (SRFI_SOURCES): Add srfi/srfi-64.scm. (NOCOMP_SOURCES): Add srfi/srfi-64/testing.scm. * doc/ref/srfi-modules.texi (SRFI-64): New node. * test-suite/tests/srfi-64.test: New file. * test-suite/tests/srfi-64-test.scm: New file. * test-suite/Makefile.am (SCM_TESTS): Add test-suite/tests/srfi-64.test. (EXTRA_DIST): Add tests/srfi-64-test.scm. Mark H Weaver2014-02-011-1/+3
| * Implement SRFI-43 Vector Library....* module/srfi/srfi-43.scm: New file. * module/Makefile.am (SRFI_SOURCES): Add module/srfi/srfi-43.scm. * test-suite/tests/srfi-43.test: New file. * test-suite/Makefile.am (SCM_TESTS): Add test-suite/tests/srfi-43.test. * doc/ref/srfi-modules.texi (SRFI-43, SRFI-43 Constructors) (SRFI-43 Predicates, SRFI-43 Selectors, SRFI-43 Iteration) (SRFI-43 Searching, SRFI-43 Mutators, SRFI-43 Conversion): New nodes. Mark H Weaver2014-02-011-0/+1
* | Merge commit 'ca5e0414e96886177d883a249edd957d2331db65'...Conflicts: module/language/tree-il/primitives.scm Andy Wingo2014-02-071-0/+1
|\|
| * Implement SRFI-111 Boxes....* module/srfi/srfi-111.scm: New file. * module/Makefile.am (SRFI_SOURCES): Add srfi/srfi-111.scm. * test-suite/tests/srfi-111.test: New file. * test-suite/Makefile.am (SCM_TESTS): Add tests/srfi-111.test. * doc/ref/srfi-modules.texi (SRFI-111): New node. Mark H Weaver2014-01-241-0/+1
* | Move useful parts of asm-to-bytecode.test to cross-compilation.test...* test-suite/tests/cross-compilation.test: Rename from asm-to-bytecode, and remove the bits testing assembly->bytecode but keep the cross-compilation things. * test-suite/Makefile.am: Adapt. Andy Wingo2013-11-081-1/+1
* | Add source location test...* test-suite/tests/dwarf.test: New test, testing that source location information survives the round-trip through the compiler, back out to the (system vm debug) interfaces. Andy Wingo2013-10-031-0/+1
* | Add CPS -> RTL compiler...* module/Makefile.am: * module/language/cps/compile-rtl.scm: * module/language/cps/dfg.scm: * module/language/cps/slot-allocation.scm: New modules. * module/language/cps/spec.scm: Register the compiler. * test-suite/Makefile.am: * test-suite/tests/rtl-compilation.test: Add tests. Andy Wingo2013-08-311-0/+1
* | Add RTL assembler...* module/Makefile.am: * module/system/vm/assembler.scm: New module, implementing an assembler for RTL. * test-suite/Makefile.am: * test-suite/tests/rtl.test: New test suite. * module/system/vm/elf.scm (make-elf-symbol*): Add constructor; export as make-elf-symbol. (elf-symbol-len): New export. (write-elf32-symbol, write-elf64-symbol): New helpers. (write-elf-symbol): New export. Andy Wingo2013-06-091-0/+1
* | Merge remote-tracking branch 'origin/stable-2.0'...Conflicts: configure.ac libguile/deprecated.c libguile/deprecated.h libguile/filesys.h libguile/fluids.c libguile/fports.c libguile/gc.c libguile/guile.c libguile/numbers.c libguile/objcodes.c libguile/r6rs-ports.c libguile/smob.c libguile/socket.c libguile/threads.h module/language/scheme/decompile-tree-il.scm module/language/tree-il/peval.scm test-suite/tests/syncase.test Mark H Weaver2013-03-281-0/+1
|\|
| * Add SRFI-41....Incorporates suggestions from Mark H Weaver <mhw@netris.org> and Ian Price <ianprice90@googlemail.com>. * module/srfi/srfi-41.scm: New file. * module/Makefile.am (SRFI_SOURCES): Add srfi/srfi-41.scm. * test-suite/tests/srfi-41.test: New file. * test-suite/Makefile.am (SCM_TESTS): Add tests/srfi-41.test. * doc/ref/srfi-modules.texi (SRFI Support): Add SRFI-41. (SRFI-41): New node which refers the reader to <http://srfi.schemers.org/srfi-41/srfi-41.html>. Chris K. Jester-Young2013-03-271-0/+1
| * GUILE_INSTALL_LOCALE=1 during build...* doc/ref/Makefile.am (autoconf-macros.texi): * libguile/Makefile.am (snarf2checkedtexi): * module/Makefile.am (ice-9/psyntax-pp.scm.gen, ice-9/psyntax-pp.go): * test-suite/Makefile.am (GUILE_AUTO_COMPILE): * test-suite/standalone/Makefile.am (GUILE_INSTALL_LOCALE): * test-suite/vm/Makefile.am (TESTS_ENVIRONMENT): * am/guilec (.scm.go): Set GUILE_INSTALL_LOCALE to 1 during the build. Fixes bug 12887. Andy Wingo2013-03-071-1/+3
| * warn on multithreaded fork...* libguile/posix.c (scm_fork): Issue a warning on a multithreaded fork. * doc/ref/posix.texi (Processes): Add note about multithreaded fork. * test-suite/tests/00-socket.test: Moved here, from socket.test, so as to run before any threads are created. * test-suite/Makefile.am: Adapt. Andy Wingo2013-01-171-1/+1
* | add PEG parser generator...* module/ice-9/peg.scm: New file. * module/Makefile.am: Add to build. * doc/ref/Makefile.am: * doc/ref/api-peg.texi: * doc/ref/guile.texi: Add documentation for PEG parser. * test-suite/Makefile.am: * test-suite/tests/peg.bench: * test-suite/tests/peg.test: Add tests, and a benchmark. Andy Wingo2013-01-161-0/+1
* | Merge remote-tracking branch 'origin/stable-2.0'...There is a failing test due to a scm_from_utf8_stringn bug brought out by the iconv test that will be fixed in the next commit. Conflicts: libguile/deprecated.h module/ice-9/deprecated.scm Andy Wingo2013-01-151-1/+2
|\|
| * add bytevector->string and string->bytevector in new (ice-9 iconv) module...* module/Makefile.am: * module/ice-9/iconv.scm: New module implementing procedures to encode and decode representations of strings as bytes. * test-suite/Makefile.am: * test-suite/tests/iconv.test: Add tests. * doc/ref/api-data.texi: Add docs. Andy Wingo2013-01-111-1/+2
* | Merge remote-tracking branch 'origin/stable-2.0'...Moved scm_i_struct_hash from struct.c to hash.c and made it static. The port's alist is now a field of 'scm_t_port'. Conflicts: libguile/arrays.c libguile/hash.c libguile/ports.c libguile/print.h libguile/read.c Mark H Weaver2012-10-301-0/+1
|\|
| * Implement SRFI-105 curly infix expressions....* libguile/private-options.h: Add SCM_CURLY_INFIX_P macro, and increment SCM_N_READ_OPTIONS. * libguile/read.c (sym_nfx, sym_bracket_list, sym_bracket_apply): New variables. (scm_read_opts): Add curly-infix reader option. Reformat to comply with GNU coding standards. (scm_t_read_opts): Add curly_infix_p and neoteric_p fields. (init_read_options): Initialize new fields. (CHAR_IS_DELIMITER): Add '{', '}', '[', and ']' as delimiters if curly_infix_p is set. (set_port_square_brackets_p, set_port_curly_infix_p): New functions. (read_inner_expression): New function which contains the code that was previously in 'scm_read_expression'. Handle curly braces when curly_infix_p is set. If curly_infix_p is set and square_brackets_p is unset, follow the Kawa convention: [...] => ($bracket-list$ ...) (scm_read_expression): New function body to handle neoteric expressions where appropriate. (scm_read_shebang): Handle the new reader directives: '#!curly-infix' and the non-standard '#!curly-infix-and-bracket-lists'. (scm_read_sexp): Handle curly infix lists. * module/ice-9/boot-9.scm (%cond-expand-features): Add srfi-105 feature identifier. * doc/ref/srfi-modules.texi (SRFI-105): Add stub doc for SRFI-105. * doc/ref/api-evaluation.texi (Scheme Read): Add documentation for the 'curly-infix' read option, and the '#!curly-infix' and '#!curly-infix-and-bracket-lists' reader directives. * doc/ref/api-options.texi (Runtime Options): Add 'curly-infix' to the list of read options. * test-suite/Makefile.am: Add tests/srfi-105.test. * test-suite/tests/srfi-105.test: New file. Mark H Weaver2012-10-261-0/+1
* | Merge commit 'f66cbb99ee096186837536885d3436bb334df34d'Andy Wingo2012-04-261-0/+1
|\|
| * new pass: cse...* module/language/tree-il/cse.scm: New pass, some simple common subexpression elimination with effects analysis. * test-suite/tests/cse.test: New test. * test-suite/Makefile.am: * module/Makefile.am: Adapt. Andy Wingo2012-04-231-0/+1
* | Merge commit 'de1eb420a5a95b17e85b19c4d98c869036e9ecb0'...Conflicts: module/language/tree-il/primitives.scm test-suite/tests/tree-il.test Andy Wingo2012-04-261-0/+1
|\|
| * peval tests into separate file...* test-suite/tests/tree-il.test ("partial evaluation"): * test-suite/tests/peval.test ("partial evaluation"): Separate peval * tests. * test-suite/Makefile.am: Adapt. Andy Wingo2012-04-231-0/+1
* | Merge commit 'd10f7b572c0ca1ccef87f9c46069daa30946e0cf'...Conflicts: libguile/smob.c libguile/smob.h test-suite/tests/tree-il.test Andy Wingo2012-04-261-1/+1
|\|
| * move (test-suite lib) to lower dir; cleans up uninstalled paths....* check-guile.in: * test-suite/Makefile.am: * test-suite/test-suite/lib.scm: * benchmark-guile.in: * benchmark-suite/Makefile.am: * benchmark-suite/benchmark-suite/lib.scm: Lower the lib modules in the source tree. This lets us remove top_srcdir and top_builddir from the uninstalled paths. * test-suite/tests/asm-to-bytecode.test: * test-suite/tests/brainfuck.test: * test-suite/tests/compiler.test: * test-suite/tests/ftw.test: * test-suite/tests/gc.test: * test-suite/tests/match.test: * test-suite/tests/rnrs-libraries.test: * test-suite/tests/rnrs-test-a.scm: * test-suite/tests/sxml.match.test: Adapt to not expect that module names be prefixed with "test-suite". Andy Wingo2012-04-231-2/+2
* | signal an error on multithreaded fork...* libguile/posix.c (scm_fork): Signal an error if a `fork' is attempted after threads have been spawned. * test-suite/tests/00-socket.test: Moved here, from socket.test, so as to run before any threads are created. * test-suite/Makefile.am: Adapt. Andy Wingo2012-02-241-2/+2
|/
* Use Gnulib's `localcharset', with local patches....This follows Bruno Haible's suggestion at <http://lists.gnu.org/archive/html/guile-devel/2011-11/msg00055.html>. * m4/gnulib-cache.m4: Add `gl_LOCAL_DIR'; use `localcharset'. * Makefile.am (EXTRA_DIST): Add gnulib-local/lib/localcharset.[ch].diff. (TESTS_ENVIRONMENT): New variable. * gnulib-local/lib/localcharset.c.diff, gnulib-local/lib/localcharset.h.diff: New files. * test-suite/Makefile.am (TESTS_ENVIRONMENT): Add @LOCALCHARSET_TESTS_ENVIRONMENT@. * test-suite/standalone/Makefile.am (TESTS_ENVIRONMENT): Likewise. Ludovic Courtès2011-12-151-1/+3
* add srfi-39 parameters to boot-9...* module/ice-9/boot-9.scm (<parameter>, make-parameter, parameter?) (parameter-fluid, parameter-converter, parameterize): New top-level bindings, implementing SRFI-39 parameters. Currently, current-input-port and similar procedures are not yet parameters. * test-suite/Makefile.am: * test-suite/tests/parameters.test: Add tests, taken from srfi-39 tests. Andy Wingo2011-12-051-0/+1
* Update (ice-9 match) from Chibi-Scheme....* module/ice-9/match.scm (slot-ref, slot-set!, is-a?): New macros. * module/ice-9/match.upstream.scm: Update from Chibi-Scheme. * test-suite/Makefile.am (SCM_TESTS): Add `tests/match.test.upstream'. * test-suite/tests/match.test (rtd-2-slots, rtd-3-slots): New record types. ("matches")["records"]: New test prefix. ("doesn't match")["records"]: New test prefix. Include `match.test.upstream'. * test-suite/vm/t-match.scm (matches?): Fix `$' example. Ludovic Courtès2011-09-031-0/+1
* fix problems detecting coding: in block comments...* libguile/read.c (scm_i_scan_for_encoding): Fix for coding on first line #! and for !# immediately following the coding. * test-suite/Makefile.am: * test-suite/tests/coding.test: Add tests. Andy Wingo2011-03-311-0/+1
* add ice-9 eval-string...* module/Makefile.am: * module/ice-9/eval-string.scm: New module, for use in implementing the scm_c_eval_string_from_file_line suggestion. * test-suite/Makefile.am: * test-suite/tests/eval-string.test: New tests. Andy Wingo2011-03-051-0/+1
* autocompile -> auto-compile...* NEWS: * check-guile.in: * doc/guile.1: * doc/ref/scheme-scripts.texi: * libguile/init.c: * libguile/load.c: * libguile/load.h: * libguile/script.c: * module/Makefile.am: * module/ice-9/boot-9.scm: * module/scripts/compile.scm: * module/system/base/compile.scm: * test-suite/Makefile.am: * test-suite/tests/popen.test: Change "autocompile" to "auto-compile" or "auto_compile", as appropriate, in variable names, function names, command line arguments, and the documentation. Andy Wingo2011-02-131-1/+1
* Rewrite `read-line' in terms of `scm_getc'....As a result `read-line' handles decoding and decoding errors the same way as `scm_getc'. It's also simpler and free of `malloc' calls. * libguile/rdelim.c (scm_do_read_line): Remove. (scm_read_line): Rewrite as a loop that calls `scm_getc'. * test-suite/tests/rdelim.test: New file. * test-suite/Makefile.am (SCM_TESTS): Add `tests/rdelim.test'. Ludovic Courtès2011-01-261-1/+3
* Add `compose', `negate', and `const'....* module/ice-9/boot-9.scm (compose, negate, const): New procedures. * doc/ref/api-procedures.texi (Higher-Order Functions): New node. * test-suite/Makefile.am (SCM_TESTS): Add `tests/procs.test'. * test-suite/tests/procs.test: New file. Ludovic Courtès2010-12-161-0/+1
* Add `(ice-9 futures)'....* doc/ref/api-scheduling.texi (Threads): Add short introduction. Mention the `threads' feature. Add cross-reference to futures. (Futures): New node. * module/Makefile.am (ICE_9_SOURCES): Add `ice-9/futures.scm'. * module/ice-9/futures.scm: New file. * test-suite/Makefile.am (SCM_TESTS): Add `tests/future.test'. * test-suite/tests/future.test: New file. Ludovic Courtès2010-12-031-0/+1
* add HTTP response module...* module/web/response.scm: New module, for HTTP responses. * test-suite/tests/web-response.test: Test suite. * module/Makefile.am: * test-suite/Makefile.am: Adapt. Andy Wingo2010-11-051-0/+1
* add HTTP request module...* module/web/request.scm: Add HTTP request module. * test-suite/tests/web-request.test: Test cases. * module/Makefile.am: * test-suite/Makefile.am: Adapt. Andy Wingo2010-11-051-0/+1