Megatest

Diff
Login

Differences From Artifact [2a2b5ea15a]:

To Artifact [0f75487810]:


231
232
233
234
235
236
237

238

239
240
241
242
243
244
245
231
232
233
234
235
236
237
238

239
240
241
242
243
244
245
246







+
-
+







;;======================================================================
;; T E S T   S P E C I F I C   D B 
;;======================================================================

;; Create the sqlite db for the individual test(s)
(define (open-test-db testpath) 
  (debug:print-info 11 "open-test-db " testpath)
  (if (and testpath 
  (if (and (directory? testpath)
	   (directory? testpath)
	   (file-read-access? testpath))
      (let* ((dbpath    (conc testpath "/testdat.db"))
	     (dbexists  (file-exists? dbpath))
	     (db        (sqlite3:open-database dbpath)) ;; (never-give-up-open-db dbpath))
	     (handler   (make-busy-timeout (if (args:get-arg "-override-timeout")
					       (string->number (args:get-arg "-override-timeout"))
					       136000))))