Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions drracket-test/tests/drracket/language-test.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -1837,16 +1837,22 @@ the settings above should match r5rs
(define (test-undefined-var id #:icon+in? [icon+in? #f])
(test-expression
id
(string-append (if icon+in? "{stop-22x22.png} " "")
(format "~a: this variable is not defined" id)
(if icon+in? (format " in: ~a " id) ""))))
(format "~a~a: this variable is not defined~a"
(if icon+in? "{stop-22x22.png} " "")
id
(if icon+in?
(format " in: ~a " id)
""))))

(define (test-undefined-fn exp id #:icon+in? [icon+in? #f])
(test-expression
exp
(string-append (if icon+in? "{stop-22x22.png} " "")
(format "~a: this function is not defined" id)
(if icon+in? (format " in: ~a " id) ""))))
(format "~a~a: this function is not defined~a"
(if icon+in? "{stop-22x22.png} " "")
id
(if icon+in?
(format " in: ~a " id)
""))))

(define-syntax (go stx)
(syntax-case stx ()
Expand Down
10 changes: 5 additions & 5 deletions drracket-test/tests/drracket/memory-log.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
framework/preferences
drracket/private/syncheck/local-member-names) ;; for the syncheck:arrows-visible? method

(printf "The printouts below are designed to trick drdr into graphing them;\n")
(printf "they aren't times, but memory usage. The first is starting up DrRacket,\n")
(printf "the second is after the documentation index has been loaded (via check\n")
(printf "syntax) and the third is after online check syntax has completed once (so\n")
(printf "a place was created and the docs loaded there.\n")
(displayln "The printouts below are designed to trick drdr into graphing them;")
(displayln "they aren't times, but memory usage. The first is starting up DrRacket,")
(displayln "the second is after the documentation index has been loaded (via check")
(displayln "syntax) and the third is after online check syntax has completed once (so")
(displayln "a place was created and the docs loaded there.")

;; mem-cnt returns the amount of memory used, iterating (collect-garbage)
;; until the delta is less than 1% or we've done it 20 times.
Expand Down
Loading
Loading