Commit Graph

2231 Commits

Author SHA1 Message Date
Jay McCarthy
50fd0278ba Fixing an innoculous test case failure I introduced, by override the platform's time zone.
Relaxing the contract on date->string to accord with previous documentation.

Changing web-server example to use more restrictive contract

Please include in 5.0
2010-05-25 06:54:28 -06:00
Sam Tobin-Hochstadt
775e1b06a5 Test for former bug. Closes PR 10470. 2010-05-25 00:09:03 -07:00
Sam Tobin-Hochstadt
27e971dce2 Check that at least one require spec is provided.
Closes PR 10617.
 Merge to v5.0.
2010-05-24 22:33:31 -07:00
Jay McCarthy
3f1a89b8f8 Fixing dumb bug from me 2010-05-24 18:46:31 -06:00
Vincent St-Amour
6e16a76b51 Revert "Added a /dev/null-like output port to unstable."
open-output-nowhere already does something similar.
2010-05-24 18:57:05 -04:00
Vincent St-Amour
9c12b7d2e7 Added a /dev/null-like output port to unstable. 2010-05-24 18:41:13 -04:00
Sam Tobin-Hochstadt
3b90cdb872 Merge branch 'master' of git.racket-lang.org:plt 2010-05-24 14:05:29 -07:00
Sam Tobin-Hochstadt
af689b2531 Tests for bug found by David Van Horn. 2010-05-24 14:04:43 -07:00
Sam Tobin-Hochstadt
f320d36e9c Fix parsing of All on RHS of -> 2010-05-24 13:26:29 -07:00
Jay McCarthy
1b6b721aee Adding date->seconds 2010-05-24 14:25:35 -06:00
Jay McCarthy
4d892983fa Adding test cases to verify changes 2010-05-24 14:23:52 -06:00
Jay McCarthy
758b944996 Contract was too strict 2010-05-24 13:14:35 -06:00
Jay McCarthy
f44e3123b5 Adding byte counting ports 2010-05-24 13:14:35 -06:00
Jay McCarthy
85a7509034 Removing test auto run 2010-05-24 09:56:35 -06:00
Jay McCarthy
15d9a7dd8a Initial ftp test cases 2010-05-24 09:56:35 -06:00
Jay McCarthy
52281d7089 rkt suffixes 2010-05-24 09:56:35 -06:00
Stevie Strickland
77b4106c84 Allow the structure name to be used as a constructor.
Push to 5.0.
2010-05-21 17:16:51 -04:00
Eli Barzilay
12211fff72 Various lazy-related fixes etc.
* A long-standing bug, which happened with
    (let ([x (lazy (delay 1))]) (force x) (force x))
  not being properly handled.

* Added `delay/strict', mostly for the below.

* Made srfi/45 reprovide it as `eager'.

* Also restricted the exports from srfi/45 to its interface.

All of these issues were reported by Andreas Rottmann.
2010-05-21 15:12:16 -04:00
Sam Tobin-Hochstadt
188f080c79 Handle set! transformers in match expanders.
- use prop:set!-transformer
 - extract set!-transformers where necessary
 Closes PR 10481
2010-05-21 10:41:24 -04:00
Sam Tobin-Hochstadt
230f1a59c6 More precise types for: truncate, floor ceiling 2010-05-21 10:41:24 -04:00
Vincent St-Amour
afdccf7a23 Used the .rktl extension for unwrapped typed benchmarks and set props
to not have drdr run the typed benchmarks.
2010-05-19 18:28:30 -04:00
Matthew Flatt
9fc5cbfa2c Fix syntax error in ASL
Closes PR 10914
 Merge to v5.0
2010-05-19 15:11:41 -06:00
Matthew Flatt
993d80eb2a rackety shootout benchmarks 2010-05-19 15:10:46 -06:00
Sam Tobin-Hochstadt
e9ac3651a4 Add test file.
Closes PR 10594.
2010-05-19 15:22:22 -05:00
Sam Tobin-Hochstadt
9fe3747a19 Allow expected type to have weaker filters and objects.
Closes PR 10729.
2010-05-19 15:14:18 -05:00
Sam Tobin-Hochstadt
7e9313bad3 Allow recursive types in type annotations for `list'.
Closes PR 10562.
 Tests for fixed bugs.
2010-05-19 15:14:18 -05:00
Vincent St-Amour
63be1f51ed Added error checking in the graphs-typed benchmark. 2010-05-19 13:10:40 -04:00
Vincent St-Amour
1ac3f6905f Changed the typed benchmarks and the benchmark harness to use wrapper
modules to turn typed Scheme's optimization on and off.
2010-05-19 13:10:39 -04:00
Vincent St-Amour
20cd21440f Ported some more of the common benchmarks to Typed Scheme. 2010-05-19 13:10:39 -04:00
Vincent St-Amour
1e15826159 Switched from using the module form to using #lang in the typed benchmarks. 2010-05-19 13:10:39 -04:00
Vincent St-Amour
fb09e9da23 Updated some of the typed benchmarks. 2010-05-19 13:10:38 -04:00
Vincent St-Amour
e90e37ec62 Ported some more of the common benchmarks to Typed Scheme. 2010-05-19 13:10:38 -04:00
Vincent St-Amour
46fdef3f3f Ported some of the common benchmarks to Typed Scheme. 2010-05-19 13:10:38 -04:00
Vincent St-Amour
790658886b Wrote tests for the new pair accessor type signatures. 2010-05-19 13:10:36 -04:00
Sam Tobin-Hochstadt
3fd5c49172 Add test for PR 10318.
Closes PR 10318.
2010-05-19 11:12:13 -05:00
Sam Tobin-Hochstadt
638245e4c5 Better type annotation support.
- Delay more errors for additional reporting.
 - Don't re-check expressions that were checked for inference.
 Closes PR 10098.
2010-05-19 10:10:54 -05:00
Eli Barzilay
14cfb73902 "Raclog" -> "Racklog" 2010-05-18 23:47:31 -04:00
Stevie Strickland
4336f29273 Quick fix to get the right struct info out of define-struct/contract.
Closes PR 10526.  Closes PR 10561.
2010-05-18 13:14:14 -04:00
Sam Tobin-Hochstadt
535dc73fad More fixes for Vincent. 2010-05-17 18:03:34 -04:00
Sam Tobin-Hochstadt
d2a1470ea5 Fix repeated type ascription. 2010-05-17 16:20:44 -05:00
Sam Tobin-Hochstadt
0d1d61c725 rename to .rkt 2010-05-17 15:55:23 -05:00
Sam Tobin-Hochstadt
68391b2d7f Fix for git/rkt 2010-05-17 15:36:28 -05:00
Sam Tobin-Hochstadt
ce874bb0a1 rename to rkt 2010-05-17 15:29:12 -05:00
Eli Barzilay
7b14a1f585 "Racunit" -> "Rackunit" 2010-05-17 12:07:32 -04:00
Jay McCarthy
5b38155e7f Using raw response file in test 2010-05-17 11:05:22 -05:00
Eli Barzilay
939af28a4c Some random ".ss" -> ".rkt"s 2010-05-17 05:58:19 -04:00
Eli Barzilay
9c352f5704 More svn -> git changes.
Some mentions of svn/subversion are replaced with git, and some patterns
for paths to ignore include ".git*".  (Note ".mailmap" not added, might
need to.)
2010-05-17 05:41:04 -04:00
Eli Barzilay
1e5dbe553b Fix two random emails. 2010-05-17 04:03:28 -04:00
Eli Barzilay
bcab28e5d2 Misc tests/drracket improvements.
Removed "info.rkt", since all entries were unused; switched ".ss" to
".rkt" in both real code and tested code (except for the teachpack
tests); modernized some tests to use symbolic requires (which would also
make it easier to deal with).
2010-05-17 03:07:10 -04:00
Eli Barzilay
fcedc30ee4 Rename "collects/tests/mred" -> ".../gracket".
Some additional mred-related tweaks.
2010-05-17 01:44:27 -04:00
Eli Barzilay
de0cc7771b A lot of "DrScheme" -> "DrRacket"s. 2010-05-17 01:27:03 -04:00
Eli Barzilay
a46743211b A lot of "plt-scheme.org" -> "racket-lang.org"s. 2010-05-17 00:53:12 -04:00
Eli Barzilay
bba676d90c Update the text message at the top of WXME files, including the URL.
Also, update the message in existing files.  Change the instructions to
use DrRacket or DrScheme version <previous-version>, and for really old
files (pre-v4), just use 4 for the version.  Also just drop the second
paragraph in these files -- "Most likely, it was created by" is not
needed when for these files we know that this is true.
2010-05-17 00:19:26 -04:00
Eli Barzilay
7f6efdc8be A lot of "MrEd" -> "GRacket"s. 2010-05-16 23:46:05 -04:00
Eli Barzilay
2d9601089d A lot of "MzScheme" -> "Racket"s. 2010-05-16 18:26:26 -04:00
Eli Barzilay
a82bb41950 some prop fixes 2010-05-16 18:26:25 -04:00
Matthew Flatt
900784c8e4 fix regexp sub-pattern reporting 2010-05-15 08:36:11 -06:00
Jay McCarthy
b58932ba39 Off by one 2010-05-14 11:05:23 -06:00
Sam Tobin-Hochstadt
21b5c25c90 Add annotation to test.
Fix default case for `vector-set!'
2010-05-14 11:00:23 -04:00
Sam Tobin-Hochstadt
ff36a6e8d1 sensible handling of literal vectors 2010-05-14 11:00:23 -04:00
Sam Tobin-Hochstadt
7ac925695f more sensible version of het vectors.
add vector-length, vector-set!
2010-05-14 11:00:23 -04:00
Sam Tobin-Hochstadt
ec14f2c0b8 Finish het vectors 2010-05-14 11:00:22 -04:00
Sam Tobin-Hochstadt
0558d11abb more testing 2010-05-14 11:00:22 -04:00
Jay McCarthy
bac7ff3bdf Fixing X11 test bugs 2010-05-13 14:34:34 -06:00
Jay McCarthy
fb8e8640bb This error should not be on stderr, because it is intended 2010-05-13 14:25:39 -06:00
Sam Tobin-Hochstadt
a893116391 fix more tests 2010-05-13 13:36:54 -04:00
Sam Tobin-Hochstadt
dcf8507fd6 Fix incorrect tests. 2010-05-13 12:35:14 -04:00
Sam Tobin-Hochstadt
60aed123ce fix more tests 2010-05-12 21:33:55 -04:00
Sam Tobin-Hochstadt
499f36ee69 add simple test 2010-05-12 17:05:09 -04:00
Sam Tobin-Hochstadt
5a8fac0bdf switch to typed/ 2010-05-12 11:52:11 -04:00
Sam Tobin-Hochstadt
ec942b6dab Merge remote branch 'origin/master' into samth/new-logic2 2010-05-12 10:59:29 -04:00
Sam Tobin-Hochstadt
4548426cd4 Merge remote branch 'origin/master' into samth/new-logic2 2010-05-11 15:19:52 -04:00
Vincent St-Amour
2435f6fe06 Changed the common benchmark wrapper to use the racket language and to
print return values.
2010-05-11 14:56:43 -04:00
Vincent St-Amour
11d8dac0bf Got rid of one-armed ifs in the common benchmarks. 2010-05-11 14:56:43 -04:00
Eli Barzilay
50753b6364 more fixes to automated tests 2010-05-10 23:36:14 -04:00
Eli Barzilay
8b3ff3e297 Use racket for automated tests. 2010-05-10 22:13:10 -04:00
Matthew Flatt
899e85f94f change prop:custom-print-as-constructor to more general prop:custom-print-quotable 2010-05-10 18:32:25 -06:00
Sam Tobin-Hochstadt
a81de56b30 add test for bug found by vincent 2010-05-10 17:55:29 -04:00
Carl Eastlund
ff5b8da551 Adjusted list/c to stand alone, rather than using cons/c, so that it prints as itself. 2010-05-10 16:39:07 -04:00
Sam Tobin-Hochstadt
fe10457f4e more test errors 2010-05-10 16:22:41 -04:00
Sam Tobin-Hochstadt
08d0df5256 fix test suite errors 2010-05-10 16:09:58 -04:00
Sam Tobin-Hochstadt
b1a49470ee fix `implied-atomic?' 2010-05-10 11:51:18 -04:00
Sam Tobin-Hochstadt
82ee73ab51 Merge remote branch 'origin/master' into samth/new-logic2
Conflicts:
	collects/typed-scheme/scribblings/begin.scrbl
	collects/typed-scheme/scribblings/quick.scrbl
	collects/typed-scheme/scribblings/ts-guide.scrbl
	collects/typed-scheme/scribblings/ts-reference.scrbl
	collects/typed-scheme/scribblings/varargs.scrbl
2010-05-10 10:36:21 -04:00
Matthew Flatt
41e1fe958f test repairs 2010-05-10 06:23:37 -06:00
Matthew Flatt
ed1d7f81c9 move drscheme and tests/drscheme to drracket and tests/drracket 2010-05-09 15:34:50 -06:00
Robby Findler
155cc4ac05 fixed the way preference file restoration works in the case that there is no preferences file to start with 2010-05-08 16:22:56 -05:00
Robby Findler
eb5c839b97 changed an ss to a rkt 2010-05-08 16:18:04 -05:00
Jay McCarthy
8c918c489a Fixing test re printing output... again :) 2010-05-07 12:44:12 -06:00
Matthew Flatt
e5a259bdf0 document latest printing convention 2010-05-06 18:01:21 -06:00
Matthew Flatt
43027a8d9b switch printer to constructor+quote style 2010-05-06 10:33:42 -06:00
Sam Tobin-Hochstadt
1146ffa76d Merge branch 'master' into samth/new-logic2
Conflicts:
	collects/typed-scheme/private/parse-type.rkt
	collects/typed-scheme/typecheck/tc-app.rkt
2010-05-05 13:35:29 -04:00
Matthew Flatt
27cd77c16c fix problem with chaperone of chaperoned hash 2010-05-05 09:23:40 -06:00
Matthew Flatt
7c52a82216 fix another hash chaperone bug 2010-05-05 07:52:48 -06:00
Matthew Flatt
60446bcd95 fix racket/vector test and doc typo 2010-05-05 06:18:52 -06:00
Sam Tobin-Hochstadt
90f7f522f8 minor test edits 2010-05-04 19:47:38 -04:00
Sam Tobin-Hochstadt
a728bae3cb use racunit better to get expected/actual info 2010-05-04 19:47:38 -04:00
Sam Tobin-Hochstadt
d678e7657d use `test-begin' in test 2010-05-04 19:47:37 -04:00
Sam Tobin-Hochstadt
3ebd04550a typed/racunit:
- fix more contracts
- make test tests not fail
2010-05-04 19:47:37 -04:00
Sam Tobin-Hochstadt
0a2b16f804 fix some racunit types, add test case 2010-05-04 19:47:37 -04:00
Ryan Culpepper
d0cc31b35e syntax/parse: reverted error message, fixed error test 2010-05-04 14:12:49 -06:00
Matthew Flatt
8af4134991 move result-chaperoning procedure to start of chaperioning procedure's results 2010-05-04 13:56:21 -06:00
Jay McCarthy
bfc43a7ebd More permissive cookie parser 2010-05-04 11:20:22 -06:00
Jay McCarthy
3f19ad6fce Including version in cookie output 2010-05-04 10:42:57 -06:00
Matthew Flatt
a097b2ef6a fix chaperone-hash to be more consistent with key handling 2010-05-03 17:59:54 -06:00
Sam Tobin-Hochstadt
d5776a1266 use `vector-member' 2010-05-03 18:03:01 -04:00
Sam Tobin-Hochstadt
69e2122af6 vector-mem{ber,q,v} 2010-05-03 17:08:36 -04:00
Sam Tobin-Hochstadt
34e64b650f Add test for bug 10868
Add 'unit' command line arg to 'run.rkt' command to just run the unit tests
2010-05-03 15:13:33 -04:00
Sam Tobin-Hochstadt
92a3085658 rename 2010-05-03 13:18:56 -04:00
Sam Tobin-Hochstadt
996405af9c fix problem reported by Sigrid on plt-scheme 2010-05-03 13:15:19 -04:00
Sam Tobin-Hochstadt
6b5305afe7 run .rkt files 2010-05-03 13:01:58 -04:00
Matthew Flatt
5a93e8c5e0 more test repairs 2010-05-02 08:31:12 -06:00
Matthew Flatt
e504acb726 use .rktl suffix for files meant to be 'load'ed 2010-05-01 09:58:16 -06:00
Matthew Flatt
043f97df97 fix more test files 2010-05-01 07:23:05 -06:00
Matthew Flatt
fa538620e8 fix cm test 2010-04-30 20:19:53 -06:00
Sam Tobin-Hochstadt
85fad33c4c loadtest.ss -> loadtest.rkt 2010-04-30 16:35:48 -04:00
Sam Tobin-Hochstadt
9a170047f4 .ss -> .rkt 2010-04-30 16:29:10 -04:00
Jay McCarthy
e40f89fed2 Adding mark params 2010-04-30 13:06:55 -06:00
Sam Tobin-Hochstadt
5e9ae84b15 Merge remote branch 'origin/master' into samth/new-logic2
Conflicts:
	collects/tests/typed-scheme/unit-tests/typecheck-tests.rkt
2010-04-30 13:48:49 -04:00
Jay McCarthy
e3a9aa8162 Fixing test of pprint 2010-04-30 11:07:02 -06:00
Jay McCarthy
645b0b06fe Merge branch 'master' of git.racket-lang.org:plt 2010-04-30 10:57:38 -06:00
Jay McCarthy
bc5cf30ebe Renaming rktunit to racunit 2010-04-30 10:57:32 -06:00
Sam Tobin-Hochstadt
04f58cab86 Merge remote branch 'origin/master' into samth/new-logic2
Conflicts:
	collects/drscheme/private/insert-large-letters.ss
	collects/tests/typed-scheme/unit-tests/typecheck-tests.ss
2010-04-30 09:34:31 -04:00
Matthew Flatt
f20d3db75f fix some DrDr tests 2010-04-29 19:55:39 -06:00
Matthew Flatt
7ed0d4e00a futures: protect use of mfence by processor count 2010-04-29 17:11:42 -06:00
Jay McCarthy
f70ffca756 Renaming schemeunit to rktunit and adding compat layer 2010-04-29 15:00:02 -06:00
Jay McCarthy
5cb8f4e3d9 Renaming logic/schelog to raclog, supporting unification for all racket datatypes 2010-04-29 13:41:12 -06:00
Jay McCarthy
7cd703f034 Renaming schelog to logic and racketing 2010-04-28 13:37:57 -06:00
Jay McCarthy
8a6cdfe582 Merge branch 'master' of git.racket-lang.org:plt 2010-04-28 13:21:53 -06:00
Jay McCarthy
7d1c7d874b Changing unstable, xml, html, and web-server to be rackety 2010-04-28 13:21:30 -06:00
Matthew Flatt
6a28bd0e4b fix some tests for drdr 2010-04-28 11:02:31 -06:00
Carl Eastlund
8879f4a61d Updated unstable/srcloc tests for racket. 2010-04-28 12:30:25 -04:00
Matthew Flatt
882b7dce0e move tests/mzscheme to tests/racket 2010-04-27 18:28:39 -06:00
Sam Tobin-Hochstadt
b5acbe3168 move d/c/p
fix tc-e/t
2010-04-27 19:29:10 -04:00
Matthew Flatt
28b4043077 rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
Jay McCarthy
94a6aac517 failure-prefix form and failure-format parameter in eli-tester 2010-04-27 16:12:32 -06:00
Jay McCarthy
5b779d22ac slatex test, slatex contracts and props 2010-04-27 11:00:24 -06:00
Jay McCarthy
e258476748 Supporting multiple value returns in formlets 2010-04-27 10:41:56 -06:00
Jay McCarthy
dbe00ce0b4 Fixing test re banner change 2010-04-27 09:44:57 -06:00
Jay McCarthy
5823da1710 Moving error output to stderr 2010-04-27 09:35:01 -06:00
Jay McCarthy
306e67f3ab Fixing test finding 2010-04-27 09:31:05 -06:00
Jay McCarthy
96a3f47ea0 Fixing cookie regex 2010-04-27 08:48:07 -06:00
Sam Tobin-Hochstadt
f1401ad9b6 Merge remote branch 'origin/master' into samth/new-logic2 2010-04-27 10:27:26 -04:00
Sam Tobin-Hochstadt
53a4e4a2e4 remove debugging printfs, comment out fail test 2010-04-27 10:23:30 -04:00
Sam Tobin-Hochstadt
83c1671972 strnum? works 2010-04-27 10:16:21 -04:00
Sam Tobin-Hochstadt
d935b63290 so close 2010-04-27 09:50:39 -04:00
Jay McCarthy
97f5e690b5 Rearranging docs and renaming assert 2010-04-26 16:04:02 -06:00
Jay McCarthy
8cbfe949be Unit tests 2010-04-26 15:44:20 -06:00
Jay McCarthy
33583fd5ca Unit tests 2010-04-26 15:34:26 -06:00
Jay McCarthy
a8027280b5 Merge branch 'master' of git.racket-lang.org:plt 2010-04-26 13:42:54 -06:00
Jay McCarthy
78eab1a245 Adding predicates and using alists 2010-04-26 13:15:29 -06:00