Make file-list-queue% use new error format.
Closes PR 15013.
This commit is contained in:
parent
aef101fd84
commit
06634b74d5
|
@ -1,8 +1,13 @@
|
|||
#lang racket/base
|
||||
(require
|
||||
racket/file
|
||||
rackunit
|
||||
setup/parallel-build)
|
||||
|
||||
(check-exn exn:fail:contract? (λ () (parallel-compile ".")))
|
||||
(check-exn exn:fail:contract? (λ () (parallel-compile-files (list) #:worker-count 2.5)))
|
||||
(check-exn exn:fail:contract? (λ () (parallel-compile-files (list) #:handler 5)))
|
||||
|
||||
(define temporary-directory (make-temporary-file "parallel-build~a" 'directory))
|
||||
(check-false (parallel-compile-files (list temporary-directory)))
|
||||
(delete-directory/files temporary-directory)
|
||||
|
|
|
@ -223,7 +223,8 @@
|
|||
(match result-type
|
||||
[(list 'LOCK fn) (lm/lock lock-mgr fn wrkr) #f]
|
||||
[(list 'UNLOCK fn) (lm/unlock lock-mgr fn) #f]
|
||||
[(list 'ERROR msg) (handler id 'error work msg out err)
|
||||
[(list 'ERROR long-msg short-msg)
|
||||
(handler id 'error work long-msg out err)
|
||||
(set! results #f)
|
||||
#t]
|
||||
[(list 'LOG level msg data)
|
||||
|
|
Loading…
Reference in New Issue
Block a user