537
538
539
540
541
542
543
544
545
546
547
548
549
550
|
(set-signal-handler! signal/term sighand)
) ;; (set-signal-handler! signal/stop sighand)
;; Do not run the test if it is REMOVING, RUNNING, KILLREQ or REMOTEHOSTSTART,
;; Mark the test as REMOTEHOSTSTART *IMMEDIATELY*
;;
(let* ((test-info (rmt:get-test-info-by-id run-id test-id))
(test-host (db:test-get-host test-info))
(test-pid (db:test-get-process_id test-info)))
;; if work-area was pre-ordained, use it, else create and then use
(if (not (and (file-exists? work-area)
(file-is-directory? work-area)))
;; (if (configf:var-is? *configdat* "setup" "early-setup" "yes")
(let ((dat (create-work-area run-id runname keyvals test-id test-path #f test-name itemdat tconfig: tconfig)))
|
>
|
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
|
(set-signal-handler! signal/term sighand)
) ;; (set-signal-handler! signal/stop sighand)
;; Do not run the test if it is REMOVING, RUNNING, KILLREQ or REMOTEHOSTSTART,
;; Mark the test as REMOTEHOSTSTART *IMMEDIATELY*
;;
(let* ((test-info (rmt:get-test-info-by-id run-id test-id))
(tconfig (tests:get-testconfig test-name item-path tconfigreg #t force-create: #t))
(test-host (db:test-get-host test-info))
(test-pid (db:test-get-process_id test-info)))
;; if work-area was pre-ordained, use it, else create and then use
(if (not (and (file-exists? work-area)
(file-is-directory? work-area)))
;; (if (configf:var-is? *configdat* "setup" "early-setup" "yes")
(let ((dat (create-work-area run-id runname keyvals test-id test-path #f test-name itemdat tconfig: tconfig)))
|