Megatest

Check-in [4c456a6056]
Login
Overview
Comment:Wip for stml2
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | v1.65-real-new-runs-view-wip3
Files: files | file ages | folders
SHA1: 4c456a6056c1e1d07c236e766d6be94782a6ca20
User & Date: mrwellan on 2021-03-01 15:04:04
Other Links: branch diff | manifest | tags
Context
2021-03-01
15:04
Wip for stml2 Leaf check-in: 4c456a6056 user: mrwellan tags: v1.65-real-new-runs-view-wip3
08:55
Added back stml2 as symlink check-in: 861d447991 user: mrwellan tags: v1.65-real-new-runs-view-wip3
Changes

Modified Makefile from [26dfe3b087] to [58270a27f9].

29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
           subrun.scm archive.scm env.scm		\
           diff-report.scm

# module source files
MSRCFILES = dbmod.scm servermod.scm apimod.scm commonmod.scm rmtmod.scm \
            ods.scm configfmod.scm transport.scm portlogger.scm tasks.scm \
            pgdb.scm margsmod.scm debugprint.scm client.scm items.scm \
            tdb.scm

MOFILES = $(addprefix mofiles/,$(MSRCFILES:%.scm=%.o))
MOIMPFILES = $(MSRCFILES:%.scm=%.import.o)

# ftail.scm rmtmod.scm commonmod.scm removed
# MSRCFILES = ducttape-lib.scm pkts.scm stml2.scm cookie.scm mutils.scm	\
#             mtargs.scm commonmod.scm dbmod.scm adjutant.scm ulex.scm	\







|







29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
           subrun.scm archive.scm env.scm		\
           diff-report.scm

# module source files
MSRCFILES = dbmod.scm servermod.scm apimod.scm commonmod.scm rmtmod.scm \
            ods.scm configfmod.scm transport.scm portlogger.scm tasks.scm \
            pgdb.scm margsmod.scm debugprint.scm client.scm items.scm \
            tdb.scm stml2.scm cookie.scm

MOFILES = $(addprefix mofiles/,$(MSRCFILES:%.scm=%.o))
MOIMPFILES = $(MSRCFILES:%.scm=%.import.o)

# ftail.scm rmtmod.scm commonmod.scm removed
# MSRCFILES = ducttape-lib.scm pkts.scm stml2.scm cookie.scm mutils.scm	\
#             mtargs.scm commonmod.scm dbmod.scm adjutant.scm ulex.scm	\
171
172
173
174
175
176
177
178

179
180
181
182
183
184
185

mofiles/commonmod.o common.o megatest.o dashboard.o : megatest-fossil-hash.scm megatest-version.scm

common_records.scm : altdb.scm

vg.o dashboard.o : vg_records.scm megatest-version.scm

dcommon.o : run_records.scm


mofiles/stml2.o  : mofiles/cookie.o

# for the modularized stuff
# mofiles/rmtmod.o : mofiles/commonmod.o

megatest-fossil-hash.scm : $(SRCFILES) megatest.scm *_records.scm







|
>







171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186

mofiles/commonmod.o common.o megatest.o dashboard.o : megatest-fossil-hash.scm megatest-version.scm

common_records.scm : altdb.scm

vg.o dashboard.o : vg_records.scm megatest-version.scm

dcommon.o : dcommon.scm run_records.scm mofiles/dcommonmod.o $(MOFILES) $(DMOFILES)
	csc $(CSCOPTS) -c $< $(MOFILES) $(DMOFILES)

mofiles/stml2.o  : mofiles/cookie.o

# for the modularized stuff
# mofiles/rmtmod.o : mofiles/commonmod.o

megatest-fossil-hash.scm : $(SRCFILES) megatest.scm *_records.scm

Modified build.inc from [da84f2ecb8] to [6c05484926].

18
19
20
21
22
23
24

25
26
27
28
29
30
31
mofiles/rmtmod.o : mofiles/configfmod.o
mofiles/portlogger.o : mofiles/configfmod.o
mofiles/pgdb.o : mofiles/configfmod.o
mofiles/items.o : mofiles/configfmod.o
mofiles/dcommonmod.o : mofiles/configfmod.o
mofiles/dbmod.o : mofiles/configfmod.o
mofiles/commonmod.o : mofiles/configfmod.o

mofiles/transport.o : mofiles/portlogger.o
mofiles/rmtmod.o : mofiles/portlogger.o
mofiles/rmtmod.o : mofiles/items.o
mofiles/rmtmod.o : mofiles/tdb.o
mofiles/tasks.o : mofiles/pgdb.o
mofiles/transport.o : mofiles/debugprint.o
mofiles/tdb.o : mofiles/debugprint.o







>







18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
mofiles/rmtmod.o : mofiles/configfmod.o
mofiles/portlogger.o : mofiles/configfmod.o
mofiles/pgdb.o : mofiles/configfmod.o
mofiles/items.o : mofiles/configfmod.o
mofiles/dcommonmod.o : mofiles/configfmod.o
mofiles/dbmod.o : mofiles/configfmod.o
mofiles/commonmod.o : mofiles/configfmod.o
mofiles/commonmod.o : mofiles/stml2.o
mofiles/transport.o : mofiles/portlogger.o
mofiles/rmtmod.o : mofiles/portlogger.o
mofiles/rmtmod.o : mofiles/items.o
mofiles/rmtmod.o : mofiles/tdb.o
mofiles/tasks.o : mofiles/pgdb.o
mofiles/transport.o : mofiles/debugprint.o
mofiles/tdb.o : mofiles/debugprint.o

Modified commonmod.scm from [3c7c56e5e8] to [b52879072f].

17
18
19
20
21
22
23

24
25
26
27
28
29
30
31
32
33

34
35
36
37
38
39
40
;;     along with Megatest.  If not, see <http://www.gnu.org/licenses/>.

;;======================================================================

(declare (unit commonmod))
(declare (uses margsmod))
(declare (uses debugprint))

(declare (uses configfmod))

(module commonmod
	*
	
;;(import scheme chicken data-structures extras files ports)
(import scheme chicken)
(import margsmod)
(import debugprint)
(import configfmod)


(use data-structures extras files ports)
(use 
  (prefix base64 base64:)
  (prefix sqlite3 sqlite3:) 
  (srfi 18)
  (prefix dbi dbi:)







>










>







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
;;     along with Megatest.  If not, see <http://www.gnu.org/licenses/>.

;;======================================================================

(declare (unit commonmod))
(declare (uses margsmod))
(declare (uses debugprint))
(declare (uses stml2))
(declare (uses configfmod))

(module commonmod
	*
	
;;(import scheme chicken data-structures extras files ports)
(import scheme chicken)
(import margsmod)
(import debugprint)
(import configfmod)
(import stml2)

(use data-structures extras files ports)
(use 
  (prefix base64 base64:)
  (prefix sqlite3 sqlite3:) 
  (srfi 18)
  (prefix dbi dbi:)
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
  regex-case
  sparse-vectors
  srfi-1
  srfi-4
  srfi-13
  srfi-69
  stack
  stml2
  typed-records 
  z3
 )
	
(include "common_records.scm")

;;======================================================================







<







52
53
54
55
56
57
58

59
60
61
62
63
64
65
  regex-case
  sparse-vectors
  srfi-1
  srfi-4
  srfi-13
  srfi-69
  stack

  typed-records 
  z3
 )
	
(include "common_records.scm")

;;======================================================================

Modified db.scm from [ebb457b5b7] to [99f14d6eb1].

20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50

;;======================================================================
;; Database access
;;======================================================================

;; dbstruct vector containing all the relevant dbs like main.db, megatest.db, run.db etc

(use (srfi 18) extras tcp stack)
(use sqlite3 srfi-1 posix regex regex-case srfi-69 csv-xml s11n md5 message-digest
     base64 format dot-locking z3 typed-records matchable)
(import (prefix sqlite3 sqlite3:))
(import (prefix base64 base64:))

(declare (unit db))
;; (declare (uses common))
;; (declare (uses client))
;; (declare (uses mt))
;; (declare (uses margsmod))
;; (import margsmod)
;; 
;; (declare (uses commonmod))
(declare (uses debugprint))
;; (import commonmod)
(import debugprint)
;; 
;; (declare (uses configfmod))
;; (import configfmod)
;; 
;; (declare (uses dbmod))
;; (import dbmod)
;; 







|
|
|
|
|









|

|







20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50

;;======================================================================
;; Database access
;;======================================================================

;; dbstruct vector containing all the relevant dbs like main.db, megatest.db, run.db etc

;; (use (srfi 18) extras tcp stack)
;; (use sqlite3 srfi-1 posix regex regex-case srfi-69 csv-xml s11n md5 message-digest
;;      base64 format dot-locking z3 typed-records matchable)
;; (import (prefix sqlite3 sqlite3:))
;; (import (prefix base64 base64:))

(declare (unit db))
;; (declare (uses common))
;; (declare (uses client))
;; (declare (uses mt))
;; (declare (uses margsmod))
;; (import margsmod)
;; 
;; (declare (uses commonmod))
;; (declare (uses debugprint))
;; (import commonmod)
;; (import debugprint)
;; 
;; (declare (uses configfmod))
;; (import configfmod)
;; 
;; (declare (uses dbmod))
;; (import dbmod)
;; 

Modified stml2/stml2.scm from [5de334983d] to [022bba191a].

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
;; Copyright 2007-2011, Matthew Welland.
;; 
;;  This program is made available under the GNU GPL version 2.0 or
;;  greater. See the accompanying file COPYING for details.
;; 
;;  This program is distributed WITHOUT ANY WARRANTY; without even the
;;  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
;;  PURPOSE.

;; stml is a list of html strings

(declare (unit stml))

(module stml2
    *

(import chicken scheme data-structures extras srfi-13 ports posix srfi-69 files srfi-1) 

(import cookie)











|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
;; Copyright 2007-2011, Matthew Welland.
;; 
;;  This program is made available under the GNU GPL version 2.0 or
;;  greater. See the accompanying file COPYING for details.
;; 
;;  This program is distributed WITHOUT ANY WARRANTY; without even the
;;  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
;;  PURPOSE.

;; stml is a list of html strings

(declare (unit stml2))

(module stml2
    *

(import chicken scheme data-structures extras srfi-13 ports posix srfi-69 files srfi-1) 

(import cookie)