Overview
Comment: | Added roadmap, enabled -logging, switched to exec in wrapper scripts |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | v1.55 |
Files: | files | file ages | folders |
SHA1: |
90d533fb5665523132567822680034dd |
User & Date: | mrwellan on 2013-07-18 23:33:40 |
Other Links: | branch diff | manifest | tags |
Context
2013-07-19
| ||
00:47 | Merged development fixes to v1.55 for v1.5508 patch release check-in: 5106361595 user: mrwellan tags: v1.55, v1.5508 | |
2013-07-18
| ||
23:37 | Merged in some edits made on v1.55 branch check-in: 432258c6c9 user: matt tags: dev | |
23:33 | Added roadmap, enabled -logging, switched to exec in wrapper scripts check-in: 90d533fb56 user: mrwellan tags: v1.55 | |
2013-07-15
| ||
12:30 | Merged development into v1.55 for release as bump of v1.5508 check-in: e6fef4b651 user: mrwellan tags: v1.55, v1.5508 | |
Changes
Modified Makefile from [9930e702df] to [705f91c9d9].
︙ | ︙ | |||
136 137 138 139 140 141 142 | bin : mkdir -p $(PREFIX)/bin test: tests/tests.scm cd tests;csi -I .. -b -n tests.scm clean : | | | 136 137 138 139 140 141 142 143 | bin : mkdir -p $(PREFIX)/bin test: tests/tests.scm cd tests;csi -I .. -b -n tests.scm clean : rm -f $(OFILES) $(GOFILES) megatest dboard dboard.o megatest.o dashboard.o |
Modified common_records.scm from [9ac4a598ab] to [7793eb36cc].
︙ | ︙ | |||
47 48 49 50 51 52 53 | (conc *verbosity*)))))) (define (debug:print n . params) (if (debug:debug-mode n) (with-output-to-port (current-error-port) (lambda () | > > | | | > > | | | 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | (conc *verbosity*)))))) (define (debug:print n . params) (if (debug:debug-mode n) (with-output-to-port (current-error-port) (lambda () (if *logging* (db:log-event (apply conc params)) (apply print params) ))))) (define (debug:print-info n . params) (if (debug:debug-mode n) (with-output-to-port (current-error-port) (lambda () (let ((res (format#format #f "INFO: (~2d) ~a" n (apply conc params)))) (if *logging* (db:log-event res) (apply print "INFO: (" n ") " params) ;; res) )))))) ;; if a value is printable (i.e. string or number) return the value ;; else return an empty string (define-inline (printable val) (if (or (number? val)(string? val)) val "")) |
Modified db.scm from [56b35aaf08] to [383d15bff3].
︙ | ︙ | |||
357 358 359 360 361 362 363 | (if (not dbexists) (begin (sqlite3:execute db "CREATE TABLE IF NOT EXISTS log (id INTEGER PRIMARY KEY,event_time TIMESTAMP DEFAULT (strftime('%s','now')),logline TEXT,pwd TEXT,cmdline TEXT,pid INTEGER);") (sqlite3:execute db (conc "PRAGMA synchronous = 0;")))) db)) (define (db:log-local-event . loglst) | | | | | | | | > > > > | 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 | (if (not dbexists) (begin (sqlite3:execute db "CREATE TABLE IF NOT EXISTS log (id INTEGER PRIMARY KEY,event_time TIMESTAMP DEFAULT (strftime('%s','now')),logline TEXT,pwd TEXT,cmdline TEXT,pid INTEGER);") (sqlite3:execute db (conc "PRAGMA synchronous = 0;")))) db)) (define (db:log-local-event . loglst) (let ((logline (apply conc loglst))) ;; (pwd (current-directory)) ;; (cmdline (string-intersperse (argv) " ")) ;; (pid (current-process-id))) (db:log-event logline))) (define (db:log-event logline) (let ((db (open-logging-db))) (sqlite3:execute db "INSERT INTO log (logline,pwd,cmdline,pid) VALUES (?,?,?,?);" logline (current-directory) (string-intersperse (argv) " ") (current-process-id)) (sqlite3:finalize! db) logline)) ;;====================================================================== ;; TODO: ;; put deltas into an assoc list with version numbers ;; apply all from last to current |
︙ | ︙ |
Modified docs/plan.txt from [b6f3c7c220] to [d2b75369f4].
1 2 3 4 5 6 7 | Move test specific db to test dir ================================= . Create teststats.db . Redirect test run stats to teststats.db . Redirect test steps data to teststats.db | > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | Road Map ======== . Quality improvements .. Server stutters occasionally .. Large number of items or tests still has some issues. .. Code refactoring .. Replace remote process with true API using json (supports Web app also) . Streamline the gui .. Everything resizable .. Less clutter .. Tool tips .. Filters on Run Summary, Summary and Run Control panel .. Built in log viewer (partially implemented) .. Refactor the test control panel . Help and documentation .. Complete the user manual (I’ve been working on this lately). .. Online help in the gui . Streamlined install .. Deployed version (download a location independent ready to run binary bundle) .. Install Makefile (in progress, needed for Mike to install on VMs) .. Added option to compile IUP (needed for VMs) . Server side run launching . Support for re-running, cleaning etc. of individual steps (ezsteps makes this very easy to implement). . Launch process needs built in daemonizing (easy to do, just need to test it thoroughly). . Wizards for creating tests, regression areas (current ones are text only and limited). . Fully functional built in web service (currently you can browse runs but it is very simplistic). . Wildcards in runconfigs: e.g. [p1271/9/%/%] . Gui panels for editing megatest.config and runconfigs.config . Fully isolated tests (no use of NFS to see regression area files) . Windows version Move test specific db to test dir ================================= . Create teststats.db . Redirect test run stats to teststats.db . Redirect test steps data to teststats.db |
︙ | ︙ |
Modified runs.scm from [0d3fdcfce8] to [6ee79e71cd].
︙ | ︙ | |||
646 647 648 649 650 651 652 | (debug:print-info 4 "OUTER COND: (and (list? items)(not itemdat))") ;; Must determine if the items list is valid. Discard the test if it is not. (if (and (list? items) (> (length items) 0) (and (list? (car items)) (> (length (car items)) 0)) (debug:debug-mode 1)) | > > > > > > > | < | 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 | (debug:print-info 4 "OUTER COND: (and (list? items)(not itemdat))") ;; Must determine if the items list is valid. Discard the test if it is not. (if (and (list? items) (> (length items) 0) (and (list? (car items)) (> (length (car items)) 0)) (debug:debug-mode 1)) (debug:print 2 (map (lambda (row) (conc (string-intersperse (map (lambda (varval) (string-intersperse varval "=")) row) " ") "\n")) items))) (for-each (lambda (my-itemdat) (let* ((new-test-record (let ((newrec (make-tests:testqueue))) (vector-copy! test-record newrec) newrec)) (my-item-path (item-list->path my-itemdat))) (if (tests:match test-patts hed my-item-path required: required-tests) ;; (patt-list-match my-item-path item-patts) ;; yes, we want to process this item, NOTE: Should not need this check here! |
︙ | ︙ |
Modified utils/mk_wrapper from [abe9806348] to [8168084a10].
1 2 3 4 5 6 7 8 9 10 11 12 13 | #!/bin/bash prefix=$1 cmd=$2 echo "#!/bin/bash" if [ "$LD_LIBRARY_PATH" != "" ];then echo "INFO: Using LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >&2 echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH" else echo "INFO: LD_LIBRARY_PATH not set" >&2 fi | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #!/bin/bash prefix=$1 cmd=$2 echo "#!/bin/bash" if [ "$LD_LIBRARY_PATH" != "" ];then echo "INFO: Using LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >&2 echo "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH" else echo "INFO: LD_LIBRARY_PATH not set" >&2 fi fullcmd="exec $prefix/bin/$cmd" echo "$fullcmd \"\$@\"" |