Commit Graph

1804 Commits

Author SHA1 Message Date
Matthew Flatt
b18ba4a4e5 fix use of 'random' in fixnum test suite
svn: r17397
2009-12-25 13:14:57 +00:00
Robby Findler
195d608fe5 added scheme/fixnum
svn: r17391
2009-12-23 15:41:40 +00:00
Matthew Flatt
f332afc3dd fix leak created by transitive thread-resume
svn: r17370
2009-12-20 15:39:55 +00:00
Eli Barzilay
942798196f removed old copy of md5 tests from mzscheme tests
svn: r17368
2009-12-20 09:58:19 +00:00
Eli Barzilay
bf2992ff97 md5 tests in the file tests
svn: r17367
2009-12-20 09:57:26 +00:00
Eli Barzilay
4cd3d34b43 require md5 from file/md5
svn: r17364
2009-12-20 09:46:09 +00:00
Stevie Strickland
fb85388288 Add this%, which is the class counterpart of the object reference "this".
svn: r17359
2009-12-19 20:56:40 +00:00
Matthew Flatt
0a1e4e6e83 fix an allocation in bytecode compiler; add flvector equality
svn: r17353
2009-12-18 21:53:02 +00:00
Matthew Flatt
9192f073d0 compiler flonum tweaks
svn: r17349
2009-12-18 16:59:05 +00:00
Matthew Flatt
fdd7122994 scheme/flonum (v4.2.3.8)
svn: r17348
2009-12-18 15:40:00 +00:00
Matthew Flatt
bc47db42e4 unboxed known-flonum loop accumulators
svn: r17338
2009-12-17 15:58:29 +00:00
Sam Tobin-Hochstadt
142bbf19fd fix to account for changes to common/cmdline.ss
svn: r17337
2009-12-17 15:46:48 +00:00
Sam Tobin-Hochstadt
9e6e9696af Use flsqrt.
Eliminate pointless micro-optimizations.

svn: r17330
2009-12-16 16:24:54 +00:00
Matthew Flatt
45e84ca087 unboxing of let-bound flonums (v4.2.3.6)
svn: r17328
2009-12-16 13:30:40 +00:00
Sam Tobin-Hochstadt
b9fd34b925 Fix type of string->number
svn: r17313
2009-12-15 22:03:10 +00:00
Sam Tobin-Hochstadt
a8851a8a3d Fix psyntax to work in DrDr
svn: r17311
2009-12-15 18:29:59 +00:00
Sam Tobin-Hochstadt
3687048bbb use flvectors in spectralnorm-unsafe
Add input info for spectralnorm-unsafe

svn: r17306
2009-12-15 16:26:47 +00:00
Matthew Flatt
d13057d8c4 add psyntax as a kind of realistic-program benchmark (I'd like to have more)
svn: r17298
2009-12-14 23:51:09 +00:00
Sam Tobin-Hochstadt
3331d907ea Add unsafe version of nbody shootout benchmark.
svn: r17288
2009-12-13 19:30:22 +00:00
Sam Tobin-Hochstadt
22903bffcd Fix handling of logical props in `tc-if'.
New numeric hierarchy.
Quoted lists and vectors now use the expected type, and quoted lists have (List a b c) type.  
Fix some contracts.
More general handling of polymorphic function application.
Use `make-provide/contract-transformer' to generate correct blame for typed provided identifiers.
Add mutable pairs. 
Use `raise-syntax-error' for better error messages in mzscheme.
Use `match*' instead of `list'
Some fixes to appease the contract checking.
Catch-all printing cases.
Use names in Base contract generation.
Types for lots of new primitives.
Move numeric primitives to their own file.
Move indexing primites to their own abstracted file.
Better error message from `define-struct:'
Fix 'insert-large-letters.ss' for new Number hierarchy.
Add `typed/scheme' and `typed/scheme/base', which use new number hierarcy types, stricter indexing types.

svn: r17284
2009-12-13 04:45:17 +00:00
Matthew Flatt
5772fa0a9f bytecode-compiler changes to help enable flonum unboxing
svn: r17283
2009-12-13 04:39:46 +00:00
Sam Tobin-Hochstadt
3e497704aa fix unit tests
svn: r17269
2009-12-11 17:01:55 +00:00
Sam Tobin-Hochstadt
791ec55787 fixes
svn: r17265
2009-12-11 00:25:59 +00:00
Sam Tobin-Hochstadt
314270113a sync to trunk
svn: r17263
2009-12-10 18:35:02 +00:00
Sam Tobin-Hochstadt
c8c9bd0556 Add `in-bytes-lines'
svn: r17261
2009-12-10 17:01:53 +00:00
Sam Tobin-Hochstadt
5767e23d87 checkpoint
svn: r17258
2009-12-10 15:32:17 +00:00
Sam Tobin-Hochstadt
cd0a94d465 sync to trunk
svn: r17249
2009-12-09 19:44:12 +00:00
Robby Findler
a429c3ff8d first attempt at randomly clicking on drscheme into drdr
svn: r17243
2009-12-08 22:24:38 +00:00
Sam Tobin-Hochstadt
be77cee733 Fix parsing of quoted lists in types to produce list types.
svn: r17237
2009-12-07 15:50:51 +00:00
Sam Tobin-Hochstadt
70f085713d PR 10647
svn: r17235
2009-12-07 13:55:36 +00:00
Eli Barzilay
f83bf42796 use "anonymous-module" for modules without a source file
svn: r17228
2009-12-06 10:46:05 +00:00
Eli Barzilay
6a88daecd8 fixed test for binding of delay that moved again
svn: r17223
2009-12-06 05:15:20 +00:00
Eli Barzilay
259350a7e1 untabity and minor formatting
svn: r17222
2009-12-06 05:06:40 +00:00
Robby Findler
ada899f158 added more examples and tests for order-of-magnitude
svn: r17212
2009-12-05 20:38:38 +00:00
Robby Findler
1a8bca736f PR 10581
svn: r17210
2009-12-05 18:35:25 +00:00
Eli Barzilay
b5114a14c1 formatting
svn: r17192
2009-12-05 02:23:46 +00:00
Stevie Strickland
5650cb9647 Fix the module-reader tests.
svn: r17183
2009-12-04 20:18:14 +00:00
Matthew Flatt
c73b587e98 inline flvector-length
svn: r17178
2009-12-03 18:04:02 +00:00
Matthew Flatt
4eef1b3cee flvectors
svn: r17177
2009-12-03 16:42:32 +00:00
Robby Findler
61da010d5f PR 10636
svn: r17163
2009-12-02 17:09:07 +00:00
Carl Eastlund
3b9d254fda Merged changes from branches/cce/plt+contract-tests:
- Added tests for make-proj-contract
- Added tests for opt/c, specifically to track 'positive-position?' blame
- Fixed 'positive-position?' in opt/c (bug 10629)

svn: r17105
2009-11-30 04:40:51 +00:00
John Clements
b2bcfdbec9 updated srfi 19 tests from dave gurnell
svn: r17084
2009-11-28 02:31:17 +00:00
Matthew Flatt
d3ff146643 fix JIT bug in multi-arity arithmetic inlining
svn: r17076
2009-11-27 03:35:36 +00:00
Matthew Flatt
f03ab78c40 another syntax hack to fix 'scheme/package'; other test corrections
svn: r17075
2009-11-27 02:12:27 +00:00
Matthew Flatt
61dd4ca0b9 add unsafe-f64vector-{ref,set!} and improve JIT to inline arithmetic ops with more than 2 arguments
svn: r17068
2009-11-26 15:07:16 +00:00
Carl Eastlund
edae542b58 unstable module for source location manipulation
svn: r17065
2009-11-25 20:49:29 +00:00
Sam Tobin-Hochstadt
e3bafbe298 checkpoint
svn: r17054
2009-11-25 02:30:41 +00:00
Sam Tobin-Hochstadt
1efedeb758 sync branch to trunk
svn: r17046
2009-11-24 18:47:48 +00:00
Sam Tobin-Hochstadt
29c4a84183 checkpoint
svn: r17045
2009-11-24 17:10:44 +00:00
Matthew Flatt
79817a2087 slimy pthread_getspecifc()-inlining trick to practically eliminate the overhead of futures support under OS X
svn: r16952
2009-11-22 02:34:40 +00:00
Eli Barzilay
28f5070d5e undo accidental commenting
svn: r16951
2009-11-22 02:22:19 +00:00
Sam Tobin-Hochstadt
5ea3e28078 check that we get correct blame
svn: r16950
2009-11-21 23:24:02 +00:00
Robby Findler
9454a471d3 added some vector-copy tests
svn: r16940
2009-11-21 13:21:30 +00:00
Sam Tobin-Hochstadt
750c971d07 checkpoint
svn: r16931
2009-11-21 00:11:37 +00:00
Sam Tobin-Hochstadt
6497745560 Skip backup files in tests.
More specific numeric types.
More subtyping relationships.

svn: r16922
2009-11-20 15:20:23 +00:00
Sam Tobin-Hochstadt
485c8a3567 checkpoint
svn: r16915
2009-11-20 05:20:23 +00:00
Sam Tobin-Hochstadt
1da2c7cd7d many fixes
svn: r16913
2009-11-20 03:56:57 +00:00
Eli Barzilay
9473d1809f test all orders fo lengths <= 3
svn: r16900
2009-11-19 22:05:02 +00:00
Robby Findler
8d96441673 PR 10591
svn: r16897
2009-11-19 20:29:36 +00:00
Eli Barzilay
0c0945bb08 properly disable TS tests on cgc
svn: r16842
2009-11-17 20:02:07 +00:00
Sam Tobin-Hochstadt
bbd2ff852e disable typed scheme tests on cgc
svn: r16839
2009-11-17 19:45:41 +00:00
Eli Barzilay
10183e8d19 fix moved test files, set svn:eol-style
svn: r16815
2009-11-16 17:35:23 +00:00
Robby Findler
4f5479e912 moved 2htdp/image test back into 2htdp collection (yeah!)
svn: r16812
2009-11-16 16:45:25 +00:00
Robby Findler
77e1707aa7 renamed README to README.ss
svn: r16809
2009-11-16 12:00:03 +00:00
Eli Barzilay
b1f5b0652c new kinds of promises
svn: r16807
2009-11-16 11:06:47 +00:00
Eli Barzilay
7917fd89fb moved srfi-19 tests to tests/srfi/19
svn: r16799
2009-11-16 07:30:49 +00:00
Eli Barzilay
de17c5f7da moved planet test to tests/planet
svn: r16798
2009-11-16 07:23:20 +00:00
Eli Barzilay
77d9f02c90 work around name problem in promise, avoid keeping the original exn in syntax errors in eli-tester
svn: r16796
2009-11-16 04:34:13 +00:00
Sam Tobin-Hochstadt
25f9bcfe03 Add types for with-output-to-string, open-output-nowhere
Fix time.ss test not to print

svn: r16790
2009-11-15 22:38:30 +00:00
Eli Barzilay
cecac1c6c1 delay is now defined as delay*
svn: r16780
2009-11-15 10:47:59 +00:00
Eli Barzilay
d66d5f7759 move promise tests to tests/lazy
svn: r16773
2009-11-15 00:36:24 +00:00
Matthew Flatt
2f0f249299 skip setup-plt compilation in 2htdp tests
svn: r16771
2009-11-14 15:54:33 +00:00
Ryan Culpepper
32e38ca0e4 macro-stepper:
do compile-time evals when expanding
    fixes: (begin macro-def macro-use) pattern
  updated tests for lifts change

svn: r16762
2009-11-13 21:41:01 +00:00
Sam Tobin-Hochstadt
a29172bc51 Add command line flags to disable things that are problematic for DrDr.
svn: r16751
2009-11-13 18:16:07 +00:00
Sam Tobin-Hochstadt
77bd8bac39 Fix for modern redex
svn: r16737
2009-11-13 00:13:09 +00:00
Robby Findler
676df4b338 added polygon
svn: r16735
2009-11-12 20:21:33 +00:00
Robby Findler
cacb4bd515 added above and above/places
svn: r16730
2009-11-12 16:25:02 +00:00
Robby Findler
88217a8aae added 'add-line', changed the way images in examples are saved
svn: r16727
2009-11-12 14:56:47 +00:00
Robby Findler
7411fdfa57 added 'line'
svn: r16699
2009-11-11 21:29:59 +00:00
Sam Tobin-Hochstadt
ccbb55ec11 fix execution of 'auto.ss'
svn: r16697
2009-11-11 18:41:25 +00:00
Sam Tobin-Hochstadt
70fa8fb2c4 Fix run to dynamic-require relative to the shootout directory.
svn: r16696
2009-11-11 18:30:18 +00:00
Matthew Flatt
8845e870cb test repairs for DrDr
svn: r16694
2009-11-11 14:01:18 +00:00
Jon Rafkind
0080e2b673 test
svn: r16683
2009-11-11 02:25:11 +00:00
Jon Rafkind
507e8db8e7 test
svn: r16682
2009-11-11 02:22:38 +00:00
Robby Findler
1a8d681ed2 added a bunch more polygons
svn: r16681
2009-11-11 02:20:18 +00:00
Matthew Flatt
1d64270f5d some corrections/removals of old tests
svn: r16680
2009-11-11 01:34:09 +00:00
Robby Findler
4e3b1b4c26 fixed some bad behavior (that I never completely understood) by changing the interpretation of the base images as drawing their centers at (0,0) instead of drawing their upper left corners at (0,0)
svn: r16676
2009-11-10 23:36:32 +00:00
Sam Tobin-Hochstadt
36bceaa463 disable compilation of test files to avoid drdr race condition
svn: r16663
2009-11-10 20:10:47 +00:00
Jon Rafkind
9c0c1ec591 comment out most honu macro stuff
svn: r16660
2009-11-10 19:18:06 +00:00
Sam Tobin-Hochstadt
8dff3dca74 use load-relative
svn: r16656
2009-11-10 18:28:20 +00:00
Sam Tobin-Hochstadt
7a77367040 Fix drdr props.
Fix the ttt tests (which I don't think have been run in years).
Fix the lists shootout benchmark to use mpairs.
Fix the regexmatch shootout benchmark, although it still needs input.
Require a current version of ssax, so that it compiles.
Fix finding the collections path.

svn: r16654
2009-11-10 15:41:32 +00:00
Robby Findler
add9374636 added failing test
svn: r16652
2009-11-10 14:08:28 +00:00
Sam Tobin-Hochstadt
f29e01029c Fix drdr props for more files.
Fix requires in TS tests.

svn: r16635
2009-11-09 17:06:12 +00:00
Eli Barzilay
44d88cee6b newlines at EOFs
svn: r16630
2009-11-09 03:49:50 +00:00
Robby Findler
3e51bc7199 fixed up text
svn: r16625
2009-11-08 23:29:19 +00:00
Ryan Culpepper
94917e2447 unstable:
added draft guidelines
  fixed some svn properties

svn: r16619
2009-11-08 10:55:57 +00:00
Robby Findler
faf055c858 added circle and star-polygon
svn: r16617
2009-11-08 00:19:53 +00:00
Robby Findler
667e967085 added order-of-magnitude from Jos Koot and some tests for other scheme/math stuff
svn: r16607
2009-11-07 14:26:39 +00:00
Sam Tobin-Hochstadt
2f6c19b75a fix section name
svn: r16601
2009-11-07 06:55:45 +00:00
Eli Barzilay
69e90b7ef3 #:key argument to remove-duplicates
svn: r16587
2009-11-06 22:32:53 +00:00
Robby Findler
3159a06389 (hopefully) sorted out polygons; added a few other polygon-based primitives
svn: r16570
2009-11-06 14:34:25 +00:00
Robby Findler
693ba9b9e8 allow overlaying of 0x0 images
svn: r16558
2009-11-05 14:55:07 +00:00
Mike Sperber
2a8e5d64be Make the DeinProgramm / DMdA one-of' / case' contracts use beginner-equal?.
svn: r16556
2009-11-05 10:10:17 +00:00
Ryan Culpepper
0feac0f636 syntax/parse:
tweaked error selection algorithm
  added tests

svn: r16533
2009-11-04 00:31:24 +00:00
Sam Tobin-Hochstadt
149e695a55 New `scheme/vector' library.
svn: r16511
2009-11-03 04:16:48 +00:00
Kevin Tew
9611f21611 Allow concurrent testing
svn: r16506
2009-11-02 23:24:08 +00:00
Matthew Flatt
70560372b7 unsafe-{string,bytes}-{ref,set,length}
svn: r16490
2009-10-31 02:19:57 +00:00
Sam Tobin-Hochstadt
40bc4cb77a remove dead examples
svn: r16480
2009-10-30 16:27:55 +00:00
Sam Tobin-Hochstadt
93a504a817 Add failing test to xfail.
Remove old dead code.

svn: r16479
2009-10-30 16:26:48 +00:00
Robby Findler
d48bc1f1c1 undid my broken commit
svn: r16478
2009-10-30 16:11:34 +00:00
Jay McCarthy
d84879db34 Moving tests
svn: r16477
2009-10-30 16:00:44 +00:00
Eli Barzilay
27f1489403 extra flushing
svn: r16468
2009-10-30 07:50:49 +00:00
Eli Barzilay
fdb074407d have at least one more difference from the first test
svn: r16464
2009-10-30 07:20:02 +00:00
Eli Barzilay
f03518f7cc try to sort outputs out
svn: r16463
2009-10-30 06:42:51 +00:00
Sam Tobin-Hochstadt
b7db9e4e67 add back test, but fixed
svn: r16462
2009-10-30 03:19:50 +00:00
Eli Barzilay
e81bbf3b90 undo the fake-error-output change
svn: r16461
2009-10-30 02:54:45 +00:00
Eli Barzilay
8061c07a9d fix one broken test, remove another bogus test
svn: r16460
2009-10-30 02:28:38 +00:00
John Clements
e4ccfc0e25 removed extra arg from call to 'go'
svn: r16457
2009-10-29 19:23:08 +00:00
John Clements
5b06af8c10 removed non-compiling test-suite
svn: r16456
2009-10-29 19:16:40 +00:00
John Clements
0263431ae0 ...
svn: r16455
2009-10-29 19:16:06 +00:00
Stevie Strickland
cf78f9173c These tests are so outdated, that if they ever get put back, they'll have
to change almost completely anyway.  Jettison the whole mess.

svn: r16454
2009-10-29 19:08:40 +00:00
Sam Tobin-Hochstadt
653d0ccd66 Add in-port', port->list', `file->list'.
Add documentation, tests for above.
Allow procedure argument to `fold-files' to return 2 values in all cases.
Document, test.

svn: r16453
2009-10-29 18:49:34 +00:00
Stevie Strickland
4bad2f34c1 Fix another of the tests for units.
svn: r16452
2009-10-29 18:38:08 +00:00
Robby Findler
4ddbe71e2d fixed the comparison contracts so they work right wrt to complex numbers
svn: r16445
2009-10-28 16:04:39 +00:00
Robby Findler
b17d6cfc2c fixed up for our modern times
svn: r16437
2009-10-26 19:48:58 +00:00
Matthew Flatt
9dc53f261e unsafe variants of shootout benchmarks
svn: r16432
2009-10-26 16:53:45 +00:00
Ryan Culpepper
e273dae9b1 macro-stepper: made syntax display faster, esp for early terms
calculate arrows etc wrt known binders instead of all binders

svn: r16416
2009-10-22 22:00:49 +00:00
Jay McCarthy
98488a89ef DrDr bugs and spurious errors
svn: r16412
2009-10-22 18:45:02 +00:00
Jay McCarthy
d557687494 DrDr related changes
svn: r16403
2009-10-21 20:32:19 +00:00
Sam Tobin-Hochstadt
a3082cba0b fix test result
svn: r16398
2009-10-21 14:46:36 +00:00
Ryan Culpepper
c7d95a21c2 syntax/parse:
dependence on scheme/match eliminated
  fail-when, etc use conditional value if syntax
  error message typos (bad tildes) fixed

svn: r16393
2009-10-20 23:17:30 +00:00
Sam Tobin-Hochstadt
37106bd6f7 Add `typed/scheme/system'
Special handling of (letrec ([x e]) x)
Allow functions with optional keyword args to be inferred when kws not supplied.
Infer instantiations for kw functions in simple cases.
Add `Path-String' type
Fix types of `filter', `with-{input-to,output-from}-file'
Add `port->lines'
New 'metrics.ss' test

svn: r16385
2009-10-20 18:30:37 +00:00
Kevin Tew
ac7853dc00 Allow binding to ephemeral ports
svn: r16382
2009-10-20 17:00:20 +00:00
Stevie Strickland
c17885638a * Fix with-contract so that all uncontracted names are automatically exported
* Also allow mutation of contracted names that flow in/out of with-contract.

svn: r16376
2009-10-19 23:17:30 +00:00
Eli Barzilay
3d60fe640b misc prop fixes
svn: r16374
2009-10-19 22:36:12 +00:00
Stevie Strickland
0385b2f89d Fix require-for-syntax -> require + for-syntax
svn: r16367
2009-10-19 16:11:52 +00:00
Sam Tobin-Hochstadt
6a83901a8b Don't error for branches with wrong number of results where return type is Bot.
Allow case-lambda to be subtype of equiv union type.
Add types for path?, fold-files, assert

svn: r16357
2009-10-18 01:10:00 +00:00
Robby Findler
b5dd323d94 fixed up problems uncovered by dr dr
svn: r16355
2009-10-17 21:28:45 +00:00
Robby Findler
931cb35fa4 fixed up these files to be friendlier to the dr dr
svn: r16354
2009-10-17 21:23:35 +00:00
Matthew Flatt
110ea411d1 clean up some tests
svn: r16350
2009-10-17 14:50:52 +00:00
Eli Barzilay
87a169a33e drdr props to ignore Windows-only files; svn:ignore; make plot/run-tests.ss independent of where they are running from
svn: r16346
2009-10-17 02:17:09 +00:00
Jay McCarthy
46734639fb Cleaning up DrDr properties
svn: r16342
2009-10-16 19:29:57 +00:00
Robby Findler
40547e86a2 added a little more automation to the drscheme test suite
svn: r16341
2009-10-16 17:26:32 +00:00
Jon Rafkind
25bd680141 add example syntax-rules honu macro
svn: r16334
2009-10-15 23:38:19 +00:00
Jay McCarthy
c40c3a9884 DrDr properties and stderr change
svn: r16329
2009-10-15 19:42:48 +00:00
Robby Findler
11e87632dc rearranged things so that 2htdp/image has its core snip stuff loaded into drscheme so that saving files with 2htdp/image images in them works
svn: r16317
2009-10-13 23:06:24 +00:00
Robby Findler
3aae13cb60 fixed a bug in rotating non-polygons
svn: r16315
2009-10-13 22:16:17 +00:00
Robby Findler
339860d340 a little more progress (got ellipses bounding boxes right!)
svn: r16307
2009-10-13 17:30:40 +00:00
Robby Findler
7dbd784048 PR 10518
svn: r16282
2009-10-08 16:32:37 +00:00
Robby Findler
e87712fdda an attempt to fix up the bounding boxes on ellipses
svn: r16281
2009-10-08 14:20:04 +00:00