Commit Graph

1061 Commits

Author SHA1 Message Date
Matthew Flatt
d0419345d8 clean up extended in-vector, in-string, and in-bytes
svn: r11124
2008-08-07 12:13:21 +00:00
Eli Barzilay
e1f7ee507a Moved time-keystrokes to tests/drscheme
svn: r11120
2008-08-07 05:57:25 +00:00
Robby Findler
a4aaa18f9c added a scheme/load test
svn: r11118
2008-08-07 01:36:48 +00:00
Robby Findler
5b33922526 renamed paste-in to a more accurate name
svn: r11117
2008-08-07 01:31:07 +00:00
Eli Barzilay
3ae6db6f65 Another improvement + test
svn: r11116
2008-08-07 00:38:36 +00:00
Eli Barzilay
78170587c2 * Fixed a minor bug in the module language
* More test improvement, remove test-debugging `sleep'
* Add tests for new module language behavior with misc errors

svn: r11115
2008-08-06 21:16:51 +00:00
Eli Barzilay
2d553df7ef very improved module-language tests, update them to work with the new messages
svn: r11109
2008-08-06 20:10:28 +00:00
Eli Barzilay
8d6438c526 set svn:eol-style
svn: r11100
2008-08-06 05:58:02 +00:00
Robby Findler
3f14a1325c all drs test suites now passing except module language
svn: r11091
2008-08-05 20:27:17 +00:00
Eli Barzilay
12390fb891 improvements
svn: r11078
2008-08-05 11:36:33 +00:00
Robby Findler
38c7cbd6de svn: r11075 2008-08-04 22:53:21 +00:00
Noel Welsh
ed0bd51c8b Add support for start/stop/step parameters to in-vector comprehension forms. Vector like comprehensions (strings etc) actually support this as well, when used in the body of the for comprehension. However this will not be documented as support do not extend to sequences defined outside a comprehension.
svn: r11068
2008-08-04 18:38:47 +00:00
Sam Tobin-Hochstadt
4ba9376131 These tests now pass.
svn: r11067
2008-08-04 18:36:38 +00:00
Eli Barzilay
c4f62cfc13 use schemeunit version 2
svn: r11049
2008-08-03 14:47:02 +00:00
Eli Barzilay
6994edd977 * Revised lazy/force so it actually works:
- `!!' now scans the same kind of data that `make-reader-graph'
    handles (except that hash-tables are not implemented)
  - this means no structs, no mpairs, and a bunch of other stuff
  - `!!!' is gone (lazy procedures are not wrapped)
  - dealing with multiple values moved into lazy/lazy.ss itself (and
    in the future everything will move in there)
* Removed lazy/promise, and use scheme/promise instead.  Also remove
  the docs for lazy/promise that were bogus (since scheme/promise *is*
  doing the same thing now).
* Other adjustments to the docs.  They should be considered incomplete
  now, and will need a major rewrite when the whole thing works again
  (multiple values things are just commented out for now).
* Added a test macro and a quick test suite for lazy/promise.
* The lazy tests are added to the nightly build tests

svn: r11042
2008-08-03 06:28:25 +00:00
Sam Tobin-Hochstadt
28c5e71b01 Fix bug 9649.
svn: r11029
2008-08-01 20:57:48 +00:00
Matthew Flatt
eb88bee42b R6RS test suite contributions
svn: r11026
2008-08-01 20:23:32 +00:00
Matthew Flatt
f4df83106e fix r6rs syntax-case yet again (PR 9647)
svn: r11024
2008-08-01 17:45:21 +00:00
Matthew Flatt
70137b8789 update Ypsilon instructions
svn: r11018
2008-08-01 13:05:22 +00:00
Matthew Flatt
ea0a7cdfb5 add divide-by-zero tests for div, mod, etc.
svn: r11014
2008-07-31 20:45:17 +00:00
Matthew Flatt
c13fa1d24c adjust test to not require distinguished 0.0 and -0.0; add some fixnum overflow tests
svn: r11011
2008-07-31 20:18:38 +00:00
Sam Tobin-Hochstadt
14b180d5a7 add test
svn: r11009
2008-07-31 19:26:13 +00:00
Sam Tobin-Hochstadt
72a2b55c13 Dynamic require only requires Schemeunit 2
svn: r11007
2008-07-31 12:44:25 +00:00
Matthew Flatt
8140b3644e add 'bitwise-bit-set?' and 'in-value' (v4.0.2.6)
svn: r10971
2008-07-29 19:27:33 +00:00
Matthew Flatt
27375c0d5a fix equal? on transparent R6RS records
svn: r10949
2008-07-28 20:30:25 +00:00
Robby Findler
eaf979b749 added a search anchor to drschemes new search facility
svn: r10946
2008-07-28 18:40:34 +00:00
Matthew Flatt
616ec71325 fix for/or and for/and when one of the clauses binds multiple values
svn: r10926
2008-07-26 21:38:39 +00:00
Matthew Flatt
35638a8c5a fix R6RS syntax->datum and fix broken tests (as reported by Will)
svn: r10924
2008-07-26 20:38:02 +00:00
Matthew Flatt
c1983f1984 fix syntax-case tests
svn: r10922
2008-07-26 20:29:40 +00:00
Matthew Flatt
e7e188143f update R6RS test readme, espeically for Ypsilon
svn: r10919
2008-07-26 12:31:17 +00:00
Matthew Flatt
949032b03e fix UTF-16 encoding tests again (assume BE when no BOM)
svn: r10909
2008-07-25 13:07:59 +00:00
Matthew Flatt
5ff90cdd42 fix checkable menu delete/restore
svn: r10908
2008-07-25 12:38:43 +00:00
Matthew Flatt
9fece2f96b more repairs from Will
svn: r10907
2008-07-25 12:38:03 +00:00
Matthew Flatt
49a015e890 R6RS test suite fixes from Will
svn: r10904
2008-07-25 01:06:27 +00:00
Matthew Flatt
2c0b17cf19 fix bytevector-ieee-native-... tests (from Aziz) and checking in implementation
svn: r10893
2008-07-24 09:56:36 +00:00
Matthew Flatt
e137994b5c add on-reflow to text% and auto-size to message%
svn: r10890
2008-07-24 01:35:31 +00:00
Matthew Flatt
e7eefb84c5 change display of multiple-value failures in r6rs test suite
svn: r10889
2008-07-24 00:27:33 +00:00
Matthew Flatt
643b24c3b7 change the way multiple-value results are compared in r6rs test suite
svn: r10888
2008-07-24 00:23:05 +00:00
Matthew Flatt
5a5f52d99c add run-via-eval (from Aziz)
svn: r10887
2008-07-23 22:34:07 +00:00
Matthew Flatt
a1ee4b8703 update r6rs test suite notes
svn: r10885
2008-07-23 21:23:51 +00:00
Matthew Flatt
2db7898f70 more r6rs test missing record-type-descriptors
svn: r10884
2008-07-23 20:58:43 +00:00
Matthew Flatt
84003497a0 use function for fx/carry tests
svn: r10881
2008-07-23 16:18:47 +00:00
Matthew Flatt
f7767aefaa slight improvement to R6RS carry-test expansion
svn: r10879
2008-07-23 15:51:13 +00:00
Matthew Flatt
7bd75641c7 r6rs test changes: change utf-8 to latin-1 as suggested by Will, and add missing tests for some carry functions
svn: r10878
2008-07-23 15:40:09 +00:00
Matthew Flatt
d343751862 another r6rs test
svn: r10875
2008-07-23 13:19:30 +00:00
Matthew Flatt
7a21aff2e6 r6rs test fixes from leppie
svn: r10874
2008-07-23 13:17:10 +00:00
Matthew Flatt
8e1add79c9 R6RS syntax vector repair (PR 9625)
svn: r10870
2008-07-23 12:25:41 +00:00
Matthew Flatt
fe84c8c6a3 protect nan? test by real?, as Aziz points out; also fix nan?, finite?, and infinite? to insist on real arguments
svn: r10869
2008-07-23 01:06:26 +00:00
Matthew Flatt
4947ae6711 finish fishing records/syntactic tests
svn: r10868
2008-07-23 00:57:42 +00:00
Matthew Flatt
41f89d35f8 R6RS test repairs form Aziz
svn: r10867
2008-07-23 00:50:22 +00:00
Matthew Flatt
837429315a refine r6rs test suite notes, again
svn: r10866
2008-07-22 22:01:13 +00:00
Matthew Flatt
6f6a3f27d0 refine r6rs test suite notes
svn: r10864
2008-07-22 21:42:39 +00:00
Matthew Flatt
6c43d23bc4 add editor-scroll-to method of editor<%>
svn: r10860
2008-07-22 13:17:09 +00:00
Matthew Flatt
a690f715c5 some r6rs test suite fixes
svn: r10857
2008-07-21 23:10:59 +00:00
Matthew Flatt
9af18d6971 R6RS tests: sps files for more convenient testing, README on how to run
svn: r10854
2008-07-21 22:16:19 +00:00
Matthew Flatt
ec75a07fc6 .ss -> .sls for portable R6RS tests
svn: r10853
2008-07-21 20:51:33 +00:00
Matthew Flatt
a3bf5c9523 fix spectral-norm benchmark
svn: r10851
2008-07-21 20:38:51 +00:00
Matthew Flatt
319c7406a2 fix shootout problems
svn: r10850
2008-07-21 20:01:30 +00:00
Matthew Flatt
5ff75bac42 allow duplicate struct properties if the values are eq?; add position-locations to text%
svn: r10849
2008-07-21 18:54:09 +00:00
Matthew Flatt
763d37d775 properties can now effectively inherit properties (v4.0.2.5)
svn: r10848
2008-07-21 17:04:25 +00:00
Matthew Flatt
1091050692 more shootout clean-up
svn: r10841
2008-07-19 14:47:13 +00:00
Matthew Flatt
55a44ae5bc shootout benchmarks
svn: r10840
2008-07-19 14:27:00 +00:00
Matthew Flatt
b8672845fc shootout benchmarks
svn: r10839
2008-07-19 02:40:34 +00:00
Matthew Flatt
83e7774bee shootout benchmark improvements
svn: r10837
2008-07-19 01:00:27 +00:00
Matthew Flatt
b8aa628d1e shootout updates
svn: r10836
2008-07-19 00:11:10 +00:00
Matthew Flatt
69d604c0be fix udp test and update docs related to socket re-binding
svn: r10835
2008-07-18 21:33:11 +00:00
Matthew Flatt
6e668cbb00 fix R6RS template handling of consecutive ellipses
svn: r10824
2008-07-17 17:55:52 +00:00
Matthew Flatt
04af3c8f01 fix logger name handling
svn: r10823
2008-07-17 17:41:05 +00:00
Matthew Flatt
a14a6d7272 fix R6RS parsing ofr numbers that start with two # things, like #i#xe/f
svn: r10822
2008-07-17 17:38:06 +00:00
Matthew Flatt
9af00fcfb4 v4.0.2.4: logging
svn: r10818
2008-07-17 15:20:17 +00:00
Stevie Strickland
91291ba2bc Add the forall Unicode symbol as an acceptable replacement for the
All type constructor.

svn: r10797
2008-07-16 17:37:05 +00:00
Stevie Strickland
0cd54c9e33 Merging in the following code:
svn merge -r10197:10773 http://svn.plt-scheme.org/plt/branches/samth/dots
svn merge -r10210:10737 http://svn.plt-scheme.org/plt/branches/samth/dots-tests

This adds non-uniform variable-arity polymorphism to Typed Scheme.

svn: r10778
2008-07-15 19:03:59 +00:00
Eli Barzilay
a0d4bc8393 removed leftovers
svn: r10770
2008-07-14 15:37:56 +00:00
Eli Barzilay
19095ff14b * Added `version->integer'
* Added tests (mostly just that for now)
* Documented `version/utils'

svn: r10756
2008-07-14 07:56:18 +00:00
Matthew Flatt
0f97bbcd9e improve regexp to see through certain groupings to pick a 'regmust' string to speed up match failures (PR 9602)
svn: r10750
2008-07-13 21:36:58 +00:00
Stevie Strickland
05e54f0dfe I thought I checked this in, but apparently not! Oops. 2008-07-13 04:35:54 -04:00
Matthew Flatt
de3b46aa5b refine fix of equal? on immutable hash tables and add a test
svn: r10707
2008-07-10 13:50:56 +00:00
Matthew Flatt
a4cc0f7890 %-encoding extension in module paths; new r6rs library name encoding
svn: r10697
2008-07-09 15:41:38 +00:00
Eli Barzilay
7d50e61c7f * Newlines at EOFs
* Another big chunk of v4-require-isms
* Allow `#lang framework/keybinding-lang' for keybinding files
* Move hierlist sources into "mrlib/hierlist", leave stub behind

svn: r10689
2008-07-09 07:18:06 +00:00
Matthew Flatt
bdbcd1a56c doc corrections/clarifications for 'when' and 'lambda'
svn: r10674
2008-07-08 14:55:06 +00:00
Sam Tobin-Hochstadt
717a812835 Add new test for force/delay.
Fix tests that have errors to have appropriate parameters.
2008-07-07 17:15:10 -04:00
Sam Tobin-Hochstadt
f2699abe65 Int is not a type 2008-07-07 15:36:45 -04:00
Sam Tobin-Hochstadt
41c9a2eaf1 Fix exn-pred handling. 2008-07-07 15:19:50 -04:00
Sam Tobin-Hochstadt
477cba1b0b More failure tests. 2008-07-07 15:06:21 -04:00
Sam Tobin-Hochstadt
88cbe63879 Add failure cases. 2008-07-07 14:49:19 -04:00
Sam Tobin-Hochstadt
2714b3a84a Since this is now in a different loc, need to fix up the require. 2008-07-07 12:56:19 -04:00
Sam Tobin-Hochstadt
3dbf0f7ccc Adding Sam's test for value dots. 2008-07-07 12:54:45 -04:00
Robby Findler
7be05fcf8b added zero size rectangles, ellipses, circles, and strings
svn: r10610
2008-07-05 01:58:36 +00:00
Robby Findler
4993e26b0a PR 9442
svn: r10603
2008-07-04 20:22:33 +00:00
Matthew Flatt
ec12a7f459 fix pretty-print hash table test
svn: r10568
2008-07-03 00:33:05 +00:00
Eli Barzilay
f3559964fb Added split-at' and split-at-right', with documentation and tests,
and made srfi/1 use it.

svn: r10558
2008-07-02 13:12:26 +00:00
Eli Barzilay
1002366103 * Implemented drop' instead of a synonym for list-tail' (so error
messages are better; speed should be comparable)
* added `take-right' and `drop-right' to scheme/list, with tests and
  documentation
* also, minor documentation bug (wrong result type for `drop' can
  return `any/c')
* drop the implementation of them from srfi/1, reprovide the
  scheme/list versions

svn: r10555
2008-07-02 10:04:57 +00:00
Matthew Flatt
6cbd467e17 expand pretty-print tests (PR 9567)
svn: r10552
2008-07-02 01:45:09 +00:00
Stevie Strickland
b90e1505d3 Example of nested polydots. 2008-07-01 14:43:44 -04:00
Sam Tobin-Hochstadt
4578b926c0 Add file for carl. 2008-07-01 11:58:28 -04:00
Sam Tobin-Hochstadt
bbae111229 Extra require.
Compile files first.
2008-07-01 11:27:05 -04:00
Matthew Flatt
44c5a75739 fix some phase problems in program-processing programs
svn: r10503
2008-06-29 15:11:20 +00:00
Matthew Flatt
69b4ffc7c0 fix pretty-print so that special handling of 'lambda', 'quote', etc. doesn't hide sharing that shoul dbe displayed
svn: r10482
2008-06-27 22:07:28 +00:00
Matthew Flatt
e62bb306fa fix R6RS string->number (PR 9546), document non-conformace of initial handler (PR 9547)
svn: r10457
2008-06-26 13:13:10 +00:00
Matthew Flatt
da82fe2a2d eval and phases (4.0.1.2)
svn: r10452
2008-06-25 18:54:38 +00:00
Sam Tobin-Hochstadt
15eb016e25 Fix PR 9540
svn: r10448
2008-06-24 23:52:16 +00:00
Sam Tobin-Hochstadt
97c5444b88 Check number of type errors. 2008-06-24 14:05:24 -04:00
Sam Tobin-Hochstadt
d7cf0a10c0 new test 2008-06-24 11:43:06 -04:00
Matthew Flatt
3f60a478ad use new 'serialized=?' to tighten setup scribble fixpoint
svn: r10428
2008-06-23 19:28:08 +00:00
Stevie Strickland
e4a0dc82b3 Let's also try out the abstracted version of this function. 2008-06-21 21:09:03 -04:00
Stevie Strickland
48961eb551 Remove the bits and pieces used to diagnose the original file, and add the
non-outer-apply versions (that have no reason not to work).
2008-06-20 17:50:15 -04:00
Stevie Strickland
ce58c4c676 Revert last change. 2008-06-20 15:47:22 -04:00
Sam Tobin-Hochstadt
b2edd9d197 Remove no-longer-needed inst. 2008-06-20 15:27:59 -04:00
Sam Tobin-Hochstadt
89cb3a4b09 Small changes needed after changes to infer. 2008-06-20 14:46:24 -04:00
Sam Tobin-Hochstadt
bec9c11fd4 Correct and incorrect uses of dotted identity 2008-06-20 13:07:42 -04:00
Stevie Strickland
a1f078fb59 Another change. 2008-06-19 19:12:39 -04:00
Stevie Strickland
af12feb729 Another example, putting in starred for dots. 2008-06-19 19:10:05 -04:00
Sam Tobin-Hochstadt
2bf691991c New test 2008-06-19 18:04:30 -04:00
Sam Tobin-Hochstadt
e62598ef08 More tests! 2008-06-19 16:55:26 -04:00
Sam Tobin-Hochstadt
2a7dbe2a80 Add unit test for dotted instantiation, and add version of
fold-left/fold-right that explicitly instantiates the
recursive call.
2008-06-19 14:59:19 -04:00
Sam Tobin-Hochstadt
36408a32d5 Fix test to expecte effects.
Remove useless annotation.
2008-06-19 13:23:27 -04:00
Sam Tobin-Hochstadt
1af866586e Fix tests, add filter tests. 2008-06-19 12:41:06 -04:00
Kathy Gray
08015efba8 Indenter bug corrections; indented files according to indenter
svn: r10371
2008-06-19 13:40:25 +00:00
Stevie Strickland
8256f922f9 Instantiation... seems to be broken. Adding unit tests to alert us to that
fact.
2008-06-18 18:22:16 -04:00
Sam Tobin-Hochstadt
8a66c759dc Fix identifier issues in fold-left/fold-right. 2008-06-18 17:36:12 -04:00
Sam Tobin-Hochstadt
b5bfb18961 Tests in here that now succeed 2008-06-18 17:22:16 -04:00
Stevie Strickland
f1211df156 I don't know why this wasn't caught before, but with recent changes, it's now
caught correctly.
2008-06-18 16:16:11 -04:00
Stevie Strickland
449a784c1d Remove this, as it isn't needed. 2008-06-18 16:03:45 -04:00
Stevie Strickland
f80711bc9e Split this out into what should succeed and what should fail. 2008-06-18 15:07:00 -04:00
Stevie Strickland
0c6ad7f08b Forgot to add stars here. 2008-06-18 15:06:48 -04:00
Stevie Strickland
467b138cda New test for lambda formal list mismatches. 2008-06-18 15:03:12 -04:00
Stevie Strickland
4b3508a890 Add * where appropriate. 2008-06-18 13:01:43 -04:00
Kathy Gray
1862bffc93 Testengine test file (in wrong directory, probably).
svn: r10338
2008-06-18 12:20:17 +00:00
Sam Tobin-Hochstadt
8e498458aa More tests. Not all of them pass yet, but we are hopeful. 2008-06-17 18:10:41 -04:00
Sam Tobin-Hochstadt
3f180f88da New tests 2008-06-17 16:24:30 -04:00
Sam Tobin-Hochstadt
59e2dc4dea New tests 2008-06-17 14:28:41 -04:00
Sam Tobin-Hochstadt
93c937f909 Adding testcases for dotted function application to rest args via apply. 2008-06-17 12:58:15 -04:00
Sam Tobin-Hochstadt
c7733e5e34 Use map instead of map* 2008-06-17 10:46:39 -04:00
Stevie Strickland
bcb205a930 Add examples of each. 2008-06-16 19:02:45 -04:00
Sam Tobin-Hochstadt
a43b2f5681 Change map* to map. 2008-06-16 13:28:27 -04:00
Sam Tobin-Hochstadt
27073e07fd More testing. 2008-06-13 17:04:22 -04:00
Matthew Flatt
1d34ff568a check-expect tests for HtDP languages
svn: r10258
2008-06-13 17:40:20 +00:00
Eli Barzilay
87bb5ee526 use proper tmp directory, remove temp file
svn: r10254
2008-06-13 17:06:05 +00:00
Stevie Strickland
df91f204d2 Test cases that should succeed and fail for star/dots mixes. 2008-06-13 12:08:43 -04:00
Stevie Strickland
6da5171b28 Add fixed-args mismatch between starred/dotted functions. 2008-06-12 14:08:23 -04:00
Kathy Gray
7f085f7e2b Switching to scheme/base instead of mzscheme
Addition of support for stm (to-scheme.ss only)

svn: r10232
2008-06-12 14:46:43 +00:00
Matthew Flatt
930650491f fix mod-collapse bug with 'up' elements relative to planet paths
svn: r10229
2008-06-12 12:18:30 +00:00
Sam Tobin-Hochstadt
eb9147a0fa Add new tests 2008-06-11 17:16:58 -04:00
Sam Tobin-Hochstadt
97847c32c4 Added new test for constraint solving on starred functions with different fixed arg lengths. 2008-06-11 11:41:46 -04:00
Sam Tobin-Hochstadt
4ae4141257 Changes to tests for ... 2008-06-10 16:40:05 -04:00
Matthew Flatt
301a91e0ad fix moddep test for Windows
svn: r10186
2008-06-07 12:15:06 +00:00
Sam Tobin-Hochstadt
d9134861c4 Run tests in new namespaces.
svn: r10180
2008-06-06 17:19:53 +00:00
Matthew Flatt
26d4346984 moddep tests
svn: r10179
2008-06-06 15:57:56 +00:00
Matthew Flatt
5f5c70eafb fix some docs and tests
svn: r10176
2008-06-06 15:39:59 +00:00
Noel Welsh
a33a97de59 NHW: Fix an error in the require statement for SRFI 66.
svn: r10169
2008-06-06 13:21:07 +00:00