Overview
Comment: | added basic html genration |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | html-gen |
Files: | files | file ages | folders |
SHA1: |
ae20a8a286334ed795deb27a226c4ad3 |
User & Date: | pjhatwal on 2017-02-02 14:52:21 |
Other Links: | branch diff | manifest | tags |
Context
2017-02-03
| ||
17:15 | merged with v1.63 check-in: b4a8031723 user: pjhatwal tags: html-gen | |
16:18 | merged html gen check-in: c720d64d07 user: pjhatwal tags: v1.63 | |
2017-02-02
| ||
15:20 | Automated merge of html-gen/ae20a8a286/integ into integ-home check-in: 729025ee8c user: matt tags: integ-home | |
14:52 | added basic html genration check-in: ae20a8a286 user: pjhatwal tags: html-gen | |
2017-01-25
| ||
17:11 | made yougest-db error message more useful check-in: e58c0e3fb7 user: bjbarcla tags: v1.63 | |
Changes
Modified tests.scm from [0b2fe25394] to [e19b1bb1d2].
︙ | |||
567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 | 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 | + + + + + + + + + + + + + + + + + + + + + + + + + + + + | (define tests:css-jscript-block #<<EOF <style type="text/css"> ul.LinkedList { display: block; } /* ul.LinkedList ul { display: none; } */ .HandCursorStyle { cursor: pointer; cursor: hand; } /* For IE */ th {background-color: #8c8c8c;} td.test {background-color: #d9dbdd;} td.PASS {background-color: #347533;} td.FAIL {background-color: #cc2812;} </style> <script src=/nfs/site/disks/ch_ciaf_disk023/fdk_gwa_disk003/pjhatwal/fdk/docs/qa-env-team/jquery-3.1.0.slim.min.js></script> <script type="text/JavaScript"> function filtersome() { $("tr").show(); $(".test").filter( function() { var names = $('#testname').val().split(','); var good=1; for (var i=0, len=names.length; i<len; i++) { var uname=names[i]; console.log("Trying to check for " + uname); if($(this).text().indexOf(uname) != -1) { good= 0; console.log("Found "+uname); } } return good; } ).parent().hide(); // $(".sum").show(); } // Add this to the onload event of the BODY element function addEvents() { activateTree(document.getElementById("LinkedList1")); } // This function traverses the list and add links // to nested list items |
︙ | |||
635 636 637 638 639 640 641 642 643 644 | 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 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 | + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + | EOF ) (define (tests:run-record->test-path run numkeys) (append (take (vector->list run) numkeys) (list (vector-ref run (+ 1 numkeys))))) (define (tests:get-rest-data runs header numkeys) (let ((resh (make-hash-table))) (for-each (lambda (run) (let* ((run-id (db:get-value-by-header run header "id")) (run-dir (tests:run-record->test-path run numkeys)) (test-data (rmt:get-tests-for-run run-id "%" ;; testnamepatt '() ;; states '() ;; statuses #f ;; offset #f ;; num-to-get #f ;; hide/not-hide #f ;; sort-by #f ;; sort-order #f ;; 'shortlist ;; qrytype 0 ;; last update #f))) (map (lambda (test) (let* ((test-name (vector-ref test 2)) (test-html-path (conc (vector-ref test 10) "/" (vector-ref test 13))) (test-item (conc test-name ":" (vector-ref test 11))) (test-status (vector-ref test 4))) (if (not (hash-table-ref/default resh test-name #f)) (hash-table-set! resh test-name (make-hash-table))) (if (not (hash-table-ref/default (hash-table-ref/default resh test-name #f) test-item #f)) (hash-table-set! (hash-table-ref/default resh test-name #f) test-item (make-hash-table))) (hash-table-set! (hash-table-ref/default (hash-table-ref/default resh test-name #f) test-item #f) run-id (list test-status test-html-path)))) test-data))) runs) resh)) ;; (tests:create-html-tree "test-index.html") ;; (define (tests:create-html-tree outf) |
︙ | |||
679 680 681 682 683 684 685 686 687 688 689 690 691 692 | 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 | + | (file-write-access? full-path)) (s:a run-name 'href (conc targ-path "/run-summary.html")) (begin (debug:print 0 *default-log-port* "INFO: Can't create " targ-path "/run-summary.html") (conc run-name " (Not able to create summary at " targ-path ")"))))))))))) (close-output-port oup) (common:simple-file-release-lock lockfile) (for-each (lambda (run) (let* ((test-subpath (tests:run-record->test-path run numkeys)) (run-id (db:get-value-by-header run header "id")) (run-dir (tests:run-record->test-path run numkeys)) (test-dats (rmt:get-tests-for-run run-id |
︙ | |||
756 757 758 759 760 761 762 763 764 765 766 767 768 769 | 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 | + + + + + | (debug:print 0 *default-log-port* "ERROR: can't access " full-targ) (conc "No summary for " run-name))))) )))))) (close-output-port oup))))) runs) #t) #f))) ;; CHECK - WAS THIS ADDED OR REMOVED? MANUAL MERGE WITH API STUFF!!! ;; ;; get a pretty table to summarize steps ;; ;; (define (dcommon:process-steps-table steps);; db test-id #!key (work-area #f)) |
︙ |