Overview
Comment: | Refactoring; open-run-close calls, remote calls |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | refactor |
Files: | files | file ages | folders |
SHA1: |
dbcada9e2e32bdaa5ccc8225ab6c5796 |
User & Date: | mrwellan on 2013-05-01 16:02:01 |
Other Links: | branch diff | manifest | tags |
Context
2013-05-01
| ||
16:27 | Tweaks to tests check-in: c922680875 user: mrwellan tags: v1.5419, refactor | |
16:02 | Refactoring; open-run-close calls, remote calls check-in: dbcada9e2e user: mrwellan tags: refactor | |
14:13 | open-run-close related refactoring check-in: cda53f40cf user: mrwellan tags: refactor | |
Changes
Modified launch.scm from [b5de4098a1] to [f3b05e9850].
︙ | |||
410 411 412 413 414 415 416 | 410 411 412 413 414 415 416 417 418 419 420 421 422 423 | - | ;; (define (create-work-area run-id run-info key-vals test-id test-src-path disk-path testname itemdat) (let* ((item-path (item-list->path itemdat)) (runname (db:get-value-by-header (db:get-row run-info) (db:get-header run-info) "runname")) ;; convert back to db: from rdb: - this is always run at server end |
︙ | |||
553 554 555 556 557 558 559 | 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 | - + | ;; 1. look though disks list for disk with most space ;; 2. create run dir on disk, path name is meaningful ;; 3. create link from run dir to megatest runs area ;; 4. remotely run the test on allocated host ;; - could be ssh to host from hosts table (update regularly with load) ;; - could be netbatch ;; (launch-test db (cadr status) test-conf)) |
︙ | |||
592 593 594 595 596 597 598 | 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 | - + | (work-area #f) (toptest-work-area #f) ;; for iterated tests the top test contains data relevant for all (diskpath #f) (cmdparms #f) (fullcmd #f) ;; (define a (with-output-to-string (lambda ()(write x)))) (mt-bindir-path #f) (item-path (item-list->path itemdat)) |
︙ |
Modified runs.scm from [5cd6719766] to [5f0f872d62].
︙ | |||
453 454 455 456 457 458 459 | 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 | - + | (if (not parent-test) (debug:print 1 "NOTE: Not starting test " new-test-name " as it is state \"" (test:get-state testdat) "\" and status \"" (test:get-status testdat) "\", use -rerun \"" (test:get-status testdat) "\" or -force to override")) ;; NOTE: No longer be checking prerequisites here! Will never get here unless prereqs are ;; already met. ;; This would be a great place to do the process-fork |
︙ |
Modified tests/fdktestqa/testqa/megatest.config from [5cdeb94e1e] to [88ea0dc535].
1 2 3 4 5 6 7 | 1 2 3 4 5 6 7 8 | + | [setup] testcopycmd cp --remove-destination -rlv TEST_SRC_PATH/. TEST_TARG_PATH/. >> TEST_TARG_PATH/mt_launch.log 2>> TEST_TARG_PATH/mt_launch.log runqueue 2 [include ../fdk.config] [server] timeout 0.01 |