Megatest

Diff
Login

Differences From Artifact [a59a7c6f2f]:

To Artifact [351701514f]:


1940
1941
1942
1943
1944
1945
1946

1947

1948
1949
1950
1951

1952
1953

1954
1955
1956
1957
1958
1959
1960
1961
1940
1941
1942
1943
1944
1945
1946
1947

1948
1949
1950
1951

1952


1953

1954
1955
1956
1957
1958
1959
1960







+
-
+



-
+
-
-
+
-







                (null? toplevels))
           #f
           #t)))))

(define (db:get-status-from-final-status-file run-dir)
  (let ((infile (conc run-dir "/.final-status")))
    ;; first verify we are able to write the output file
    (if (and (file-exists? infile)
    (if (not (file-readable? infile))
	     (not (file-readable? infile)))
        (begin 
	  (debug:print 0 *default-log-port* "ERROR: cannot read " infile)
          (debug:print 0 *default-log-port* "ERROR: run-dir is " run-dir)
          #f
          #f)
          )
        (with-input-from-file infile read-lines)
        (with-input-from-file infile read-lines))))
	)))

;;  select end_time-now from
;;      (select testname,item_path,event_time+run_duration as
;;                          end_time,strftime('%s','now') as now from tests where state in
;;      ('RUNNING','REMOTEHOSTSTART','LAUNCHED'));

(define (db:find-and-mark-incomplete dbstruct run-id ovr-deadtime)