Overview
Comment: | Removed backslash from strings made from continued lines. Fixed test control panel crash due to bad db read. Fixed handling of empty items lists, print error and not crash |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | v1.55 |
Files: | files | file ages | folders |
SHA1: |
ba694f62385378a4db4e93e7718586eb |
User & Date: | matt on 2013-11-03 07:14:47 |
Other Links: | branch diff | manifest | tags |
Context
2013-11-03
| ||
07:25 | Added test case for cascading failed dependencies check-in: c1101b6bec user: matt tags: v1.55 | |
07:14 | Removed backslash from strings made from continued lines. Fixed test control panel crash due to bad db read. Fixed handling of empty items lists, print error and not crash check-in: ba694f6238 user: matt tags: v1.55 | |
00:20 | set-busy-handler must also be excluded on writes for read-only db check-in: 99599de4c3 user: icfadm tags: v1.55 | |
Changes
Modified configf.scm from [a206263cb1] to [13e344a884].
︙ | |||
116 117 118 119 120 121 122 | 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 | - - - - - - - - - - + + + + + + + + + + + + + + | (if targ (or (configf:lookup config targ var) (configf:lookup config "default" var)) (configf:lookup config "default" var)))) (define-inline (configf:read-line p ht allow-processing) (let loop ((inl (read-line p))) |
︙ |
Modified dashboard-tests.scm from [e5436ec9f2] to [7d38654acd].
︙ | |||
372 373 374 375 376 377 378 379 380 | 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 | + - + + - + + | (set! testdat-path (conc rundir "/testdat.db")) 0)))) (need-update (or (and (> curr-mod-time db-mod-time) (> (current-milliseconds)(+ last-update 250))) ;; every half seconds if db touched (> (current-milliseconds)(+ last-update 10000)) ;; force update even 10 seconds request-update)) (newtestdat (if need-update ;; NOTE: BUG HIDER, try to eliminate this exception handler (handle-exceptions exn |
︙ |
Modified db.scm from [e07d55450c] to [b34cccd126].
︙ | |||
88 89 90 91 92 93 94 | 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | - - - - - + + + + + | db)) ;; keeping it around for debugging purposes only (define (open-run-close-no-exception-handling proc idb . params) (debug:print-info 11 "open-run-close-no-exception-handling START given a db=" (if idb "yes " "no ") ", params=" params) (if (or *db-write-access* (not (member proc *db:all-write-procs*))) |
︙ | |||
1912 1913 1914 1915 1916 1917 1918 | 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 | - + | (debug:print-info 11 "Special queries/requests stmt-key=" stmt-key ", return-address=" return-address ", query=" query ", params=" params) (if query ;; hand queries off to the write queue (let ((response (case *transport-type* ((http) (debug:print-info 7 "Queuing item " item " for wrapped write") (db:queue-write-and-wait db qry-sig query params)) |
︙ | |||
2166 2167 2168 2169 2170 2171 2172 | 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 | + - - - - - - - - + + + + + + + + | (let* ((tdb (db:open-test-db-by-test-id db test-id work-area: work-area)) (res '())) (if (sqlite3:database? tdb) (handle-exceptions exn (debug:print 0 "ERROR: error on access to testdat for test with id " test-id) '() (begin |
︙ |
Modified db_records.scm from [e634aaf404] to [a8b0eafe9a].
| 1 2 3 4 5 6 7 8 | - + |
|
︙ |
Modified items.scm from [225b8827e5] to [efb067b49e].
︙ | |||
67 68 69 70 71 72 73 | 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | - - - + + + + + + + + | (list? x)) (map (lambda (x) (debug:print 6 "item-assoc->item-list x: " x) (if (< (length x) 2) (begin (debug:print 0 "ERROR: malformed items spec " (string-intersperse x " ")) (list (car x)'())) |
︙ |
Modified runs.scm from [4db13ad8f7] to [4c5e683265].
︙ | |||
434 435 436 437 438 439 440 | 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 | - + | (set-megatest-env-vars run-id inrunname: runname) ;; these may be needed by the launching process (let ((items-list (items:get-items-from-config tconfig))) (if (list? items-list) (begin (tests:testqueue-set-items! test-record items-list) (list hed tal reg reruns)) (begin |
︙ |
Modified tests.scm from [72fd2eb38f] to [0d9cac1a4f].
︙ | |||
735 736 737 738 739 740 741 | 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 | + - - - - - - + + + + + + | (sqlite3:finalize! tdb)) (debug:print 2 "Can't update testdat.db for test " test-id " read-only or non-existant")))) (define (tests:testdat-get-testinfo db test-id work-area) (let ((tdb (db:open-test-db-by-test-id db test-id work-area: work-area)) (res '())) (if (sqlite3:database? tdb) (begin |
︙ |
Added tests/fullrun/tests/no_items/testconfig version [ee0c082186].
|