Megatest

Check-in [12a41bff5e]
Login
Overview
Comment:Merged ABORT changes
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | v1.60
Files: files | file ages | folders
SHA1: 12a41bff5eda3f9e48c605b5c1eb2d601d6ff250
User & Date: matt on 2014-11-30 12:19:45
Other Links: branch diff | manifest | tags
Context
2014-12-02
23:56
Merging archiving back to trunk check-in: ab10662391 user: matt tags: v1.60
2014-12-01
13:54
Merged v1.60 into multi-transport check-in: 1888a270be user: mrwellan tags: multi-transport
2014-11-30
13:02
Merging in v1.60 check-in: b2aa3b8559 user: matt tags: archiving
12:44
Bring v1.60 back to trunk check-in: 2f9676f58c user: matt tags: trunk
12:37
Merged v1.60 into old dev branch Closed-Leaf check-in: 61fd6d3c06 user: matt tags: dev
12:19
Merged ABORT changes check-in: 12a41bff5e user: matt tags: v1.60
09:53
Merged fix for get-tests-for-run(s) check-in: c8184e551e user: matt tags: v1.60
2014-01-09
11:06
first change for ABORT Closed-Leaf check-in: 19d75f5d3d user: marasaia tags: add-abort-support
Changes

Modified archive.scm from [653c86c4f2] to [907e35ab0e].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

;; 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.

;;  strftime('%m/%d/%Y %H:%M:%S','now','localtime')

(use sqlite3 srfi-1 posix regex regex-case srfi-69 dot-locking format)
(import (prefix sqlite3 sqlite3:))

(declare (unit archive))
(declare (uses db))
(declare (uses common))

|
















>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
;; Copyright 2006-2014, 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.

;;  strftime('%m/%d/%Y %H:%M:%S','now','localtime')

(use sqlite3 srfi-1 posix regex regex-case srfi-69 dot-locking format)
(import (prefix sqlite3 sqlite3:))

(declare (unit archive))
(declare (uses db))
(declare (uses common))

Modified common.scm from [aa6e9ff977] to [b52de339b7].

186
187
188
189
190
191
192
193

194
195
196
197
198
199
200
201
202
203
204
    (1 "WARN")
    (2 "FAIL")
    (3 "CHECK")
    (4 "n/a")
    (5 "WAIVED")
    (6 "SKIP")
    (7 "DELETED")
    (8 "STUCK/DEAD")))


;; These are stopping conditions that prevent a test from being run
(define *common:cant-run-states-sym* 
  '(COMPLETED KILLED WAIVED UNKNOWN INCOMPLETE))

;;======================================================================
;; D E B U G G I N G   S T U F F 
;;======================================================================

(define *verbosity*         1)
(define *logging*           #f)







|
>



|







186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
    (1 "WARN")
    (2 "FAIL")
    (3 "CHECK")
    (4 "n/a")
    (5 "WAIVED")
    (6 "SKIP")
    (7 "DELETED")
    (8 "STUCK/DEAD")
    (9 "ABORT")))

;; These are stopping conditions that prevent a test from being run
(define *common:cant-run-states-sym* 
  '(COMPLETED KILLED WAIVED UNKNOWN INCOMPLETE ABORT))

;;======================================================================
;; D E B U G G I N G   S T U F F 
;;======================================================================

(define *verbosity*         1)
(define *logging*           #f)
636
637
638
639
640
641
642

643
  (cond
   ((equal? status "PASS")    "green")
   ((equal? status "FAIL")    "red")
   ((equal? status "WARN")    "orange")
   ((equal? status "KILLED")  "orange")
   ((equal? status "KILLREQ") "purple")
   ((equal? status "RUNNING") "blue")

   (else "black")))







>

637
638
639
640
641
642
643
644
645
  (cond
   ((equal? status "PASS")    "green")
   ((equal? status "FAIL")    "red")
   ((equal? status "WARN")    "orange")
   ((equal? status "KILLED")  "orange")
   ((equal? status "KILLREQ") "purple")
   ((equal? status "RUNNING") "blue")
   ((equal? status "ABORT")   "brown")
   (else "black")))