guile/test-suite/tests
Dale Mellor ee915392f3 test *broken*: augmented tests of (ice-9 getopt-long)
This is to prepare the ground for some test-driven development mainly to
make the module satisfy the needs of the GNU Mcron project.  The main
requirement is for the module to be more intelligent when dealing with
optional values to command-line options: if the following argument looks
like a new option then treat it as such, otherwise treat it as the value
of the current option.  The particular case is mcronʼs -s option which
needs to assume a default value of “8” if there is not one on the
command line, but currently ‘mcron -s input_file’ fails badly.

Other tests introduced involve allowing negative numbers as option
values, and dealing with various cases of option-processing termination.

* test-suite/tests/getopt-long.test: new code added.
2020-07-22 20:00:09 +01:00
..
00-initial-env.test Add optimized tagged integer addition/subtractions for x86_64. 2010-11-19 13:34:43 +01:00
00-repl-server.test Actually run '00-repl-server.test'. 2020-03-07 16:03:44 +01:00
00-socket.test Only run tests that require fork if it is provided 2017-04-04 07:33:41 -07:00
alist.test Resolve unresolved alist test cases 2017-03-14 16:04:14 +01:00
and-let-star.test Update and-let-star.test 2016-06-21 13:40:02 +02:00
array-map.test Support non-zero lower bounds in array-slice-for-each 2017-10-31 13:23:17 +01:00
arrays.test Fix bitvectors and non-zero lower bound arrays in truncated-print 2017-10-31 13:23:44 +01:00
asyncs.test Check for working profiling and virtual itimers 2017-03-06 23:06:12 -08:00
atomic.test Compiler support for atomics 2016-09-06 12:18:35 +02:00
bit-operations.test fix bug in ash opcode 2010-03-31 22:29:29 +02:00
bitvectors.test bitvector-count-bits replaces bit-count* 2020-04-29 11:14:17 +02:00
brainfuck.test move (test-suite lib) to lower dir; cleans up uninstalled paths. 2012-04-23 21:46:06 +02:00
bytevectors.test Fix list validation of *list->bytevector procedures. 2019-05-23 16:01:13 +02:00
c-api.test tests: Use NUL instead of /dev/null on MinGW. 2014-06-11 14:36:55 +02:00
chars.test String ports use UTF-8; ignore %default-port-encoding. 2013-08-07 01:22:22 -04:00
coding.test Make temporary file in coding.test work on MS-Windows. 2014-08-13 18:41:15 +03:00
command-line-processor.test Introduce (ice-9 command-line-processor) module. 2020-05-07 12:36:36 +01:00
common-list.test
compiler.test Fix bug in CSE auxiliary definitions 2019-08-28 10:44:44 +02:00
continuations.test with-continuation-barrier calls exit(3) _after_ unwinding 2011-03-30 12:43:50 +02:00
control.test Nonlocal prompt returns cause all effects 2017-03-13 22:20:16 +01:00
coverage.test Fix coverage test for top-level binding optimization 2019-08-18 22:27:12 +02:00
cross-compilation.test Add language-specific analysis pass to compiler infrastructure 2020-05-08 15:39:41 +02:00
curried-definitions.test fix curried definitions for value defines 2010-04-08 21:01:52 +02:00
dwarf.test Rename "RTL" to "bytecode" 2013-12-02 21:31:47 +01:00
ecmascript.test Fix tree-il code generation for ECMAscript `new' expression. 2016-10-25 23:39:30 +02:00
elisp-compiler.test Fix test suite for constant literals change 2017-04-19 09:26:11 +02: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 Rebase throw/catch on top of raise-exception/with-exception-handler 2019-11-13 22:24:19 +01:00
exceptions.test Rebase throw/catch on top of raise-exception/with-exception-handler 2019-11-13 22:24:19 +01:00
fdes-finalizers.test Add file descriptor finalizers 2016-08-30 23:35:10 +02:00
filesys.test 'basename' correctly handles "/" and "//". 2019-06-04 21:24:02 +02:00
fluids.test Respect thread local fluid defaults 2020-01-12 22:04:29 +01:00
foreign.test Can't recursively search DLLs with FFI on Cygwin 2017-03-05 12:45:54 -08:00
format.test i18n: 'number->locale-string' guesses the minimum number of decimals. 2017-03-01 21:16:49 +01:00
fractions.test Fix incorrect rationalize tests. 2013-07-21 08:09:46 -04:00
ftw.test Adapt ftw.test for pending test-suite changes 2019-09-27 22:57:38 +02:00
future.test futures: Limit the number of nested futures on the same stack. 2013-03-27 18:09:49 +01:00
gc.test Fix one remaining use of make-record-type with string type name 2019-10-23 14:45:36 +02:00
getopt-long.test test *broken*: augmented tests of (ice-9 getopt-long) 2020-07-22 20:00:09 +01:00
goops.test Replace "pr" struct fields with "pw" fields 2017-09-23 15:33:02 +02:00
guardians.test Deprecate vector-ref, vector-length, vector-set! on weak vectors 2014-02-07 12:42:44 +01:00
hash.test Add 'hash' test for keywords. 2020-03-06 17:17:41 +01:00
hooks.test Enclose hooks tests in their own module. 2010-01-07 11:10:36 +01:00
i18n.test Strings, i18n: Limit the use of alloca to approximately 8 kilobytes. 2019-05-23 17:51:36 +02:00
iconv.test U+FFFD is the input substitution character 2016-05-16 10:48:35 +02:00
import.test
interp.test
keywords.test Fix "coding:" cookies in the test suite. 2010-03-02 23:36:29 +01:00
linker.test Fix linker.test 2019-02-22 15:01:01 +01:00
list.test Improve error reporting in 'append!' 2012-10-06 06:04:29 -04: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) to include selected bug fixes from upstream. 2019-05-23 17:14:26 +02:00
modules.test Fix deprecated 1-arg `make-module' in tests 2019-10-22 14:00:12 +02:00
multilingual.nottest
net-db.test tests: Have `getaddrinfo' test work for Darwin 8. 2012-02-03 10:30:52 +01:00
numbers.test In 'ash' and 'round-ash', handle right shift count of LONG_MIN. 2019-05-23 16:09:45 +02:00
optargs.test Warning and optimization levels always small integers 2020-05-08 16:35:04 +02:00
options.test fix up options.test 2010-09-25 12:12:45 +02:00
pairs.test
parameters.test current-input-port et al are srfi-39 parameters 2011-12-10 21:37:19 +01:00
peg.bench PEG Renames 2013-01-16 10:11:49 +01:00
peg.test PEG Renames 2013-01-16 10:11:49 +01:00
peval.test 'peval' test uses (language tree-il peval). 2020-05-17 17:55:30 +02:00
poe.test
popen-child.scm Fix hanging of popen.test 2010-07-01 22:16:54 +01:00
popen.test popen: 'open-process' returns unbuffered ports. 2020-06-19 20:59:04 +02:00
ports.test Zero the initial file port revealed count. 2020-05-12 14:58:30 +02:00
posix.test Fix binary output on files created by mkstemp! 2019-05-23 17:30:33 +02:00
print.test Fix bitvectors and non-zero lower bound arrays in truncated-print 2017-10-31 13:23:44 +01:00
procprop.test remove @apply memoizer 2013-06-27 22:02:35 +02:00
procs.test Add compose', negate', and `const'. 2010-12-16 23:45:23 +01:00
q.test
r4rs.test Placate a number of `syntax-check' verifications. 2012-01-05 23:38:10 +01:00
r5rs_pitfall.test Rewrite boot-9 map to be recursive and pure 2014-05-01 21:17:28 +02:00
r6rs-arithmetic-bitwise.test Optimize R6RS bitwise operators. 2013-07-21 10:00:48 -04:00
r6rs-arithmetic-fixnums.test Fix fixnum-range changes in R6RS fixnum bitops 2016-06-21 09:32:30 +02: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 Untabify some test files. 2014-07-03 21:02:23 +03:00
r6rs-hashtables.test (rnrs hashtables): Hash functions of eq? and eqv? hashtables 2016-06-21 09:48:36 +02: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 Avoid 'with-latin1-locale' in binary I/O tests. 2019-05-23 17:48:55 +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 Rebase R6RS records on top of core records 2019-10-29 11:35:16 +01:00
r6rs-records-syntactic.test fix r6rs-records-syntactic.test to not shadow a literal 2011-07-01 12:01:58 +02:00
r6rs-unicode.test Implementation and test cases for the R6RS (rnrs unicode) library. 2010-05-20 21:18:03 -04:00
r7rs.test Add R7RS xfails due to a restriction in hungry-eol-escapes (#38239) 2019-11-16 22:29:41 +01:00
random.test Support general arrays in random:hollow-sphere! 2017-10-31 13:30:01 +01:00
rdelim.test U+FFFD is the input substitution character 2016-05-16 10:48:35 +02:00
reader.test read: Use "invalid" rather than "illegal". 2020-06-18 00:30:11 +02:00
receive.test
records.test Add support for immutable fields in core records 2019-10-28 16:59:58 +01:00
regexp.test Merge commit '0ce224594a' 2014-02-08 14:48:56 +01:00
rnrs-libraries.test Fix R6RS imports of interfaces that use interfaces 2016-04-14 12:35:55 +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
rtl-compilation.test Rename "RTL" to "bytecode" 2013-12-02 21:31:47 +01:00
rtl.test Fix RTL tests for recent arity change 2019-06-07 17:10:32 +02:00
sandbox.test Add sandboxed evaluation facility 2017-04-18 21:27:45 +02:00
session.test Fix procedure-arguments on RTL programs, and tweak session.test 2013-11-08 13:29:03 +01:00
signals.test Disable test for current value of setitimer on Cygwin 2019-05-23 17:32:17 +02:00
sort.test Fix sort, sort! for arrays with nonzero lower bound 2017-10-31 13:23:17 +01: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 SRFI-1 'length+' raises an error unless passed a proper or circular list. 2014-06-01 19:19:40 -04:00
srfi-2.test Add SRFI-2 (and-let*) test suite. 2016-06-21 13:40:01 +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 srfi-11: Do not expose variables to later clauses 2020-01-12 22:18:41 +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 uses core exceptions 2019-11-14 16:33:10 +01:00
srfi-19.test Fix tests for SRFI-19 date->string ~N 2019-05-23 17:14:29 +02: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
srfi-35.test Rebase srfi-35 conditions on top of make-record-type 2019-10-23 14:42:35 +02: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
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 SRFI-60: Reimplement 'rotate-bit-field' on inums to be more portable. 2014-03-11 21:39:26 -04:00
srfi-64-test.scm Skip tests that don't work under letrectification 2019-08-18 22:27:12 +02:00
srfi-64.test Fix srfi-64.test for #:select borkage. The irony... 2016-06-21 22:46:03 +02:00
srfi-67.test Placate a number of `syntax-check' verifications. 2012-01-05 23:38:10 +01:00
srfi-69.test
srfi-71.test tests: Add SRFI-71 test. 2018-08-07 12:09:06 +02:00
srfi-88.test Fix "coding:" cookies in the test suite. 2010-03-02 23:36:29 +01:00
srfi-98.test
srfi-105.test String ports use UTF-8; ignore %default-port-encoding. 2013-08-07 01:22:22 -04:00
srfi-111.test Implement SRFI-111 Boxes. 2014-01-24 10:50:51 -05:00
srfi-171.test Add SRFI-171 to guile 2020-03-25 22:44:27 +01:00
statprof.test Check for working profiling and virtual itimers 2017-03-06 23:06:12 -08:00
streams.test
strings.test read: Use "invalid" rather than "illegal". 2020-06-18 00:30:11 +02:00
structs.test Replace "pr" struct fields with "pw" fields 2017-09-23 15:33:02 +02:00
suspendable-ports.test Update port documentation, rename sports to suspendable ports 2016-06-09 10:50:32 +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 Fix infinite loop in expander 2015-02-13 16:43:01 +01:00
syntax.test Allow mixed local definitions and expressions 2019-08-25 16:44:07 +02:00
texinfo.docbook.test update licenses on tests imported from guile-lib 2010-04-07 21:37:50 +02:00
texinfo.html.test Fix texinfo->html for @acronym, @itemize 2016-06-24 17:09:39 +02:00
texinfo.plain-text.test texinfo: Properly render @acronym in plain text. 2020-01-29 15:19:37 +01:00
texinfo.serialize.test Texinfo serialization: add braces when needed 2016-10-11 22:08:03 +02:00
texinfo.string-utils.test texinfo: Add whitespace after periods. 2013-03-22 22:05:23 +01:00
texinfo.test texinfo: Add basic support for @w{...}. 2020-06-18 00:30:30 +02:00
threads.test Back to simple unlock-mutex 2016-11-05 11:50:31 +01:00
time.test 'strftime' and 'strptime' honor the locale encoding. 2019-06-30 21:31:36 +02:00
tree-il.test More robust reduction of equal? and eqv? 2020-05-13 15:51:58 +02:00
types.test types: Recognize 'scm_t_port_type' and decode port type name. 2018-08-07 12:13:45 +02:00
unicode.test Add (ice-9 unicode) module 2014-09-29 21:54:14 -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 Merge remote-tracking branch 'origin/stable-2.0' 2013-03-28 05:09:53 -04:00
vm.test 'load-thunk-from-memory' reports the correct error. 2018-08-07 11:34:35 +02:00
weaks.test Merge commit '9b5da400dd' 2014-02-07 15:36:06 +01:00
web-client.test Generic port facility provides buffering uniformly 2016-04-06 19:21:44 +02:00
web-http.test Revert "web: Add support for HTTP header continuation lines." 2019-06-24 11:33:13 -04:00
web-request.test web: add support for URI-reference 2017-05-21 13:42:29 +02:00
web-response.test web: Fix 'close' method of delimited input ports. 2016-05-22 19:48:47 +02:00
web-server.test tests: Skip web server test when thread support is missing. 2020-03-21 18:26:31 +01:00
web-uri.test web: Accept URI host names consisting only of hex digits. 2020-06-18 17:06:29 +02:00