Overview
Comment: | Couple refinements to test launch speedups |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | v1.54 |
Files: | files | file ages | folders |
SHA1: |
71105b561e4e8bb56e9f9b7295377f8a |
User & Date: | matt on 2013-04-28 08:49:38 |
Other Links: | branch diff | manifest | tags |
Context
2013-04-29
| ||
09:31 | Merged development to v1.54 for release as v1.5418 check-in: 90fd97673d user: mrwellan tags: v1.54 | |
2013-04-28
| ||
13:55 | Merged fixes from v1.54 to development check-in: f66722cb02 user: matt tags: dev | |
08:49 | Couple refinements to test launch speedups check-in: 71105b561e user: matt tags: v1.54 | |
00:47 | Don't wait for the launch process to complete before moving on to next test launch check-in: 25e777f7f1 user: matt tags: v1.54 | |
Changes
Modified runs.scm from [71a2341b9c] to [bb46712ad5].
︙ | |||
410 411 412 413 414 415 416 | 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 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 | + + - + - + - + + + - - - - - + + + + + + - + | (loop (car tal)(cdr tal) reruns))) ;; Registery has been started for this test but has not yet completed ;; this should be rare, the case where there are only a couple of tests and the db is slow ;; delay a short while and continue ;; ((eq? (hash-table-ref/default test-registery (runs:make-full-test-name test-name item-path) #f) 'start) ;; (thread-sleep! 0.01) ;; (loop (car newtal)(cdr newtal) reruns)) ;; count number of 'done, if more than 100 then skip on through. (;; (and (< (length (filter (lambda (x)(eq? x 'done))(hash-table-values test-registery))) 100) ;; why get more than 200 ahead? |
︙ | |||
661 662 663 664 665 666 667 | 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 | - + | ;; ;; NB// for the above line. I want the test to be registered long before this routine gets called! ;; (set! test-id (open-run-close db:get-test-id db run-id test-name item-path)) (if (not test-id) (begin (debug:print 2 "WARN: Test not pre-created? test-name=" test-name ", item-path=" item-path ", run-id=" run-id) |
︙ |
Modified tests/fdktestqa/testqa/runsuite.sh from [e9bfa91f76] to [5c9574fe6e].
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 | + - - + + + + | #!/bin/bash (cd ../../..;make && make install) || exit 1 export PATH=$PWD/../../../bin:$PATH for i in a b c d e f;do # g h i j k l m n o p q r s t u v w x y z;do megatest -runtests % -target a/b :runname $i & done echo "" > num-running.log while true; do foo=`megatest -list-runs % | grep RUNNING | wc -l` |
Modified tests/fdktestqa/testqa/tests/bigrun/testconfig from [e67df4dda2] to [54bef43c00].
1 2 3 4 5 6 7 8 9 10 11 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | - + | # Add additional steps here. Format is "stepname script" [ezsteps] step1 step1.sh # Test requirements are specified here [requirements] # waiton setup priority 0 # Iteration for your tests are controlled by the items section [items] |
︙ |
Modified tests/fdktestqa/testqa/tests/bigrun2/testconfig from [c56d7b9b7c] to [4f3289f0a3].
1 2 3 4 5 6 7 8 9 10 11 12 13 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | - + | # Add additional steps here. Format is "stepname script" [ezsteps] step1 step1.sh # Test requirements are specified here [requirements] waiton bigrun priority 0 mode itemmatch # Iteration for your tests are controlled by the items section [items] |
︙ |