Overview
Comment: | Added table based iteration |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | v1.11 |
Files: | files | file ages | folders |
SHA1: |
8d68c680803de233553324b0ade969e5 |
User & Date: | mrwellan on 2011-06-07 00:25:55 |
Other Links: | manifest | tags |
Context
2011-06-07
| ||
00:48 | Added testname to popup edit window title check-in: ffaa4fa4b2 user: mrwellan tags: trunk | |
00:25 | Added table based iteration check-in: 8d68c68080 user: mrwellan tags: trunk, v1.11 | |
2011-06-06
| ||
21:49 | Bumped version to 1.11 check-in: f31622c001 user: mrwellan tags: trunk | |
Changes
Modified items.scm from [1d66604c32] to [94efa1a3a7].
1 2 3 4 5 6 7 8 9 10 11 12 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | - - + + | ;; Copyright 2006-2011, 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. ;; (define itemdat '((ripeness "green ripe overripe") |
︙ | |||
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 | + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + | (begin (for-each (lambda (item) (set! res (append res (process-itemlist hierdepth (append curritemkey (list (list (car hed) item))) tal)))) (cadr hed)) (loop (car tal)(cdr tal))))) res)) ;; (item-assoc->item-list '(("ANIMAL" "Elephant Lion")("SEASON" "Spring Fall"))) ;; => ((("ANIMAL" "Elephant") ("SEASON" "Spring")) ;; (("ANIMAL" "Elephant") ("SEASON" "Fall")) ;; (("ANIMAL" "Lion") ("SEASON" "Spring")) ;; (("ANIMAL" "Lion") ("SEASON" "Fall"))) (define (item-assoc->item-list itemsdat) (if (and itemsdat (not (null? itemsdat))) (let ((itemlst (map (lambda (x) (let ((name (car x)) (items (cadr x))) (list name (string-split items)))) itemsdat))) (process-itemlist #f '() itemlst)) |
Modified runs.scm from [ac80fea080] to [a13e1910a3].
︙ | |||
282 283 284 285 286 287 288 | 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 | - - + + + + + + - + | (if (string? w)(string-split w)'())))) (if (not testexists) (begin (print "ERROR: Can't find config file " test-configf) (exit 2)) ;; put top vars into convenient variables and open the db (let* (;; db is always at *toppath*/db/megatest.db |
︙ |
Modified tests/tests/runfirst/testconfig from [8ed50f0680] to [cc16f856ec].
︙ | |||
9 10 11 12 13 14 15 16 | 9 10 11 12 13 14 15 16 17 18 19 20 | + + + + | # These are set before the test is launched on the originating # host. This can be used to control remote launch tools, e.g. to # to choose the target host, select the launch tool etc. SPECIAL_ENV_VAR override with everything after the first space. [items] SEASON summer winter fall spring [itemstable] BLOCK a b TOCK 1 2 |
Modified tests/tests/runfirst/wasting_time.logpro from [73cad9c3a4] to [1c532ab9c9].
1 2 3 4 5 6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | - - - - - - - - + + + + + + + + | ;; put stuff here ;; NOTE: This is not legit logpro code!!! ;; Test for 0=PASS, 1=WARN, >2 = FAIL |