racket/collects/tests/mzscheme
Eli Barzilay 3a08648dab Added a `running' state, which is visible only from inside the
generator.  (Also considered making it an error when the generator is
called while it is running, but that doesn't allow (yield (yield X))
fun.)

svn: r17982
2010-02-05 03:22:09 +00:00
..
benchmarks A bunch of additional typos 2010-02-05 03:21:52 +00:00
lang fix 'module-langugage tracking 2008-09-22 13:08:40 +00:00
ttt use load-relative 2009-11-10 18:28:20 +00:00
advanced.ss use new require specs in many places 2008-02-23 09:42:03 +00:00
all.ss remove old net tests 2009-03-17 11:42:31 +00:00
async-channel.ss finish fixing sandboxed test suites 2007-12-19 14:46:30 +00:00
awk.ss use new require specs in many places 2008-02-23 09:42:03 +00:00
basic.ss normalized the results of procedure-arity 2010-01-06 19:34:29 +00:00
beg-adv.ss improved the implementation of error in the teaching languages, added test casees 2010-02-01 15:39:33 +00:00
beg-bega.ss arithmetic functions should be standard 2009-05-15 18:26:16 +00:00
beg-intm.ss arithmetic functions should be standard 2009-05-15 18:26:16 +00:00
beg-intml.ss Updated ellipsis error message in htdp languages. 2007-07-10 21:23:33 +00:00
bega-adv.ss better interaction of HtDP languages with scheme/match 2009-07-16 16:11:12 +00:00
beginner-abbr.ss fix mismatch between identifier and datums in module paths; revive HtDP language tests; fix quick's cache 2007-11-26 00:38:58 +00:00
beginner.ss fix mismatch between identifier and datums in module paths; revive HtDP language tests; fix quick's cache 2007-11-26 00:38:58 +00:00
binc.ss Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00
boundmap-test.ss use new require specs in many places 2008-02-23 09:42:03 +00:00
cache-image-snip-test.ss DrDr bugs and spurious errors 2009-10-22 18:45:02 +00:00
censor.ss Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00
char-set.ss some corrections/removals of old tests 2009-11-11 01:34:09 +00:00
chez-module.ss some corrections/removals of old tests 2009-11-11 01:34:09 +00:00
cm.ss added automatic compilation to the module language, plus various other tweaks (contract library enhancement, bug fixes here and there) 2009-07-30 05:17:40 +00:00
cmdline.ss use new require specs in many places 2008-02-23 09:42:03 +00:00
compat.ss use new require specs in many places 2008-02-23 09:42:03 +00:00
compile.ss another syntax hack to fix 'scheme/package'; other test corrections 2009-11-27 02:12:27 +00:00
contmark.ss call-with-immediate-continuation-mark 2008-11-07 02:54:12 +00:00
contract-mzlib-test.ss Fixing these back up to how they were before. 2009-01-14 21:31:46 +00:00
contract-opt-tests.ss fixed up problems uncovered by dr dr 2009-10-17 21:28:45 +00:00
contract-test.ss PR 10636 2009-12-02 17:09:07 +00:00
control.ss use new require specs in many places 2008-02-23 09:42:03 +00:00
date.ss use new require specs in many places 2008-02-23 09:42:03 +00:00
deep.ss new hash function names and ops (3.99.0.23) 2008-04-08 21:42:38 +00:00
dict.ss fix make-custom-weak-hash (PR 10232) 2009-05-09 13:37:28 +00:00
embed-in-c.c add test for embedding MzScheme and resetting via scheme_basic_env 2008-09-07 12:41:20 +00:00
embed-in-c.ss add linker flags for linux for embeddig test 2008-09-07 12:43:34 +00:00
embed-me1.ss Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00
embed-me1b.ss fix bug in exe creation where 'lib runtime-paths could be mis-parsed as mzlib paths 2008-10-07 16:00:36 +00:00
embed-me1c.ss fix bug in exe creation where 'lib runtime-paths could be mis-parsed as mzlib paths 2008-10-07 16:00:36 +00:00
embed-me1d.ss fix more bugs with lib paths in exe creation 2008-10-30 10:55:07 +00:00
embed-me1e.ss fix more bugs with lib paths in exe creation 2008-10-30 10:55:07 +00:00
embed-me2.ss use new require specs in many places 2008-02-23 09:42:03 +00:00
embed-me3.ss use new require specs in many places 2008-02-23 09:42:03 +00:00
embed-me4.ss Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00
embed-me5.ss use new require specs in many places 2008-02-23 09:42:03 +00:00
embed-me6.ss * Newlines at EOFs 2008-07-09 07:18:06 +00:00
embed-me7.ss use new require specs in many places 2008-02-23 09:42:03 +00:00
embed-me8.c 369.10 2007-04-20 01:16:15 +00:00
embed-me9.ss 369.10 2007-04-20 01:16:15 +00:00
embed-me10.ss * Newlines at EOFs 2008-07-09 07:18:06 +00:00
embed-me11-rd.ss test and fix hook for create-embedding-executable 2007-04-25 00:43:51 +00:00
embed-me11.ss test and fix hook for create-embedding-executable 2007-04-25 00:43:51 +00:00
embed.ss fix more bugs with lib paths in exe creation 2008-10-30 10:55:07 +00:00
etc.ss use new require specs in many places 2008-02-23 09:42:03 +00:00
expand.ss fix (mostly) expand tests suite 2008-11-21 13:52:20 +00:00
fact.ss Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00
file.ss Allow binding to ephemeral ports 2009-10-20 17:00:20 +00:00
filelib.ss Add in-port', port->list', `file->list'. 2009-10-29 18:49:34 +00:00
fixnum.ss fill out fl and fx operations; repair fixnum-overflow bug in quotient 2010-01-07 03:30:33 +00:00
for.ss Added a `running' state, which is visible only from inside the 2010-02-05 03:22:09 +00:00
foreign-test.c scheme/foreign: allow #f as NULL function pointer, allow callback as cpointer 2009-01-03 18:51:15 +00:00
foreign-test.ss bytecode-compiler changes to help enable flonum unboxing 2009-12-13 04:39:46 +00:00
function.ss compose now gets 0 or more inputs 2009-05-04 02:10:01 +00:00
future.ss added basic test suite for the parallel futures module 2010-01-29 21:44:46 +00:00
head.ss use new require specs in many places 2008-02-23 09:42:03 +00:00
htdp-image.ss separated 2htdp/universe from htdp/image, allowing either htdp/image or 2htdp/image to be used 2009-12-29 23:59:39 +00:00
htdp-test.ss improved the implementation of error in the teaching languages, added test casees 2010-02-01 15:39:33 +00:00
htdp.ss equal? and hashing work on cyclic values 2007-12-27 11:07:14 +00:00
id-table-test.ss merged changes from /branches/ryanc/sp2: 2009-07-03 19:47:25 +00:00
imap.ss * Newlines at EOFs 2008-07-09 07:18:06 +00:00
intermediate-lambda.ss use new require specs in many places 2008-02-23 09:42:03 +00:00
intermediate.ss use new require specs in many places 2008-02-23 09:42:03 +00:00
intm-adv.ss arithmetic functions should be standard 2009-05-15 18:26:16 +00:00
intm-intml.ss Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00
intmlam-adv.ss arithmetic functions should be standard 2009-05-15 18:26:16 +00:00
ktest.ss Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00
kw.ss normalized the results of procedure-arity 2010-01-06 19:34:29 +00:00
list.ss test all orders fo lengths <= 3 2009-11-19 22:05:02 +00:00
loadable.ss Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00
loadtest.ss Better output: using quiet.ss will show nothing except for section 2006-07-07 23:46:35 +00:00
logger.ss fix logger name handling 2008-07-17 17:41:05 +00:00
loop.ss Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00
ltest.ss Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00
macro.ss free-id=? propagation through module exports; add 'not-free-identifier=? syntax property to disable free-id=? propagation; add prop:rename-transformer and prop:set-transformer; fix scheme/local so that local syntax bindings are visible to later definitions (v4.1.5.3) 2009-03-19 20:22:18 +00:00
macrolib.ss use new require specs in many places 2008-02-23 09:42:03 +00:00
makeflat.ss * Rename files to follow `foo-tests.ss' for files that are sets of tests. 2008-08-30 23:03:14 +00:00
makeflats.ss mzc -e repairs 2008-05-05 22:32:16 +00:00
math.ss added more examples and tests for order-of-magnitude 2009-12-05 20:38:38 +00:00
moddep.ss fix module-path-index spec and use related to resolved module paths 2008-09-02 13:54:43 +00:00
modprot.ss (v4.1.5.5) repair interaction of provides redirected by a rename-transformer, certification of access to unexported variables, and protected exports; also get rid of kernel-reprovide special case in export handling, because a more general export-sharing technique subsumed the special case long ago 2009-04-24 14:59:09 +00:00
module-reader.ss use "anonymous-module" for modules without a source file 2009-12-06 10:46:05 +00:00
module.ss Allow concurrent testing 2009-11-02 23:24:08 +00:00
mpair.ss start mzc scribbling 2008-01-15 13:09:40 +00:00
mz-tests.ss unsafe ops (v4.2.1.8) 2009-09-06 18:24:46 +00:00
mzlib-tests.ss removed old copy of md5 tests from mzscheme tests 2009-12-20 09:58:19 +00:00
mzlonglong.c Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00
mzq.ss * Rename files to follow `foo-tests.ss' for files that are sets of tests. 2008-08-30 23:03:14 +00:00
name.ss disallow empty application; rename regexp-match/fail-without-reading to regexp-try-match 2007-12-29 13:51:32 +00:00
namespac.ss eval and phases (4.0.1.2) 2008-06-25 18:54:38 +00:00
nch.ss Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00
net.ss remove old net tests 2009-03-17 11:42:31 +00:00
number.ss fix bignum expt (PR 10690); also fixed a doc typo 2010-01-12 02:16:12 +00:00
numstrs.ss fix bug parsing polar notation conbined with #e 2009-05-20 00:18:15 +00:00
object-old.ss use new require specs in many places 2008-02-23 09:42:03 +00:00
object.ss normalized the results of procedure-arity 2010-01-06 19:34:29 +00:00
oe.ss Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00
openssl.ss * Newlines at EOFs 2008-07-09 07:18:06 +00:00
optimize.ss improve inling to support ((let (....) (lambda ....)) arg ...) patterns; allow nested 'let's for local flonum binding (which fixes a problem where unsafe flonum operations could end up much slower than safe ones) 2010-02-05 00:16:06 +00:00
pack.ss * Newlines at EOFs 2008-07-09 07:18:06 +00:00
package-gen.ss another syntax hack to fix 'scheme/package'; other test corrections 2009-11-27 02:12:27 +00:00
package.ss another syntax hack to fix 'scheme/package'; other test corrections 2009-11-27 02:12:27 +00:00
parallel.ss another syntax hack to fix 'scheme/package'; other test corrections 2009-11-27 02:12:27 +00:00
param.ss more drscheme repairs and tests 2008-05-07 16:31:20 +00:00
path.ss repair mz test suite 2007-11-18 04:34:49 +00:00
pathlib.ss fix a file-relative-path test for windows (merge to 4.1.4) 2009-01-19 04:32:46 +00:00
pconvert.ss added prop:print-converter 2009-03-04 02:54:22 +00:00
port.ss v3.99.0.2 2007-11-13 12:40:00 +00:00
portlib.ss Add in-port', port->list', `file->list'. 2009-10-29 18:49:34 +00:00
pp-regression.ss fix pretty-print so that special handling of 'lambda', 'quote', etc. doesn't hide sharing that shoul dbe displayed 2008-06-27 22:07:28 +00:00
pretty.ss fix pretty-print hash table test 2008-07-03 00:33:05 +00:00
procs.ss keyword in methods and apply; procedure-reduce-keyword-arity 2008-04-22 18:00:04 +00:00
prompt-sfs.ss another syntax hack to fix 'scheme/package'; other test corrections 2009-11-27 02:12:27 +00:00
prompt-tests.ss fix delim-cont bug (in the case that a captured continuation is delimited in the middle of a meta-contiuation that isn't the current one) 2008-04-30 03:01:40 +00:00
prompt.ss add propagated arguments to 'call-with-continuation-prompt'; streamline 'with-handlers' expansion; speed up slightly some JITted cross-module function calls 2009-01-02 21:57:31 +00:00
quiet.ss try to sort outputs out 2009-10-30 06:42:51 +00:00
read.ss add eqv hash tables; add hash-update 2008-10-13 16:21:18 +00:00
README document the last change 2006-07-07 23:47:06 +00:00
readtable.ss * Newlines at EOFs 2008-07-09 07:18:06 +00:00
restart.ss use new require specs in many places 2008-02-23 09:42:03 +00:00
runflats.ss mzc -e repairs 2008-05-05 22:32:16 +00:00
rx.ss test for tailing-vertical-bar regexp bug 2008-04-24 19:04:16 +00:00
sandbox.ss test forbidden nested calls 2009-01-31 20:24:35 +00:00
scheme-tests.ss added scheme/fixnum 2009-12-23 15:41:40 +00:00
serialize.ss use new 'serialized=?' to tighten setup scribble fixpoint 2008-06-23 19:28:08 +00:00
shared-tests.ss undid my broken commit 2009-10-30 16:11:34 +00:00
shared.ss use new require specs in many places 2008-02-23 09:42:03 +00:00
srfi.ss Fix drdr props. 2009-11-10 15:41:32 +00:00
stream.ss another syntax hack to fix 'scheme/package'; other test corrections 2009-11-27 02:12:27 +00:00
string-mzlib.ss * Move the scheme/contract tests to scheme.ss 2008-04-08 12:29:04 +00:00
string.ss fix problem with regexp-match*, etc. and byte regexps (merge to 4.2.2) 2009-09-26 18:50:41 +00:00
struct.ss fix struct type immutable-field handling and checking of prop:procedure values (PR 9914 and more) 2008-11-15 02:49:54 +00:00
structlib.ss use new require specs in many places 2008-02-23 09:42:03 +00:00
stx.ss fixed test for binding of delay that moved again 2009-12-06 05:15:20 +00:00
subprocess.ss fix file-descriptor leak in process[*]/ports (PR 10229) 2009-05-04 12:22:01 +00:00
sync.ss fix problems with having a struct implement both prop:evt and prop:procedure; merge to 4.2.4 2010-01-24 15:30:16 +00:00
syntax-tests.ss merged changes from /branches/ryanc/sp2: 2009-07-03 19:47:25 +00:00
syntax.ss move promise tests to tests/lazy 2009-11-15 00:36:24 +00:00
tcp.ss Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00
testing.ss extra flushing 2009-10-30 07:50:49 +00:00
thread.ss wrap each top-level form in a module with a prompt 2010-01-31 17:04:55 +00:00
threadlib.ss fix coroutine API and test to avoid timeout races 2008-03-06 14:08:29 +00:00
thrport.ss Better output: using quiet.ss will show nothing except for section 2006-07-07 23:46:35 +00:00
trace.ss mu 2009-09-29 04:38:02 +00:00
trait.ss use new require specs in many places 2008-02-23 09:42:03 +00:00
udp.ss Allow binding to ephemeral ports 2009-10-20 17:00:20 +00:00
uinc.ss Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00
uinc2.ss Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00
uinc3.ss Adding collects, with all the right properties (except eoln-style). 2005-05-27 18:56:37 +00:00
uni-norm.ss Unicode 5.0, use U+FFFD as replacement char 2008-03-01 14:17:50 +00:00
unicode.ss Unicode 5.0, use U+FFFD as replacement char 2008-03-01 14:17:50 +00:00
unit.ss * Newlines at EOFs 2008-07-09 07:18:06 +00:00
unitsig.ss * Newlines at EOFs 2008-07-09 07:18:06 +00:00
unsafe.ss fill out fl and fx operations; repair fixnum-overflow bug in quotient 2010-01-07 03:30:33 +00:00
vector.ss added some vector-copy tests 2009-11-21 13:21:30 +00:00
version.ss Change parsing of old versions: 2008-08-23 07:06:33 +00:00
will.ss some gc-related tests 2008-12-04 23:04:10 +00:00
zo-marshal.ss all expression forms tested for zo-marshal 2009-03-06 23:27:10 +00:00
ztest.ss use new require specs in many places 2008-02-23 09:42:03 +00:00

To run most of the tests, run:
 > (load "PATHTOHERE/all.ss")
where PATHTOHERE is the path to this directory.  

Test failures may cause the test to stop before finishing, but most
test failures will let the test continue, and a summary message at the
end will enummerate the failures that occurred.

Some files and directories are created (in the current directory)
during the run. The files are named "tmp<N>" where <N> is a number.
The directory is named "deep". If the test suite passes, the directory
should be removed, but some "tmp<N>" files will remain. (The "tmp<N>"
files are automatically replaced if the test suite is run again.)

Additionally, test `expand' by running:
 > (load "PATHTOHERE/expand.ss")

Test compilation and writing/reading compiled code with:
 > (load "PATHTOHERE/compile.ss")

Run the standard tests with no output except for the results with:
 > (load "PATHTOHERE/quiet.ss")
(Also get an error code -- use with scripts.)

Run 3 copies of the test suite concurrently in separate threads:
 > (load "PATHTOHERE/parallel.ss")


Please report bugs using Help Desk, or
  http://bugs.plt-scheme.org/
or (as a last resort) send mail to
  scheme@plt-scheme.org