Overview
Comment: | Cleaned up html generation a little |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | html-tree |
Files: | files | file ages | folders |
SHA1: |
962be1040557ddc29220547c9f7c2593 |
User & Date: | mrwellan on 2016-10-17 11:00:12 |
Other Links: | branch diff | manifest | tags |
Context
2016-10-17
| ||
11:04 | Merged in html and bumped version to v1.6204 check-in: 831e40ab39 user: mrwellan tags: v1.62 | |
11:00 | Cleaned up html generation a little Closed-Leaf check-in: 962be10405 user: mrwellan tags: html-tree | |
01:32 | Added data get for runs summary html page check-in: 6ae61495e7 user: matt tags: html-tree | |
Changes
Modified common.scm from [69895b157d] to [8514527bdb].
︙ | |||
644 645 646 647 648 649 650 | 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 | - + + + | resh)) ;; hash-table tree to html list tree ;; ;; tipfunc takes two parameters: y the tip value and path the path to that point ;; (define (common:htree->html ht path tipfunc) |
︙ |
Modified megatest.scm from [abcb815542] to [f073a21a21].
︙ | |||
167 168 169 170 171 172 173 174 175 176 177 178 179 180 | 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 | + | formats: perl, ruby, sqlite3, csv (for csv the -o param will substitute %s for the sheet name in generating multiple sheets) -o : output file for refdb2dat (defaults to stdout) -archive cmd : archive runs specified by selectors to one of disks specified in the [archive-disks] section. cmd: keep-html, restore, save, save-remove -generate-html : create a simple html tree for browsing your runs Spreadsheet generation -extract-ods fname.ods : extract an open document spreadsheet from the database -pathmod path : insert path, i.e. path/runame/itempath/logfile.html will clear the field if no rundir/testname/itempath/logfile if it contains forward slashes the path will be converted to windows style |
︙ | |||
282 283 284 285 286 287 288 289 290 291 292 293 294 295 | 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 | + | ;; misc "-repl" "-lock" "-unlock" "-list-servers" "-run-wait" ;; wait on a run to complete (i.e. no RUNNING) "-local" ;; run some commands using local db access "-generate-html" ;; misc queries "-list-disks" "-list-targets" "-list-db-targets" "-show-runconfig" "-show-config" |
︙ | |||
1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 | 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 | + + + + + + + | (if (args:get-arg "-sync-to-megatest.db") (begin (db:multi-db-sync #f ;; do all run-ids 'new2old ) (set! *didsomething* #t))) (if (args:get-arg "-generate-html") (let* ((toppath (launch:setup))) (if (tests:create-html-tree #f) (debug:print-info 0 *default-log-port* "HTML output created in " toppath "/lt/runs-index.html") (debug:print 0 *default-log-port* "Failed to create HTML output in " toppath "/lt/runs-index.html")) (set! *didsomething* #t))) ;;====================================================================== ;; Exit and clean up ;;====================================================================== (if *runremote* (close-all-connections!)) |
︙ |
Modified tests.scm from [34fb215fdd] to [8d5f3a1ead].
︙ | |||
647 648 649 650 651 652 653 | 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 | - + | ;; (tests:create-html-tree "test-index.html") ;; (define (tests:create-html-tree outf) (let* ((lockfile (conc outf ".lock")) (runs-to-process '())) (if (common:simple-file-lock lockfile) (let* ((linktree (common:get-linktree)) |
︙ | |||
672 673 674 675 676 677 678 | 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 | - - - - - + + + + + + + + + + + + - - + + + - - - - - - + + + + + + + + + + + + + + + + + + - - - - - - - + - - + - - - + - - - - - + + + + + + - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + - - - + - - - - + + + + + + + + + + - | ;; top list (s:ul 'id "LinkedList1" 'class "LinkedList" (s:li "Runs" (common:htree->html runs-htree '() (lambda (x p) |
︙ |