Overview
Comment: | Added missing envvar to test control panel launch in support of submegatestarea |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | v1.60 |
Files: | files | file ages | folders |
SHA1: |
369b9e111e41e85e5b3b4214246d871a |
User & Date: | matt on 2015-09-09 22:35:57 |
Other Links: | branch diff | manifest | tags |
Context
2015-09-10
| ||
20:53 | Better env handling for testcontrolpanel due to exposing needed variables check-in: 360e9194d4 user: mrwellan tags: v1.60 | |
2015-09-09
| ||
22:35 | Added missing envvar to test control panel launch in support of submegatestarea check-in: 369b9e111e user: matt tags: v1.60 | |
2015-09-08
| ||
21:14 | Do not add the test/ pattern - I believe it might be causing the expanded pattern three or more levels back check-in: 044afb61b7 user: matt tags: v1.60 | |
Changes
Modified dashboard-tests.scm from [5688299a9b] to [be83680eba].
︙ | |||
454 455 456 457 458 459 460 461 462 463 464 465 | 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 | + - + - | (keystring (string-intersperse (map (lambda (keyval) ;; (conc ":" (car keyval) " " (cadr keyval))) (cadr keyval)) keydat) "/")) (item-path (db:test-get-item-path testdat)) (runconfig (let ((runconfigf (conc *toppath* "/runconfigs.config"))) (if (file-exists? runconfigf) (setup-env-defaults runconfigf run-id (make-hash-table) keydat keystring) (make-hash-table)))) (testconfig (begin |
︙ |
Modified runs.scm from [994d6dfbe4] to [1d53627873].
︙ | |||
92 93 94 95 96 97 98 | 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | - + | (for-each (lambda (varval) (set! envdat (append envdat (list varval))) (safe-setenv (car varval)(cadr varval))) (configf:get-section runconfig section))) (list "default" target)) (vector target runname testpatt keys keyvals envdat mconfig runconfig serverdat transport db toppath run-id))) |
︙ | |||
125 126 127 128 129 130 131 | 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 | - + + + + + + + + + + + + + + | (if (not (get-environment-variable "MT_TARGET"))(setenv "MT_TARGET" target)) (alist->env-vars (hash-table-ref/default *configdat* "env-override" '())) ;; Lets use this as an opportunity to put MT_RUNNAME in the environment (let ((runname (if inrunname inrunname (rmt:get-run-name-from-id run-id)))) (if runname (setenv "MT_RUNNAME" runname) (debug:print 0 "ERROR: no value for runname for id " run-id))) |
︙ |