462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
|
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
|
-
-
-
-
+
+
+
+
+
|
(string->number (args:get-arg "-run-id")))))
;; (set! *fdb* (filedb:open-db (conc *toppath* "/db/paths.db")))
;; if not list or kill then start a client (if appropriate)
(if (or (args-defined? "-h" "-version" "-gen-megatest-area" "-gen-megatest-test")
(eq? (length (hash-table-keys args:arg-hash)) 0))
(debug:print-info 1 "Server connection not needed")
(begin
(if run-id
(client:launch run-id)
(client:launch 0) ;; without run-id we'll start a server for "0"
)))))))
;; (if run-id
;; (client:launch run-id)
;; (client:launch 0) ;; without run-id we'll start a server for "0"
#t
))))))
;; MAY STILL NEED THIS
;; (set! *megatest-db* (make-dbr:dbstruct path: *toppath* local: #t))))))))))
(if (or (args:get-arg "-list-servers")
(args:get-arg "-stop-server"))
(let ((tl (launch:setup-for-run)))
|