Overview
Comment: | Only re-run if using the -rerun switch or -force switch (difference from old behaviour) |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | waiton-broken-but-works |
Files: | files | file ages | folders |
SHA1: |
5b8b902667247dd0ab12e679f3d1e9e6 |
User & Date: | mrwellan on 2011-12-05 13:03:13 |
Other Links: | manifest | tags |
Context
2011-12-05
| ||
22:46 | Partial fix, now all run but won't stop check-in: 7bbcfa08c8 user: matt tags: trunk | |
13:03 | Only re-run if using the -rerun switch or -force switch (difference from old behaviour) check-in: 5b8b902667 user: mrwellan tags: trunk, waiton-broken-but-works | |
12:34 | Fixed bug with continuing to launch tests for a run after first pass though the list check-in: 428bbd9b36 user: mrwellan tags: trunk | |
Changes
Modified runs.scm from [bf2ea07774] to [82d8e33935].
︙ | |||
279 280 281 282 283 284 285 286 287 288 289 290 291 292 | 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 | + + | "itemdat: " itemdat "\n items: " items "\n item-path: " item-path) (cond ((not items) ;; when false the test is ok to be handed off to launch (but not before) (let ((have-resources (runs:can-run-more-tests db test-record)) ;; look at the test jobgroup and tot jobs running (prereqs-not-met (db:get-prereqs-not-met db run-id waitons item-path))) ;; Don't know at this time if the test have been launched at some time in the past ;; i.e. is this a re-launch? (if (and have-resources (null? prereqs-not-met)) ;; no loop - drop though and use the loop at the bottom (run:test db run-id runname keyvallst test-record flags #f) ;; else the run is stuck, temporarily or permanently (let ((newtal (append tal (list hed)))) ;; couldn't run, take a breather |
︙ | |||
369 370 371 372 373 374 375 | 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 | - + | (debug:print 5 "test-config: " (hash-table->alist test-conf) "\n itemdat: " itemdat ) ;; setting itemdat to a list if it is #f (if (not itemdat)(set! itemdat '())) (set! item-path (item-list->path itemdat)) |
︙ | |||
405 406 407 408 409 410 411 | 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 | + - + + - + + | ;; -force, run no matter what (force (set! runflag #t)) ;; NOT_STARTED, run no matter what ((equal? (test:get-state testdat) "NOT_STARTED")(set! runflag #t)) ;; not -rerun and PASS, WARN or CHECK, do no run ((and (or (not rerun) keepgoing) ;; Require to force re-run for COMPLETED or *anything* + PASS,WARN or CHECK |
︙ |