Megatest

Check-in [45bb26b72a]
Login
Overview
Comment:dep test tweak
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | v1.60
Files: files | file ages | folders
SHA1: 45bb26b72a58f80ac479127dbd0d49704c142249
User & Date: mrwellan on 2015-07-29 23:57:11
Other Links: branch diff | manifest | tags
Context
2015-07-29
23:57
Merged in item deps handling fix branch: check-in: 7d8e24827c user: mrwellan tags: v1.60
23:57
dep test tweak check-in: 45bb26b72a user: mrwellan tags: v1.60
2015-07-28
13:54
Missed a change to reference % for run killing check-in: 7895c3fddf user: mrwellan tags: v1.60
Changes

Modified db.scm from [753e9325a7] to [3890e6d8b5].

2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
	  (vector-ref inrec 1) ;; run_id
	  (vector-ref inrec 2) ;; testname
	  (vector-ref inrec 4) ;; state
	  (vector-ref inrec 5) ;; status
	  -1 "" -1 -1 "" "-" 
	  (vector-ref inrec 3) ;; item-path
	  -1 "-" "-"))


(define (db:get-tests-for-run-state-status dbstruct run-id testpatt)
  (let* ((res            '())
	 (tests-match-qry (tests:match->sqlqry testpatt))
	 (qry             (conc "SELECT id,testname,item_path,state,status FROM tests WHERE run_id=? " 
				(if tests-match-qry (conc " AND (" tests-match-qry ") ") ""))))
    (debug:print-info 8 "db:get-tests-for-run qry=" qry)







<







2153
2154
2155
2156
2157
2158
2159

2160
2161
2162
2163
2164
2165
2166
	  (vector-ref inrec 1) ;; run_id
	  (vector-ref inrec 2) ;; testname
	  (vector-ref inrec 4) ;; state
	  (vector-ref inrec 5) ;; status
	  -1 "" -1 -1 "" "-" 
	  (vector-ref inrec 3) ;; item-path
	  -1 "-" "-"))


(define (db:get-tests-for-run-state-status dbstruct run-id testpatt)
  (let* ((res            '())
	 (tests-match-qry (tests:match->sqlqry testpatt))
	 (qry             (conc "SELECT id,testname,item_path,state,status FROM tests WHERE run_id=? " 
				(if tests-match-qry (conc " AND (" tests-match-qry ") ") ""))))
    (debug:print-info 8 "db:get-tests-for-run qry=" qry)

Modified tests/dep-tests/runconfigs.config from [81e449a935] to [9ccccd23c7].

1
2
3
4
5
6
7
8


9
10
11
[default]
WAITON_setup
WAITON_genlib    waiton setup
WAITON_test1     waiton genlib
WAITON_aggregate waiton test1
WAITON_test2     waiton aggregate

# [DEPS/SPEED]



[std/0]


<
<
<
<
<


>
>



1





2
3
4
5
6
7
8
[default]






# [DEPS/SPEED]

[simple/0]

[std/0]