Megatest

Check-in [39164c1a21]
Login
Overview
Comment:wip
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | v1.70-refactor02 | v1.70-defunct-try
Files: files | file ages | folders
SHA1: 39164c1a21660ddbe9cf1dbb97750c021a1d92dd
User & Date: mrwellan on 2019-12-31 13:06:40
Other Links: branch diff | manifest | tags
Context
2019-12-31
13:31
Fixed mofiles directory in makefile check-in: bb7d80ad2e user: jmoon18 tags: v1.70-refactor02, v1.70-defunct-try
13:06
wip check-in: 39164c1a21 user: mrwellan tags: v1.70-refactor02, v1.70-defunct-try
12:24
wip check-in: 0dd13b4980 user: mrwellan tags: v1.70-refactor02, v1.70-defunct-try
Changes

Modified docs/code/module-hierarchy.dot from [c0313d1826] to [553a71b254].

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
51

52
53
54

55
56
57
58
59


60
61

62
63


64
65
66
67
68
69
70
71
72
73
74

75
76
77



78
79









80


81



82


83
84
85


86
87
88
89
90
91
92
93


94
95
96
97
98
99
100
101
102
103
104
105
106

  subgraph cluster_megatest {
    label="megatest";

    rmtmod [label="rmt mod"];
    // httpmod [label="http-transportmod"];
    // commonmod

    mtargs     -> commonmod;

    pkts       -> commonmod;
    mtconfigf  -> commonmod;

    processmod -> commonmod;

    stml2      -> commonmod;
    // apimod
    commonmod -> apimod;

    dbmod     -> apimod;

    servermod -> apimod;


    // rmtmod


    dbmod     -> rmtmod;

    commonmod -> rmtmod;

    apimod    -> rmtmod;
    ulex      -> rmtmod;

    itemsmod  -> rmtmod;
    // dbmod
    commonmod -> dbmod;
    keysmod   -> dbmod;
    tasksmod  -> dbmod;

    odsmod    -> dbmod;
    mtargs    -> dbmod;
    mtconfigf -> dbmod;

    // tasksmod
    commonmod -> tasksmod;
    pgdbmod   -> tasksmod;

    mtconfigf -> tasksmod;
    // odsmod
    commonmod -> odsmod;
    // testsmod
    commonmod -> testsmod;


    mtargs    -> testsmod;
    servermod -> testsmod;

    mtconfigf -> testsmod;
    itemsmod  -> testsmod;


    dbmod     -> testsmod;
    // mtmod
    mtconfigf -> mtmod;
    commonmod -> mtmod;
    rmtmod    -> mtmod;
    servermod -> mtmod;
    taskmod   -> mtmod;
    mtargs    -> mtmod;
    subrunmod -> mtmod;
    // launchmod -> mtmod;
    // runsmod

    mtmod     -> runsmod;
    commonmod -> runsmod;
    testsmod  -> runsmod;



    rmtmod    -> runsmod;
    subrunmod -> runsmod;









    // pgdbmod


    commonmod -> pgdbmod;



    mtconfigf -> pgdbmod;


    //servermod
    commonmod -> servermod;
    dbmod     -> servermod;


    mtconfigf -> servermod;
    mtargs    -> servermod;
    tasksmod  -> servermod;
    // subrunsmod
    mtconfigf -> subrunmod;
    commonmod -> subrunmod;
    // launchmod
    // commonmod -> launchmod;


    // rmtmod    -> launchmod;
    // testsmod  -> launchmod;
    // mtconfigf -> launchmod;
    // mtargs    -> launchmod;
    subrunmod -> launchmod;
    // dbmod     -> launchmod;
    
    // subrun
    
}
  
}








>
|
>
|
|
>
|
>
|
|
|
>
|
>
|
>
>
|
>
>
|
>
|
>
|
|
>
|
|
|
|
|
>
|
|
|
>
|
|
|
>
|
|
|
|
|
>
>
|
|
>
|
|
>
>
|
|
|
|
|
|
|
|
|
|
|
>
|
|
|
>
>
>
|
|
>
>
>
>
>
>
>
>
>
|
>
>
|
>
>
>
|
>
>
|
|
|
>
>
|
|
|
|
<
<
|
|
>
>
|
|
|
<
|
<
|
<





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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132


133
134
135
136
137
138
139

140

141

142
143
144
145
146

  subgraph cluster_megatest {
    label="megatest";

    rmtmod [label="rmt mod"];
    // httpmod [label="http-transportmod"];
    // commonmod
// archivemod.scm
"commonmod" -> "archivemod";
// clientmod.scm
"commonmod" -> "clientmod";
// configfmod.scm
// subrunmod.scm
"commonmod" -> "subrunmod";
// ezstepsmod.scm
"commonmod" -> "ezstepsmod";
// itemsmod.scm
"commonmod" -> "itemsmod";
// gutilsmod.scm
// testsmod.scm
"commonmod" -> "testsmod";
"servermod" -> "testsmod";
"itemsmod" -> "testsmod";
"dbmod" -> "testsmod";
// runconfigmod.scm
"commonmod" -> "runconfigmod";
// keysmod.scm
"srfi-13" -> "keysmod";
// launchmod.scm
"commonmod" -> "launchmod";
// megamod.scm
"spiffy" -> "megamod";
"stml2" -> "megamod";
"commonmod" -> "megamod";
"keysmod" -> "megamod";
"pgdbmod" -> "megamod";
"tasksmod" -> "megamod";
"dbmod" -> "megamod";
"apimod" -> "megamod";
"ducttape-lib" -> "megamod";
"itemsmod" -> "megamod";
"pkts" -> "megamod";
"rmtmod" -> "megamod";
"mtmod" -> "megamod";
"testsmod" -> "megamod";
"servermod" -> "megamod";
"subrunmod" -> "megamod";
"itemsmod" -> "megamod";
"runsmod" -> "megamod";
// odsmod.scm
"commonmod" -> "odsmod";
// envmod.scm
"commonmod" -> "envmod";
// http-transportmod.scm
"commonmod" -> "http-transportmod";
"stml2" -> "http-transportmod";
"apimod" -> "http-transportmod";
"dbmod" -> "http-transportmod";
"testsmod" -> "http-transportmod";
// processmod.scm
// mtmod.scm
"commonmod" -> "mtmod";
"dbmod" -> "mtmod";
"pgdbmod" -> "mtmod";
"rmtmod" -> "mtmod";
"servermod" -> "mtmod";
"stml2" -> "mtmod";
"subrunmod" -> "mtmod";
"tasksmod" -> "mtmod";
"testsmod" -> "mtmod";
// pgdbmod.scm
"commonmod" -> "pgdbmod";
// runsmod.scm
"commonmod" -> "runsmod";
"dbmod" -> "runsmod";
"itemsmod" -> "runsmod";
"mtmod" -> "runsmod";
"pgdbmod" -> "runsmod";
"rmtmod" -> "runsmod";
"servermod" -> "runsmod";
"stml2" -> "runsmod";
"subrunmod" -> "runsmod";
"tasksmod" -> "runsmod";
"testsmod" -> "runsmod";
// apimod.scm
"commonmod" -> "apimod";
"dbmod" -> "apimod";
"servermod" -> "apimod";
// dbmod.scm
"commonmod" -> "dbmod";
"keysmod" -> "dbmod";
"files" -> "dbmod";
"tasksmod" -> "dbmod";
"odsmod" -> "dbmod";
// dcommonmod.scm
"gutilsmod" -> "dcommonmod";
"commonmod" -> "dcommonmod";
"testsmod" -> "dcommonmod";
"megamod" -> "dcommonmod";
"canvas-draw" -> "dcommonmod";
"canvas-draw-iup" -> "dcommonmod";
// tasksmod.scm
"commonmod" -> "tasksmod";
"pgdbmod" -> "tasksmod";
// template-mod.scm
"commonmod" -> "template-mod";
// servermod.scm
"commonmod" -> "servermod";
"dbmod" -> "servermod";
"tasksmod" -> "servermod";


// treemod.scm
// commonmod.scm
"pkts" -> "commonmod";
// vgmod.scm
// rmtmod.scm
"commonmod" -> "rmtmod";
"itemsmod" -> "rmtmod";

"apimod" -> "rmtmod";

"dbmod" -> "rmtmod";

    
}
  
}

Added utils/deps.scm version [62d9987751].







































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
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
#!/usr/bin/env csi

(use posix regex-case regex)

(define (get-files #!optional (patt #f))
  (let ((files (glob (or patt "*.scm"))))
    files))

(define (get-deps fname #!optional (data #f))
  (let ((hdat    (or data (make-hash-table)))
	(modname (string-substitute ".scm" "" fname)))
    ;; (print "Processing " fname)
    (hash-table-set! hdat fname '())
    (with-input-from-file fname
      (lambda ()
	(let loop ((l (read-line)))
	  (if (eof-object? l)
	      data
	      (begin
		(regex-case
		 l
		 ("^\\s*\\(import\\s+([^\\s]+)\\).*" (x md )
		  (print "\"" md "\" -> \"" modname "\";")))
		(loop (read-line)))))))))

(define (do-all-mod-files)
  (let ((modfiles (get-files "*mod.scm")))
    (for-each
     (lambda (mfile)
       (print "// " mfile)
       (get-deps mfile))
     modfiles)))

(do-all-mod-files)
(exit)