Megatest

Diff
Login

Differences From Artifact [17931d05af]:

To Artifact [6312499606]:


151
152
153
154
155
156
157
158



159


160
161
162
163
164
165
166
151
152
153
154
155
156
157

158
159
160
161
162
163
164
165
166
167
168
169
170







-
+
+
+

+
+








(test "launch-test" #t
      (string? 
       (file-exists?
	;; (launch-test test-id run-id run-info keyvals runname test-conf test-name test-path itemdat params)
	(launch-test 30001 1 rinfo keyvals "run1" tconfig "test1" test-path '() (make-hash-table)))))


;;======================================================================
;; M O R E   R E M O T E   C A L  L S
;;======================================================================

(test #f #f (rmt:set-tests-state-status 1 '("runfirst") "RUNNING" "WARN" "COMPLETED" "FAIL"))
(test #f #f (rmt:top-test-set-per-pf-counts 1 "runfirst"))

(exit 1)




;; (test "Run a test" #t (general-run-call 
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
322
323
324
325
326
327
328





329
330
331
332
333
334
335







-
-
-
-
-








(print "Waiting for server to be done, should be about 20 seconds")
(test "server stop" #f (let ((hostname (car  *runremote*))
			     (port     (cadr *runremote*)))
			 (tasks:kill-server #t hostname port server-pid 'http)
			 (open-run-close tasks:get-best-server tasks:open-db)))

;;======================================================================
;; M O R E   R E M O T E   C A L  L S
;;======================================================================

(test #f #f (rmt:set-tests-state-status 1 '("runfirst") "RUNNING" "WARN" "COMPLETED" "FAIL"))

;; (cdb:kill-server *runremote*)

;; (thread-join! th1 th2 th3)

;; ADD ME!!!! (db:get-prereqs-not-met *db* 1 '("runfirst") "" mode: 'normal)
;; ADD ME!!!! (rdb:get-tests-for-run *db* 1 "runfirst" #f '() '())