497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
| 497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
|
-
+
| (if rd rd (conc *toppath* "/runs"))))
(lnkbase (conc linktree "/" target "/" runname))
(lnkpath (conc lnkbase "/" testname))
(lnkpathf (conc lnkpath (if not-iterated "" "/") item-path)))
;; Update the rundir path in the test record for all
(rmt:general-call 'test-set-rundir-by-test-id test-id lnkpathf)
(rmt:general-call 'test-set-rundir-by-test-id lnkpathf test-id)
(debug:print 2 "INFO:\n lnkbase=" lnkbase "\n lnkpath=" lnkpath "\n toptest-path=" toptest-path "\n test-path=" test-path)
(if (not (file-exists? linktree))
(begin
(debug:print 0 "WARNING: linktree did not exist! Creating it now at " linktree)
(create-directory linktree #t))) ;; (system (conc "mkdir -p " linktree))))
;; create the directory for the tests dir links, this is needed no matter what...
|