Commit Graph

1061 Commits

Author SHA1 Message Date
Matthew Flatt
72055191b4 add printable<%>
svn: r11705
2008-09-12 22:50:09 +00:00
John Clements
5895f67bfe fixed stepper tests
svn: r11694
2008-09-12 18:19:33 +00:00
John Clements
92df21d9df added stepper to automatic tests
svn: r11652
2008-09-11 21:12:50 +00:00
Sam Tobin-Hochstadt
4f5a412230 Merge in keywords branch and directory reorg.
svn: r11643
2008-09-11 14:07:10 +00:00
John Clements
041cfa3264 ...
svn: r11638
2008-09-11 05:22:37 +00:00
John Clements
a115dc3d8b re-added run-nightly-tests.ss
svn: r11632
2008-09-10 15:31:33 +00:00
Eli Barzilay
bb470554a5 optimizations: use vectors instead of move-procs, avoid mapping symbols, tighten loops, use bytes, keep only min+max solutions etc
svn: r11624
2008-09-10 00:52:11 +00:00
John Clements
d7d9d32b26 moved mz tests to scheme/base
svn: r11622
2008-09-09 22:43:23 +00:00
Eli Barzilay
59af2e57d2 a vector version
svn: r11585
2008-09-09 08:32:31 +00:00
Eli Barzilay
9c5166ac6a misc improvements
svn: r11584
2008-09-09 08:31:33 +00:00
Eli Barzilay
d574d1461a new shootout comment, indentation, parens, etc
svn: r11583
2008-09-09 04:21:56 +00:00
Robby Findler
805d4eb73f refined searching
svn: r11581
2008-09-09 03:43:57 +00:00
Matthew Flatt
1a8b6cb824 fix mistakes in augment corrections; fix runtime-path handling of lib paths
svn: r11577
2008-09-08 19:44:32 +00:00
Matthew Flatt
74addc1b71 fix checking of augment on a method that is overridable but was formerly augmentable
svn: r11574
2008-09-08 14:41:56 +00:00
Eli Barzilay
9e3e6b7444 New gmp-based solution, based on the perl solution
svn: r11572
2008-09-08 09:40:11 +00:00
Robby Findler
4f24a1c0cd fixed a bug replating to zero sized images
svn: r11569
2008-09-07 13:28:44 +00:00
Robby Findler
2ece9d9e95 PR 9729
svn: r11567
2008-09-07 12:46:17 +00:00
Matthew Flatt
a0b85a2210 add linker flags for linux for embeddig test
svn: r11565
2008-09-07 12:43:34 +00:00
Matthew Flatt
fb1ee7d8cf add test for embedding MzScheme and resetting via scheme_basic_env
svn: r11564
2008-09-07 12:41:20 +00:00
Robby Findler
44b62899fa improved blame error message when there is no source location
svn: r11526
2008-09-02 16:12:13 +00:00
Matthew Flatt
2b98280729 fix module-path-index spec and use related to resolved module paths
svn: r11523
2008-09-02 13:54:43 +00:00
Eli Barzilay
093fe73855 * Minor extension (#:wrapper2 can accept an stx? boolean too)
* Added a more sophisticated test (scribble syntax with an arbitrary
  language), based on documentation example
* Documentation

svn: r11502
2008-09-01 04:23:50 +00:00
Eli Barzilay
3b5cf38853 typo
svn: r11498
2008-08-31 17:59:59 +00:00
Eli Barzilay
7d6bc32ed9 * Extended syntax/module-reader to deal with many more situations
using keywords, and allowing arbitrary code in the reader module
* Added tests for the new functionality
* Used the new stuff for the r5rs, r6rs, and honu readers

svn: r11495
2008-08-31 06:25:41 +00:00
Eli Barzilay
711401bd55 * Rename files to follow `foo-tests.ss' for files that are sets of tests.
* Group syntax tests into their own file.

svn: r11494
2008-08-30 23:03:14 +00:00
Matthew Flatt
ae9e317b44 fix more problems collapsing planet paths
svn: r11489
2008-08-29 21:45:38 +00:00
Matthew Flatt
797c141ede fix problems collapsing planet module paths
svn: r11488
2008-08-29 21:35:40 +00:00
Jay McCarthy
08e2704d8d Fixing web-cell bug
svn: r11485
2008-08-29 18:22:28 +00:00
Jay McCarthy
5d4338ff24 New tests
svn: r11484
2008-08-29 18:13:40 +00:00
Eli Barzilay
20e9673028 more base64-related changes
svn: r11470
2008-08-28 21:00:53 +00:00
Jay McCarthy
233dbc86e4 Moving tests into common directory
svn: r11440
2008-08-26 21:20:29 +00:00
Jay McCarthy
a194dfe369 Removing old web-server tests
svn: r11439
2008-08-26 21:19:06 +00:00
Eli Barzilay
c3985c706c Change parsing of old versions:
NNNpN -> N.NN.N
  NNN.N -> N.NN.0.N
This is better than mapping NNN.N to N.NN.N, because it follows the
fact that NNN.N were not release versions, so they're mapped to
numbers that are not release versions now.

svn: r11398
2008-08-23 07:06:33 +00:00
Eli Barzilay
b5fb8569cc * Deal with NNNpN versions as N.NN.N (eg, 103p1 => 1.03.1),
* Some more sane checks -- refuse old-style versions when it's higer
  than 380
* Added tests for these
* Move sanity check to tests (where it will do the same since it runs
  every day)

svn: r11397
2008-08-23 06:49:06 +00:00
Robby Findler
7f31137562 PR 9696
svn: r11381
2008-08-22 12:52:01 +00:00
Robby Findler
5c8864ac65 added (now properly failing) test case for PR 9696
svn: r11376
2008-08-22 03:54:39 +00:00
Robby Findler
a9592f0d46 added a test for values that print out as part of the scheme language top-level printing
svn: r11375
2008-08-21 22:54:52 +00:00
Matthew Flatt
408f2034d0 fix r6rs test suite problems with flushing on custom ports, and add more expt tests
svn: r11372
2008-08-21 19:51:07 +00:00
Sam Tobin-Hochstadt
252086b7ff Add test with or and multiple values from clklein.
svn: r11359
2008-08-20 19:52:13 +00:00
Matthew Flatt
6516518ae5 fix cm-accomplice and avoid redundant reader-module dependencies
svn: r11354
2008-08-20 13:29:42 +00:00
Matthew Flatt
ebab4270bf fix letrec compilation when call/cc is used on the RHS of something that otherwise looks like it could be let*; add #%in annotations to decompiler output
svn: r11329
2008-08-19 15:18:09 +00:00
Matthew Flatt
13182685e6 nbody binary arithmetic etc.
svn: r11319
2008-08-19 03:29:04 +00:00
Matthew Flatt
ebb811b491 fix R6RS log to accept 2 arguments
svn: r11197
2008-08-12 00:56:07 +00:00
Matthew Flatt
178c30e6e4 fix lcm on 0
svn: r11194
2008-08-11 23:55:32 +00:00
Matthew Flatt
19ae0c3741 adjust tests based on mistakes (as far as I can tell) in R6RS on string-titlecase and expt
svn: r11184
2008-08-11 18:01:52 +00:00
Chongkai Zhu
60f30c3a90 for v4.1
svn: r11180
2008-08-10 17:06:22 +00:00
Robby Findler
29b59ecaba adjusted require syntax
svn: r11178
2008-08-10 05:18:38 +00:00
Eli Barzilay
4632119a2a allow 15 minutes for the tests
svn: r11175
2008-08-10 02:04:25 +00:00
Eli Barzilay
a7248560da Protect against user code changing the namespace, plus tests. (PR9644)
svn: r11138
2008-08-08 08:56:00 +00:00
Eli Barzilay
372bbefdb3 * Added a `call-without-reset-highlighting' to "rep.ss"
* When the language does not have #%top-interaction binding, don't
  throw an error, just disable the repl (useful, for example, with
  setup/infotab as a langauge)
* To do that, used the above new method so that the original error
  highlighting is kept
* Updated tests, and added a test for using setup/infotab, verifying
  that no error is displayed.

svn: r11137
2008-08-08 08:25:17 +00:00
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