Changes In Branch path-and-envvars-fix Excluding Merge-Ins
This is equivalent to a diff from 1c1e1205c5 to 12196ddfac
2012-09-14
| ||
14:16 | Merged in v1.4403 changes to trunk check-in: e0a7e24c94 user: mrwellan tags: trunk | |
14:15 | Move test specific data to sqlite db in test dir check-in: c285bf48d1 user: mrwellan tags: test-specific-db | |
2012-05-29
| ||
09:47 | Questionable changes to help debug test_env_vars failure Closed-Leaf check-in: 12196ddfac user: mrwellan tags: path-and-envvars-fix | |
2012-05-25
| ||
15:39 | Merged v1.44 changes into path-and-envvars-fix branch check-in: 0679eecf71 user: fdk71adm tags: path-and-envvars-fix | |
15:09 |
Added path to megatest executable to PATH in the setup-for-run call. Added filters for envvars and ability to override a specific variable
Do not merge this in until it is bug free! Problem with env vars? check-in: 8dc37784e2 user: mrwellan tags: path-and-envvars-fix | |
2012-05-06
| ||
22:10 | Starting massive refactor for v2.0 check-in: 1c689c2903 user: matt tags: massive-refactor | |
22:10 | Create new branch named "v1.44" check-in: f071891318 user: matt tags: v1.44 | |
2012-05-04
| ||
10:47 | Added MT_TARGET check-in: 1c1e1205c5 user: mrwellan tags: trunk | |
08:41 | Changed testmode into a symbol check-in: ccc8cf028b user: matt tags: trunk | |
Modified common.scm from [7138a29341] to [955623f7b1].
1 2 3 4 5 6 7 8 9 10 11 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | - + | ;;====================================================================== ;; Copyright 2006-2012, Matthew Welland. ;; ;; This program is made available under the GNU GPL version 2.0 or ;; greater. See the accompanying file COPYING for details. ;; ;; This program is distributed WITHOUT ANY WARRANTY; without even the ;; implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR ;; PURPOSE. ;;====================================================================== |
︙ | |||
108 109 110 111 112 113 114 | 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 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 153 | - + + + - + - - + + - - - - - + + + + + + + + + + + + - - - + + - - - - - + + | (cpu-load #f)) (for-each (lambda (l) (let ((match (string-search load-rx l))) (if match (let ((newval (string->number (cadr match)))) (if (number? newval) (set! cpu-load newval)))))) |
︙ |
Modified launch.scm from [ec07a7aa76] to [30a42f8695].
︙ | |||
102 103 104 105 106 107 108 | 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 | - + + + + + | (set-megatest-env-vars db run-id) ;; these may be needed by the launching process (change-directory work-area) (set-run-config-vars db run-id) ;; environment overrides are done *before* the remaining critical envars. (alist->env-vars env-ovrd) (set-megatest-env-vars db run-id) (set-item-env-vars itemdat) |
︙ | |||
352 353 354 355 356 357 358 359 360 361 362 363 364 365 | 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 | + + + + + + + | ;; pass on that idea for now. (set! *configinfo* (find-and-read-config (if (args:get-arg "-config")(args:get-arg "-config") "megatest.config") environ-patt: "env-override")) (set! *configdat* (if (car *configinfo*)(car *configinfo*) #f)) (set! *toppath* (if (car *configinfo*)(cadr *configinfo*) #f)) (if *toppath* (setenv "MT_RUN_AREA_HOME" *toppath*) ;; to be deprecated (debug:print 0 "ERROR: failed to find the top path to your run setup.")) ;; here we extract the path to the megatest executable and append it to the path (let ((path (pathname-directory (car (argv))))) (if path (setenv "PATH" (conc (get-environment-variable "PATH") ":" (posix-extras#resolve-pathname path))))) *toppath*) (define (get-best-disk confdat) (let* ((disks (hash-table-ref/default confdat "disks" #f)) (best #f) (bestsize 0)) (if disks |
︙ |
Modified megatest-version.scm from [057b0043e1] to [4a60862c70].
1 2 3 4 5 | 1 2 3 4 5 6 7 | - + | ;; Always use two digit decimal ;; 1.01, 1.02...1.10,1.11 ... 1.99,2.00.. (declare (unit megatest-version)) |
Modified tests/fullrun/config/mt_include_1.config from [5e42faa87c] to [28b4e77d2c].
1 2 3 4 5 6 7 8 9 10 11 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | + + + + | [setup] # exectutable /path/to/megatest max_concurrent_jobs 200 linktree /tmp/mt_links # homedir overrides the $HOME environment variable. # if unset $HOME is set to the test run dir ($MT_TEST_RUN_DIR) # use #{getenv HOME} to use the normal Unix home # homedir #{getenv HOME} [jobtools] useshell yes # ## launcher launches jobs, the job is managed on the target host ## by megatest, comment out launcher to run local # workhosts localhost hermes launcher nbfake |
︙ |
Modified tests/fullrun/tests/all_toplevel/testconfig from [a36e0b7a97] to [90ed78d278].
1 2 3 4 | 1 2 3 4 5 6 7 8 | - + | [ezsteps] calcresults megatest -list-runs $MT_RUNNAME -target $MT_TARGET [requirements] |
Modified tests/fullrun/tests/test_mt_vars/currentisblah.sh from [38498b5b33] to [20626a4abf].
1 | 1 2 3 4 5 | - + + + | #!/usr/bin/env bash |
Modified tests/fullrun/tests/test_mt_vars/testconfig from [601765abe8] to [8214d9b9f0].
1 2 3 4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | - + + + + | [setup] [ezsteps] lookittmp ls /tmp |
︙ |