Megatest

Diff
Login

Differences From Artifact [290ef6c47a]:

To Artifact [d698195ea2]:


437
438
439
440
441
442
443
444



445
446
447
448
449
450
451
437
438
439
440
441
442
443

444
445
446
447
448
449
450
451
452
453







-
+
+
+







      (system  (conc "ln -sf " dfullp " " testlink)))
    (if (directory? dfullp)
	(begin
	  (let* ((cmd    (conc "rsync -av" (if (> *verbosity* 1) "" "q") " " test-path "/ " dfullp "/"))
		 (status (system cmd)))
	    (if (not (eq? status 0))
		(debug:print 2 "ERROR: problem with running \"" cmd "\"")))
	  (list dfullp toptest-path))
	  (list dfullp toptest-path)
	  ;; (list lnkpath toptest-path)
	  )
	(list #f #f))))

;; 1. look though disks list for disk with most space
;; 2. create run dir on disk, path name is meaningful
;; 3. create link from run dir to megatest runs area 
;; 4. remotely run the test on allocated host
;;    - could be ssh to host from hosts table (update regularly with load)