Overview
Comment: | Added csv import back |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | v1.60 |
Files: | files | file ages | folders |
SHA1: |
9152525c345d51bc4112eac600498ba6 |
User & Date: | matt on 2015-09-01 21:59:27 |
Other Links: | branch diff | manifest | tags |
Context
2015-09-01
| ||
23:56 | Minor tweak to rolled up status when INCOMPLETE check-in: ed5669844f user: matt tags: v1.60 | |
21:59 | Added csv import back check-in: 9152525c34 user: matt tags: v1.60 | |
21:44 | Added all rmt calls of interest to basic invocations under test check-in: 54e87a5f54 user: matt tags: v1.60 | |
Changes
Modified api.scm from [6fba43c00b] to [7425d00411].
︙ | ︙ | |||
147 148 149 150 151 152 153 | ((update-run-event_time) (apply db:update-run-event_time dbstruct params)) ;; STEPS ((teststep-set-status!) (apply db:teststep-set-status! dbstruct params)) ;; TEST DATA ((test-data-rollup) (apply db:test-data-rollup dbstruct params)) | < | | 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 | ((update-run-event_time) (apply db:update-run-event_time dbstruct params)) ;; STEPS ((teststep-set-status!) (apply db:teststep-set-status! dbstruct params)) ;; TEST DATA ((test-data-rollup) (apply db:test-data-rollup dbstruct params)) ((csv->test-data) (apply db:csv->test-data dbstruct params)) ;; MISC ((sync-inmem->db) (let ((run-id (car params))) (db:sync-touched dbstruct run-id force-sync: #t))) ((mark-incomplete) (apply db:find-and-mark-incomplete dbstruct params)) ;; TESTMETA |
︙ | ︙ |
Modified db.scm from [ef0125019e] to [1ddb64099f].
︙ | ︙ | |||
2694 2695 2696 2697 2698 2699 2700 | ;; look up expected,tol,units from previous best fit test if they are all either #f or '' (debug:print 4 "BEFORE: category: " category " variable: " variable " value: " value ", expected: " expected " tol: " tol " units: " units " status: " status " comment: " comment " type: " type) (if (and (or (not expected)(equal? expected "")) (or (not tol) (equal? expected "")) (or (not units) (equal? expected ""))) | | | 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 | ;; look up expected,tol,units from previous best fit test if they are all either #f or '' (debug:print 4 "BEFORE: category: " category " variable: " variable " value: " value ", expected: " expected " tol: " tol " units: " units " status: " status " comment: " comment " type: " type) (if (and (or (not expected)(equal? expected "")) (or (not tol) (equal? expected "")) (or (not units) (equal? expected ""))) (let-values (((new-expected new-tol new-units)(tdb:get-prev-tol-for-test #f test-id category variable))) (set! expected new-expected) (set! tol new-tol) (set! units new-units))) (debug:print 4 "AFTER: category: " category " variable: " variable " value: " value ", expected: " expected " tol: " tol " units: " units " status: " status " comment: " comment) ;; calculate status if NOT specified |
︙ | ︙ |
Modified rmt.scm from [fbcfa3f658] to [2a4800a8d6].
︙ | ︙ | |||
669 670 671 672 673 674 675 | (define (rmt:testmeta-update-field test-name fld val) (rmt:send-receive 'testmeta-update-field #f (list test-name fld val))) (define (rmt:test-data-rollup run-id test-id status) (rmt:send-receive 'test-data-rollup run-id (list run-id test-id status))) | < < | | | 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 | (define (rmt:testmeta-update-field test-name fld val) (rmt:send-receive 'testmeta-update-field #f (list test-name fld val))) (define (rmt:test-data-rollup run-id test-id status) (rmt:send-receive 'test-data-rollup run-id (list run-id test-id status))) (define (rmt:csv->test-data run-id test-id csvdata) (rmt:send-receive 'csv->test-data run-id (list run-id test-id csvdata))) ;;====================================================================== ;; T A S K S ;;====================================================================== (define (rmt:tasks-find-task-queue-records target run-name test-patt state-patt action-patt) (rmt:send-receive 'find-task-queue-records #f (list target run-name test-patt state-patt action-patt))) |
︙ | ︙ |
Modified tests/unittests/misc.scm from [5f4bb259a2] to [6b0f595ffe].
︙ | ︙ | |||
193 194 195 196 197 198 199 | (test #f #t (begin (rmt:teststep-set-status! run-id test-id teststep-name state-in status-in comment logfile) #t)) (test #f #t (vector? (car (rmt:get-steps-for-test run-id test-id)))) (test #f '() (rmt:read-test-data run-id test-id categorypatt work-area: work-area)) (test #f #t (begin (rmt:testmeta-add-record testname) #t)) (test #f (vector 1 "atest" "" "" "" "" "" "" "" "" "default") (rmt:testmeta-get-record testname)) (test #f #t (begin (rmt:testmeta-update-field test-name fld val) #t)) (test #f #t (rmt:test-data-rollup run-id test-id status)) | < | | 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 | (test #f #t (begin (rmt:teststep-set-status! run-id test-id teststep-name state-in status-in comment logfile) #t)) (test #f #t (vector? (car (rmt:get-steps-for-test run-id test-id)))) (test #f '() (rmt:read-test-data run-id test-id categorypatt work-area: work-area)) (test #f #t (begin (rmt:testmeta-add-record testname) #t)) (test #f (vector 1 "atest" "" "" "" "" "" "" "" "" "default") (rmt:testmeta-get-record testname)) (test #f #t (begin (rmt:testmeta-update-field test-name fld val) #t)) (test #f #t (rmt:test-data-rollup run-id test-id status)) (test #f #t (begin (rmt:csv->test-data run-id test-id csvdata) #t)) (test #f '() (rmt:tasks-find-task-queue-records target runname testpatt statepatt action-patt)) (test #f #t (begin (rmt:tasks-add "action" owner target runname testpatt "params") #t)) (test #f #t (begin (rmt:tasks-set-state-given-param-key param-key newstate) #t)) (test #f #t (begin (rmt:test-set-state-status-by-id run-id test-id newstate newstatus newcomment) #t)) ;; ;; (test #f #f (rmt:archive-get-allocations testname itempath dneeded)) ;; (test #f #f (rmt:archive-register-block-name bdisk-id archive-path)) |
︙ | ︙ |