Overview
Comment: | Runs tree for run summary in place |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | dev | kind-db-access |
Files: | files | file ages | folders |
SHA1: |
255dbe1f68e6a5216431bef9f0286172 |
User & Date: | matt on 2013-07-05 10:10:34 |
Other Links: | branch diff | manifest | tags |
Context
2013-07-05
| ||
16:25 | Runs summary working nicely check-in: c76a0c089e user: matt tags: dev, kind-db-access | |
10:10 | Runs tree for run summary in place check-in: 255dbe1f68 user: matt tags: dev, kind-db-access | |
2013-07-04
| ||
23:45 | Beginnings of run summary view in place check-in: bc7b3cac87 user: matt tags: dev, kind-db-access | |
Changes
Modified dashboard.scm from [e506d58959] to [e1d233708f].
︙ | |||
27 28 29 30 31 32 33 34 35 36 37 38 39 40 | 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | + | (declare (uses db)) (declare (uses configf)) (declare (uses process)) (declare (uses launch)) (declare (uses runs)) (declare (uses dashboard-tests)) (declare (uses dashboard-guimonitor)) (declare (uses tree)) (declare (uses dcommon)) ;; (declare (uses dashboard-main)) (declare (uses megatest-version)) (declare (uses mt)) (include "common_records.scm") |
︙ | |||
649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 | 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 | + + + + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + | #f)) (define dashboard:update-run-summary-tab #f) ;; (define (tests window-id) (define (dashboard:one-run) (let* ((tb (iup:treebox #:value 0 #:name "Runs" #:selection-cb (lambda (obj id state) ;; (print "obj: " obj ", id: " id ", state: " state) (let* ((run-path (tree:node->path obj id)) (run-id (tree-path->run-id (cdr run-path)))) (if run-id (dboard:data-set-curr-run-id *data*)) (print "path: " (tree:node->path obj id) " run-id: " run-id))))) (run-matrix (iup:matrix #:expand "YES")) (updater (lambda () (let* ((runs-dat (mt:get-runs-by-patt *keys* "%" #f)) (runs-header (vector-ref runs-dat 0)) ;; 0 is header, 1 is list of records |
︙ | |||
721 722 723 724 725 726 727 | 759 760 761 762 763 764 765 766 767 768 769 770 771 772 | - - - | (if (not (equal? (iup:attribute run-matrix key) value)) (begin (set! changed #t) (iup:attribute-set! run-matrix key value))))) tests-mindat) (if changed (iup:attribute-set! run-matrix "REDRAW" "ALL")))))) (set! dashboard:update-run-summary-tab updater) |
︙ |
Modified db.scm from [0047dcf661] to [97955e1756].
︙ | |||
711 712 713 714 715 716 717 | 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 | - + | (let* ((tmp (runs:get-std-run-fields keys '("id" "runname" "state" "status" "owner" "event_time"))) (keystr (car tmp)) (header (cadr tmp)) (res '()) (key-patt "") (runwildtype (if (substring-index "%" runnamepatt) "like" "glob")) (qry-str #f) |
︙ |