Megatest

Check-in [6696dc330f]
Login
Overview
Comment:Fixed redir snippet for bash
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 6696dc330f4c675b0cab441045de8ee236e5e57f
User & Date: matt on 2011-05-07 13:20:09
Other Links: manifest | tags
Context
2011-05-07
22:38
Added beginings of documentation check-in: 89a6bb7363 user: matt tags: trunk
13:20
Fixed redir snippet for bash check-in: 6696dc330f user: matt tags: trunk
2011-05-06
14:33
Couple more tweaks to -runstep check-in: adea88835b user: mrwellan tags: trunk
Changes

Modified megatest.scm from [786c6b8984] to [a21f856323].

479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
			 (logfile    (conc stepname ".log"))
			 (cmd        (if (null? remargs) #f (car remargs)))
			 (params     (if cmd (cdr remargs) '()))
			 (exitstat   #f)
			 (shell      (last (string-split (get-environment-variable "SHELL") "/")))
			 (redir      (case (string->symbol shell)
				       ((tcsh csh ksh)    ">&")
				       ((zsh bash sh ash) "2>&1")))
			 (fullcmd    (conc "(" (string-intersperse 
						(cons cmd params) " ")
					   ") " redir " " logfile)))
		    ;; mark the start of the test
		    (test-set-status! db run-id test-name "start" "n/a" itemdat (args:get-arg "-m"))
		    ;; close the db
		    (sqlite3:finalize! db)







|







479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
			 (logfile    (conc stepname ".log"))
			 (cmd        (if (null? remargs) #f (car remargs)))
			 (params     (if cmd (cdr remargs) '()))
			 (exitstat   #f)
			 (shell      (last (string-split (get-environment-variable "SHELL") "/")))
			 (redir      (case (string->symbol shell)
				       ((tcsh csh ksh)    ">&")
				       ((zsh bash sh ash) "2>&1 >")))
			 (fullcmd    (conc "(" (string-intersperse 
						(cons cmd params) " ")
					   ") " redir " " logfile)))
		    ;; mark the start of the test
		    (test-set-status! db run-id test-name "start" "n/a" itemdat (args:get-arg "-m"))
		    ;; close the db
		    (sqlite3:finalize! db)

Modified tests/megatest.config from [36955f5b25] to [c6fc76bb4b].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
[fields]
sysname TEXT
fsname TEXT
datapath TEXT

[setup]
executable /nfs/ch/disks/ch_unienv_disk005/qa_mrwellan/interim/src/megatest/megatest
max_concurrent_jobs 5

[jobtools]
# ## launcher launches jobs, the job is managed on the target host
## by megatest, comment out launcher to run local
# workhosts localhost hermes
launcher nbfake






<







1
2
3
4
5
6

7
8
9
10
11
12
13
[fields]
sysname TEXT
fsname TEXT
datapath TEXT

[setup]

max_concurrent_jobs 5

[jobtools]
# ## launcher launches jobs, the job is managed on the target host
## by megatest, comment out launcher to run local
# workhosts localhost hermes
launcher nbfake