Megatest

Diff
Login

Differences From Artifact [2b26f71a92]:

To Artifact [92e6e75c72]:


247
248
249
250
251
252
253
254
255
256



257
258
259
260
261
262
263
247
248
249
250
251
252
253



254
255
256
257
258
259
260
261
262
263







-
-
-
+
+
+








;;======================================================================
;;
;;======================================================================
(define (examine-test db test-id) ;; run-id run-key origtest)
  (let* ((testdat       (rdb:get-test-data-by-id db test-id))
	 (db-path       (conc *toppath* "/megatest.db"))
	 (db-mod-time   (file-modification-time db-path))
	 (last-update   (current-seconds))
	 (request-update #f))
	 (db-mod-time   0) ;; (file-modification-time db-path))
	 (last-update   0) ;; (current-seconds))
	 (request-update #t))
    (if (not testdat)
	(begin
	  (debug:print 0 "ERROR: No test data found for test " test-id ", exiting")
	  (exit 1))
	(let* ((run-id        (if testdat (db:test-get-run_id testdat) #f))
	       (keydat        (if testdat (rdb:get-key-val-pairs db run-id) #f))
	       (rundat        (if testdat (rdb:get-run-info db run-id) #f))