Differences From Artifact [3d772722d6]:
- File runs.scm — part of check-in [cdf61d9fc0] at 2013-07-25 14:33:29 on branch dev — Improved exit handling of state/status for tests. If RUNNING then automatic handling is done. If other than RUNNING, simply preserve the values and roll up if an itemized test. Added to tests to better enforce this behavior. Previous behavior was mostly right but failed in some corner cases. Added database cleanup routine. Properly handle removal of tests and mark tests for a run as deleted if the run is removed (user: mrwellan, size: 60640) [annotate] [blame] [check-ins using]
To Artifact [1b46e2afce]:
- File runs.scm — part of check-in [5123a2dfc5] at 2013-07-25 20:23:29 on branch dev — Added MT_ITEMPATH to environments (user: mrwellan, size: 60678) [annotate] [blame] [check-ins using] [more...]
︙ | |||
774 775 776 777 778 779 780 781 782 783 784 785 786 787 | 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 | + | (debug:print-info 4 "\nTESTNAME: " full-test-name "\n test-config: " (hash-table->alist test-conf) "\n itemdat: " itemdat ) (debug:print 2 "Attempting to launch test " full-test-name) (setenv "MT_TEST_NAME" test-name) ;; (setenv "MT_ITEMPATH" item-path) (setenv "MT_RUNNAME" runname) (set-megatest-env-vars run-id inrunname: runname) ;; these may be needed by the launching process (change-directory *toppath*) ;; Here is where the test_meta table is best updated ;; Yes, another use of a global for caching. Need a better way? (if (not (hash-table-ref/default *test-meta-updated* test-name #f)) |
︙ |