Index: launch.scm ================================================================== --- launch.scm +++ launch.scm @@ -214,11 +214,11 @@ ) ;; NFS might not have propagated the directory meta data to the run host - give it time if needed (let loop ((count 0)) (if (or (file-exists? top-path) - (< count 10)) + (> count 10)) (change-directory top-path) (begin (debug:print 0 "INFO: Not starting job yet - directory " top-path " not found") (thread-sleep! 10) (loop (+ count 1))))) @@ -293,18 +293,18 @@ (list "default" target))) ;; NFS might not have propagated the directory meta data to the run host - give it time if needed (let loop ((count 0)) (if (or (file-exists? work-area) - (< count 10)) + (> count 10)) (change-directory work-area) (begin (debug:print 0 "INFO: Not starting job yet - directory " work-area " not found") (thread-sleep! 10) (loop (+ count 1))))) - (change-directory work-area) + ;; (change-directory work-area) (set! keyvals (keys:target->keyval keys target)) ;; apply pre-overrides before other variables. The pre-override vars must not ;; clobbers things from the official sources such as megatest.config and runconfigs.config (if (string? set-vars) (let ((varpairs (string-split set-vars ","))) Index: tests.scm ================================================================== --- tests.scm +++ tests.scm @@ -823,17 +823,17 @@ (lambda (a b) (> (mungepriority (tests:testqueue-get-priority (hash-table-ref test-records a))) (mungepriority (tests:testqueue-get-priority (hash-table-ref test-records b))))))) ;; (let ((dot-res (tests:run-dot (tests:tests->dot test-records) "plain"))) ;; (debug:print "dot-res=" dot-res)) - (let ((data (map cdr (filter - (lambda (x)(equal? "node" (car x))) - (map string-split (tests:easy-dot test-records "plain")))))) - (map car (sort data (lambda (a b) - (> (string->number (caddr a))(string->number (caddr b))))))) - )) - ;; (sort all-tests sort-fn1))) ;; avoid dealing with deleted tests, look at the hash table + ;; (let ((data (map cdr (filter + ;; (lambda (x)(equal? "node" (car x))) + ;; (map string-split (tests:easy-dot test-records "plain")))))) + ;; (map car (sort data (lambda (a b) + ;; (> (string->number (caddr a))(string->number (caddr b))))))) + ;; )) + (sort all-tests sort-fn1))) ;; avoid dealing with deleted tests, look at the hash table (define (tests:easy-dot test-records outtype) (let-values (((fd temp-path) (file-mkstemp (conc "/tmp/" (current-user-name) ".XXXXXX")))) (let ((all-testnames (hash-table-keys test-records)) (temp-port (open-output-file* fd)))