Robby Findler
c9693ab910
adjust the drracket language test suite for the new error messages
2012-06-11 14:04:05 -05:00
Robby Findler
64e4a43c9c
fix easter egg test suite for the new error messages
2012-06-01 07:16:14 -05:00
Robby Findler
7118547c58
adjusted the module-language, pretty-big and r5rs parts of
...
the drracket language test for the new error messages
2012-06-01 02:36:54 -05:00
Robby Findler
f721c0427d
adjust the timeouts to two drracket tests and add a little syncronization help in a third
2012-05-31 10:56:13 -05:00
Robby Findler
77811e0e95
Adjust how the drracket repl iterates over expressions to make it more
...
like textual-read-eval-print-loop
There is still a difference, however, because drracket's REPL has a
notion of multiple expressions that are submitted simultaneously that
textual-read-eval-print-loop doesn't. For example, if you type this at
the prompt:
(car) (+ 1 2)
then textual-read-eval-print-loop will print out the error and then 3,
but drracket will print only the error (ditto if (car) were replaced
by a continuation abort).
This difference is, IMO, a good thing, since it lets you use a single
interaction to do multiple things, but stops as soon as there is an
error. (It is also how drracket has behaved for a long time.)
closes PR 12790
2012-05-30 22:31:55 -05:00
Robby Findler
efd6772e9a
adjust repl-test and the module language test for the new error message format
2012-05-30 22:31:54 -05:00
Eli Barzilay
17090fca4f
A bunch of fprintf' ->
eprintf' conversions (and a few related things).
2012-05-06 12:06:00 -04:00
Robby Findler
4694a9874f
added line numbers to the syncheck test cases (and removed bogus comment)
2012-04-30 14:39:27 -05:00
Robby Findler
723ad6207c
add opening a file (and (hopefully) waiting for the coloring to finish)
...
and run the test three times, instead of just once
2012-04-22 08:57:50 -05:00
Robby Findler
7e86c04847
update module language part of language-test.rkt for submodules
2012-03-30 10:44:42 -05:00
Robby Findler
5c7a299c04
make DrRacket run test submodules (in the module language) by default.
...
Add an option in the language dialog to disable that behavior
2012-03-29 22:12:14 -05:00
Robby Findler
cd576ffb3c
adjust the easter egg test suite so it can be loaded by Sam's lib
...
to run all kinds of days.
also fix a bug so that it properly resets the prefs back to the
defaults (and thus has to explicitly set the language)
2012-03-29 07:32:18 -05:00
Robby Findler
e777796a74
fix recently introduced bug in drracket test suites
2012-03-26 17:13:42 -05:00
Robby Findler
617df05ef7
added a test suite for DrRacket that checks to make sure the Dear Dr
...
starts up on all of the days that have easter eggs (well, except 7/2,
since that one is hard to interpose on and hasn't changed in a long
time)
2012-03-26 15:43:56 -05:00
Robby Findler
9bc1684c9b
fix problems with user-defined keybindings and the example in the docs
...
as reported on the dev mailing list by António Menezes Leitao
2012-03-19 09:58:59 -05:00
Eli Barzilay
43ef402274
Don't compile test files.
...
(Didn't touch the tiny "test-docs-complete" tests.)
2012-03-13 10:29:13 -04:00
Robby Findler
bd08e09b12
fix up the repl test now that picts dont render as bitmaps
...
(following up commits
ad65164c5e
and
72b9199976
)
2012-02-27 10:00:23 -06:00
Robby Findler
36323cf3be
added a pict-snip test case
2012-02-25 21:42:40 -06:00
Robby Findler
eda4d294cc
Lost the snipclass with the name (lib "collapsed-snipclass.ss" "framework")
...
somewhere between 5.1.3 and 5.2.1. Bring it back.
closes PR 12563
2012-02-14 11:26:20 -06:00
Robby Findler
4763fb5189
drscheme => drracket
2012-02-14 11:26:20 -06:00
Robby Findler
760ec887b9
split up the REPL test to get parallelism in drdr (and hopefully avoid timeouts)
2012-02-12 19:33:35 -06:00
Matthew Flatt
9b569aa9a2
adjust some libraries to avoid converting paths to strings too early
...
Early conversions leave absolute paths in bytecode and rendered
documentation.
2012-02-10 06:17:18 -07:00
Matthew Flatt
8cf49dfdb1
fix format of some error messages
...
Closes 12536
2012-02-04 05:32:00 -07:00
Robby Findler
c9e4c88b7c
fix a bug in check syntax where it would attempt to (as part of the
...
coloring for blame assignment in check syntax) try to color
the right-hand side of a binding that actually comes from
a lambda-bound variable (and thus crash for not finding the
right-hand side)
2012-01-19 13:20:41 -06:00
Robby Findler
2e54a89773
adjust drracket's repl so that it renders convertible things by turning them into .png's.
2011-12-02 08:10:32 -06:00
Robby Findler
c338e5bfe3
remove now-unneeded debugging printfs from drracket's module-lang test suite
2011-11-30 08:24:20 -06:00
Robby Findler
153dd73f6b
adjust drracket to clean up the code that sets the initial value of
...
current-directory and current-load-relative-directory and to make
current-directory's initial value be the user's home directory
2011-11-28 13:29:55 -06:00
Robby Findler
462a348f19
fix bugs in the way the Racket|Disable Tests menu item worked
...
also adjust the test-engine-test.rkt test suite to bring it into
sync with the changes to the way the DrRacket REPL works from
commit bfa6b1d953
2011-11-28 00:13:59 -06:00
Robby Findler
2f5e0206a8
more printfs to try to find what is going on in drdr with the module-lang-test.rkt
2011-11-14 07:08:37 -06:00
Robby Findler
38b4d11abe
add some debugging printfs in an effort to try to understand what's going wrong when this test runs in drdr
2011-11-13 08:15:02 -06:00
Matthew Flatt
13605b55db
remove accidentally added file
2011-11-12 05:33:20 -07:00
Matthew Flatt
3cd071beb2
fix fd polling in atomic mode
2011-11-11 07:05:16 -07:00
Robby Findler
961e280a98
add a bunch of tests to the module language test suite based on test cases in the repl test suite
...
(since the repl test suite tests the pretty big language's repl and since there was a test case
there that would have discovered a bug that we only found in the hours before the release but had
been lurking for a few days)
2011-11-10 16:31:09 -06:00
Robby Findler
b063604ab4
fix begin-for-syntax test
2011-11-08 22:02:12 -06:00
Robby Findler
bfa6b1d953
Fixed some bugs in the double-stacktrace window; adjusted the repl to
...
be able to insert more with-stack-checkpoint calls in useful places;
adjust test suites to match the change in when the stacktrace icon
shows up
2011-11-07 07:42:14 -06:00
Robby Findler
cac37b0b6a
added test cases for phase issues in the module language repl
2011-11-06 21:14:51 -06:00
Robby Findler
b7541c5d1b
Revert "IN PROGRESS: starting to fix the repl-test for the new error icons"
...
This reverts commit 8ec968fe8f
.
2011-11-03 17:14:06 -05:00
Robby Findler
8ec968fe8f
IN PROGRESS: starting to fix the repl-test for the new error icons
2011-11-03 17:13:17 -05:00
Robby Findler
90304687f1
improve the strategy for check syntax's tail arrow information collection
...
In particular, instead of trying to collect all of the arrows and do some kind
of a smart transitive closure (that tries to avoid adding links that would "skip"
expressions but doesn't always manage it), the new code tries instead to build
the right links directly while traversing the fully expanded expression
This also seems to have been a minor performance improvement. When running the
information collection phase of check syntax (ie, not counting the time for
expansion) on a 1.8 GHz core i7, for collects/framework/private/text.rkt,
the times went from:
cpu time: 7347 real time: 7413 gc time: 211
cpu time: 7328 real time: 7393 gc time: 239
cpu time: 7356 real time: 7418 gc time: 240
to:
cpu time: 7562 real time: 7632 gc time: 265
cpu time: 7555 real time: 7618 gc time: 269
cpu time: 7552 real time: 7617 gc time: 262
closes PR 11835
do not include in 5.2
2011-10-10 14:18:01 -05:00
Robby Findler
1c630063c5
remove debugging edit
2011-09-28 19:56:37 -05:00
Robby Findler
c8cbe81e51
fix problems with the autosave recovery gui and add a drdr test for it
2011-09-28 17:06:30 -05:00
Robby Findler
0baa32bcf8
fix the way that the set of identifiers to rename is calculated so that
...
macros that do strange things like the one below are treated better
(define-syntax-rule (m q)
(begin (lambda (q) q)
(define q 1)))
(m x)
x
2011-09-26 13:00:23 -05:00
Robby Findler
ae34e1a960
fix a race (suggested by drdr test results)
2011-09-26 06:08:58 -05:00
Robby Findler
abda257295
moved the 'send to repl' keystrokes to the manual (and added a test
...
suite to make sure the example code in the manual doesn't get stale)
2011-09-23 16:37:18 -05:00
Robby Findler
d654d3e09b
add the place creation memory use to the memory-log test
...
(this required rearranging a bunch of local-member-names)
2011-09-20 17:15:02 -05:00
Robby Findler
5ce47fe988
adjust a syncheck test so hopefully to avoid mutating datastructures from the wrong thread
2011-09-20 17:14:57 -05:00
Robby Findler
443434fd01
adjust hangman test suite strategy; instead of waiting for a hangman frame to get teh focus,
...
instead wait for a frame in the user's eventspace that has the name "Hangman".
also, some minor rackety
2011-09-16 12:24:39 -05:00
Eli Barzilay
370678abf6
Avoid compiling wxme test files.
...
Since that requires `racket/draw', which requires libcairo, which is
missing on some build machines. It might be needed in the future, but
for now it's better to make it easier to add build machines.
2011-09-16 10:48:18 -04:00
Mike Sperber
bbb38c0ff9
Report signature violations in the REPL.
...
In the course of this, revamp the logic that controls when the
test-results window pops up and when it doesn't.
Closes PR 12185
2011-09-14 22:00:42 +02:00
Robby Findler
437d654cc1
add some more snips to the test suite
2011-09-13 20:46:05 -05:00