replace hack that enables an unreliable timing test
This commit is contained in:
parent
dc76e1b7e0
commit
27a13cd060
|
@ -774,10 +774,8 @@
|
||||||
1000.0)]
|
1000.0)]
|
||||||
[real-took (/ (abs (- (current-milliseconds) real-msecs)) 1000.0)]
|
[real-took (/ (abs (- (current-milliseconds) real-msecs)) 1000.0)]
|
||||||
[boundary (/ SYNC-BUSY-DELAY 6)])
|
[boundary (/ SYNC-BUSY-DELAY 6)])
|
||||||
;; Hack.
|
;; Run unreliable timing test only in non-parallel mode:
|
||||||
;; The following test isn't reliable, so only Matthew should see it,
|
(when (and (run-unreliable-tests? 'timing)
|
||||||
;; and only in non-parallel mode:
|
|
||||||
(when (and (regexp-match #rx"(mflatt)|(matthewf)" (path->string (find-system-path 'home-dir)))
|
|
||||||
(equal? "" Section-prefix))
|
(equal? "" Section-prefix))
|
||||||
(test busy? (lambda (a ax b c d) (> b c)) 'busy-wait? go took boundary real-took)))))
|
(test busy? (lambda (a ax b c d) (> b c)) 'busy-wait? go took boundary real-took)))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user