15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
+
-
+
-
-
-
+
+
+
+
|
;;
;; You should have received a copy of the GNU General Public License
;; along with Megatest. If not, see <http://www.gnu.org/licenses/>.
;;======================================================================
(declare (unit subrunmod))
(declare (uses commonmod))
(declare (uses mtconfigf))
(module subrunmod
*
(import scheme chicken data-structures extras)
(import (prefix sqlite3 sqlite3:) posix typed-records srfi-18
(use (prefix sqlite3 sqlite3:) posix typed-records srfi-18
srfi-69 format ports srfi-1 matchable irregex
call-with-environment-variables)
(import
commonmod
(prefix mtconfigf configf:))
(import commonmod)
(import (prefix mtconfigf configf:))
;; (use (prefix ulex ulex:))
(include "common_records.scm")
;; strftime('%m/%d/%Y %H:%M:%S','now','localtime')
(define (subrun:subrun-test-initialized? test-run-dir)
(if (and (common:file-exists? (conc test-run-dir "/subrun-area") )
|