tests: remove "gui" lock declarations
The fresh PLTUSERHOME created by `raco test --drdr` should avoid the problems that made the lock necessary before.
This commit is contained in:
parent
2d3b856b71
commit
165f21a192
|
@ -34,5 +34,4 @@
|
|||
|
||||
(module+ test
|
||||
(module config info
|
||||
(define lock-name "gui")
|
||||
(define random? #t)))
|
||||
|
|
|
@ -21,7 +21,3 @@
|
|||
(define labels (map (λ (x) (send x get-label)) windows))
|
||||
(member "Hangman" labels))
|
||||
(poll-until user-hangman-frame?)))
|
||||
|
||||
(module+ test
|
||||
(module config info
|
||||
(define lock-name "gui")))
|
||||
|
|
|
@ -234,5 +234,4 @@ add this test:
|
|||
|
||||
(module+ test
|
||||
(module config info
|
||||
(define lock-name "gui")
|
||||
(define timeout 500)))
|
||||
|
|
|
@ -1580,5 +1580,4 @@ the settings above should match r5rs
|
|||
|
||||
(module+ test
|
||||
(module config info
|
||||
(define lock-name "gui")
|
||||
(define timeout 1500)))
|
||||
|
|
|
@ -72,7 +72,3 @@
|
|||
(λ ()
|
||||
(send (send drs-frame get-definitions-text) syncheck:arrows-visible?)))
|
||||
(wait-and-print))))
|
||||
|
||||
(module+ test
|
||||
(module config info
|
||||
(define lock-name "gui")))
|
||||
|
|
|
@ -428,5 +428,4 @@
|
|||
(eval-jit-enabled #f)
|
||||
(dynamic-require (quote-module-path "..") #f)
|
||||
(module config info
|
||||
(define lock-name "gui")
|
||||
(define timeout 800)))
|
||||
|
|
|
@ -4,5 +4,4 @@
|
|||
|
||||
(module+ test
|
||||
(module config info
|
||||
(define lock-name "gui")
|
||||
(define timeout 300)))
|
||||
|
|
|
@ -4,5 +4,4 @@
|
|||
|
||||
(module+ test
|
||||
(module config info
|
||||
(define lock-name "gui")
|
||||
(define timeout 300)))
|
||||
|
|
|
@ -4,4 +4,4 @@
|
|||
|
||||
(module+ test
|
||||
(module config info
|
||||
(define lock-name "gui")))
|
||||
(define timeout 300)))
|
||||
|
|
|
@ -4,5 +4,4 @@
|
|||
|
||||
(module+ test
|
||||
(module config info
|
||||
(define lock-name "gui")
|
||||
(define timeout 300)))
|
||||
|
|
|
@ -24,7 +24,3 @@
|
|||
(error 'snips.rkt "lost drracket frame while saving ~s" rfile))))
|
||||
|
||||
(delete-directory/files tmpdir)))
|
||||
|
||||
(module+ test
|
||||
(module config info
|
||||
(define lock-name "gui")))
|
||||
|
|
|
@ -1682,5 +1682,4 @@
|
|||
|
||||
(module+ test
|
||||
(module config info
|
||||
(define lock-name "gui")
|
||||
(define timeout 200)))
|
||||
|
|
|
@ -117,7 +117,3 @@
|
|||
(test-line t)
|
||||
got
|
||||
(test-uncovered t)))))))))
|
||||
|
||||
(module+ test
|
||||
(module config info
|
||||
(define lock-name "gui")))
|
||||
|
|
|
@ -46,7 +46,3 @@
|
|||
(delete-file fn)
|
||||
(unless (equal? result "1\n> ")
|
||||
(error 'save-teaching-lang-file.rkt "expected the program to produce 1 (followed by the prompt), got ~s" result)))))))
|
||||
|
||||
(module+ test
|
||||
(module config info
|
||||
(define lock-name "gui")))
|
||||
|
|
|
@ -274,7 +274,3 @@
|
|||
(test-built-in-teachpacks))
|
||||
|
||||
(fire-up-drracket-and-run-tests run-test)
|
||||
|
||||
(module+ test
|
||||
(module config info
|
||||
(define lock-name "gui")))
|
||||
|
|
|
@ -522,5 +522,4 @@
|
|||
|
||||
(module+ test
|
||||
(module config info
|
||||
(define lock-name "gui")
|
||||
(define timeout 480)))
|
||||
|
|
|
@ -288,7 +288,3 @@ The col and row type specs are in sig.rkt and the solution type is:
|
|||
',(solve name rows cols))))
|
||||
problems)))))))))))
|
||||
sets)
|
||||
|
||||
(module+ test
|
||||
(module config info
|
||||
(define lock-name "gui")))
|
||||
|
|
|
@ -33,7 +33,3 @@
|
|||
(>= (send vpb1 get-aligned-min-height)
|
||||
(send vpb2 get-aligned-min-height)
|
||||
(snip-height es))
|
||||
|
||||
(module+ test
|
||||
(module config info
|
||||
(define lock-name "gui")))
|
||||
|
|
|
@ -126,7 +126,3 @@
|
|||
(send frame show #f))
|
||||
|
||||
;; (printf "tests done\n")
|
||||
|
||||
(module+ test
|
||||
(module config info
|
||||
(define lock-name "gui")))
|
||||
|
|
|
@ -145,7 +145,3 @@
|
|||
|
||||
(send frame show #f)
|
||||
(printf "done\n")
|
||||
|
||||
(module+ test
|
||||
(module config info
|
||||
(define lock-name "gui")))
|
||||
|
|
|
@ -112,7 +112,3 @@
|
|||
|
||||
(send frame show #f)
|
||||
(printf "done\n")
|
||||
|
||||
(module+ test
|
||||
(module config info
|
||||
(define lock-name "gui")))
|
||||
|
|
|
@ -121,5 +121,4 @@
|
|||
|
||||
(module+ test
|
||||
(module config info
|
||||
(define lock-name "gui")
|
||||
(define timeout 360)))
|
||||
|
|
|
@ -13,7 +13,3 @@
|
|||
(see-full-rectangle 3 2:rectangle)
|
||||
|
||||
(see-full-rectangle 3 1:rectangle)
|
||||
|
||||
(module+ test
|
||||
(module config info
|
||||
(define lock-name "gui")))
|
||||
|
|
|
@ -6,7 +6,3 @@
|
|||
(on-tick (lambda (w) (make-bundle (add1 w) '() '())) 1/28 3)
|
||||
(on-msg (lambda (w sender msg) (make-bundle w '() '())))
|
||||
(on-new cons))
|
||||
|
||||
(module+ test
|
||||
(module config info
|
||||
(define lock-name "gui")))
|
||||
|
|
|
@ -19,7 +19,3 @@
|
|||
(stop-when zero?))
|
||||
|
||||
(printf "done\n")
|
||||
|
||||
(module+ test
|
||||
(module config info
|
||||
(define lock-name "gui")))
|
||||
|
|
|
@ -17,4 +17,6 @@
|
|||
(stop-when (λ (l) (>= (length l) 2)))))
|
||||
(define *color 'blue)
|
||||
|
||||
(check-equal? (main) (begin (set! *color 'red) (main)))
|
||||
(check-equal? (main) (begin (set! *color 'red) (main)))
|
||||
|
||||
(module test racket/base)
|
||||
|
|
|
@ -32,7 +32,3 @@
|
|||
|
||||
(unless (image=? (crop 0 0 100 100 i) j)
|
||||
(eprintf "this test needs to be revised -- the way 'world' writes images adds an extra pixel -- think! \n"))
|
||||
|
||||
(module+ test
|
||||
(module config info
|
||||
(define lock-name "gui")))
|
||||
|
|
|
@ -39,7 +39,3 @@
|
|||
|
||||
(create-n-images 3 3 "images3/")
|
||||
(create-n-images 0 0 "images0/")
|
||||
|
||||
(module+ test
|
||||
(module config info
|
||||
(define lock-name "gui")))
|
||||
|
|
|
@ -28,7 +28,3 @@
|
|||
1
|
||||
n)))))
|
||||
(main 1)
|
||||
|
||||
(module+ test
|
||||
(module config info
|
||||
(define lock-name "gui")))
|
||||
|
|
|
@ -54,5 +54,4 @@
|
|||
|
||||
(module+ test
|
||||
(module config info
|
||||
(define lock-name "gui")
|
||||
(define random? #t)))
|
||||
|
|
|
@ -13,7 +13,3 @@
|
|||
(uni:on-tick add1)
|
||||
(uni:stop-when (lambda (y) (>= y 100)))
|
||||
(uni:on-draw create-UFO-scene))
|
||||
|
||||
(module+ test
|
||||
(module config info
|
||||
(define lock-name "gui")))
|
||||
|
|
|
@ -45,7 +45,3 @@
|
|||
(launch-many-worlds (u) (w "one") (w "two") (w "three")))
|
||||
|
||||
; (require (submod "." drop-bad))
|
||||
|
||||
(module+ test
|
||||
(module config info
|
||||
(define lock-name "gui")))
|
||||
|
|
|
@ -25,7 +25,3 @@
|
|||
(test (big-bang (stop-with 0) (on-tick add1) (to-draw (draw ""))) 0 "")
|
||||
|
||||
(test (big-bang 0 (on-draw (draw 0)) (stop-when zero? (draw 1))) 0 "1")
|
||||
|
||||
(module+ test
|
||||
(module config info
|
||||
(define lock-name "gui")))
|
||||
|
|
Loading…
Reference in New Issue
Block a user