Overview
Comment: | wip |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | 1.65-subrun-ancilliary-usecases |
Files: | files | file ages | folders |
SHA1: |
ea81a6b774fe6422dea20207e0356f8c |
User & Date: | bjbarcla on 2017-12-22 18:12:13 |
Other Links: | branch diff | manifest | tags |
Context
2017-12-26
| ||
11:47 | wip check-in: 29b61b765c user: bjbarcla tags: 1.65-subrun-ancilliary-usecases | |
2017-12-22
| ||
18:12 | wip check-in: ea81a6b774 user: bjbarcla tags: 1.65-subrun-ancilliary-usecases | |
17:50 | wip check-in: ce123f377a user: bjbarcla tags: 1.65-subrun-ancilliary-usecases | |
Changes
Modified launch.scm from [e40ed8df21] to [a8e0155aa6].
︙ | ︙ | |||
320 321 322 323 324 325 326 | ;; 2. unset MT_* vars ;; 3. fix target ;; 4. fix runname ;; 5. fix testpatt or calculate it from contour ;; 6. launch the run ;; 7. roll up the run result and or roll up the logpro processed result (if (configf:lookup testconfig "subrun" "runwait") ;; we use runwait as the flag that a subrun is requested | | | < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < | > | < < < < | 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 | ;; 2. unset MT_* vars ;; 3. fix target ;; 4. fix runname ;; 5. fix testpatt or calculate it from contour ;; 6. launch the run ;; 7. roll up the run result and or roll up the logpro processed result (if (configf:lookup testconfig "subrun" "runwait") ;; we use runwait as the flag that a subrun is requested (subrun:initialize-toprun-test testconfig test-run-dir logpro) (let* ((mt-cmd (subrun:launch-cmd test-run-dir))) (debug:print-info 0 *default-log-port* "Subrun command is \"" mt-cmd "\"") (set! ezsteps #t) ;; set the needed flag (set! ezstepslst (append (or ezstepslst '()) (list (list "subrun" (conc "{subrun=true} " mt-cmd))))))) ;; process the ezsteps (if ezsteps (begin (if (not (common:file-exists? ".ezsteps"))(create-directory ".ezsteps")) ;; if ezsteps was defined then we are sure to have at least one step but check anyway (if (not (> (length ezstepslst) 0)) |
︙ | ︙ |
Modified subrun.scm from [1080da5c1d] to [f8b080e239].
︙ | ︙ | |||
40 41 42 43 44 45 46 | (defval (alist-ref defvals switch equal?)) (val (or (configf:lookup subrunconfig switch) defval))) (if val (list switch val) #f))) switch-def-alist))) | | > | > | | | 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | (defval (alist-ref defvals switch equal?)) (val (or (configf:lookup subrunconfig switch) defval))) (if val (list switch val) #f))) switch-def-alist))) (target (or (alist-ref switch-alist "-target" equal?) "NO-TARGET")) (runname (or (alist-ref switch-alist "-runname" equal?) "NO-RUNNAME")) (testpatt (alist-ref switch-alist "-testpatt" equal?)) (mode-patt (alist-ref switch-alist "-modepatt" equal?)) (tag-expr (alist-ref switch-alist "-tagexpr" equal?)) (compact-stem (string-substitute "[/*]" "_" (conc target "-" runname "-" (or testpatt mode-patt tag-expr "NO-TESTPATT")))) (logfile (conc test-run-dir "/" (or log-prefix "") (if log-prefix "-" "") compact-stem ".log"))) |
︙ | ︙ |