Branch remove fix

This commit is contained in:
Jay McCarthy 2012-05-10 09:56:23 -06:00
parent 2d027e7ee5
commit 042defedb6
2 changed files with 9 additions and 7 deletions

View File

@ -68,11 +68,12 @@
tmp-file)
; Dynamic require it
(begin0
(dynamic-require `(file ,(path->string tmp-file))
'get-prop)
(with-handlers ([exn? (λ (x) #f)])
(dynamic-require `(file ,(path->string tmp-file))
'get-prop))
(delete-file tmp-file))))))
(unless props:get-prop
(error 'get-prop "Could not load props file for ~e" (current-rev)))
#;(unless props:get-prop
(error 'get-prop "Could not load props file for ~e" (current-rev)))
; XXX get-prop is stupid and errors when a-path is invalid rather than returning def
(with-handlers ([exn? (lambda (x) def)])
(props:get-prop a-path prop def

View File

@ -320,9 +320,10 @@
; And go
(define top-sema (make-semaphore 0))
(notify! "Starting testing")
(test-directory collects-pth top-sema)
(notify! "All testing scheduled... waiting for completion")
(semaphore-wait top-sema)
(when (directory-exists? collects-pth)
(test-directory collects-pth top-sema)
(notify! "All testing scheduled... waiting for completion")
(semaphore-wait top-sema))
(notify! "Stopping testing")
(stop-job-queue! test-workers))