Overview
Comment: | Added dbmod.scm and build support |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | v1.65 |
Files: | files | file ages | folders |
SHA1: |
996af79a27978b65517aaa7d6e407014 |
User & Date: | matt on 2022-02-20 19:17:09 |
Other Links: | branch diff | manifest | tags |
Context
2022-02-25
| ||
15:03 | fixed the handling of step status in ezsteps. Esp WARN vs ABORT. Handled all logpro statuses symmetrically. check-in: bcc775d437 user: mmgraham tags: v1.65 | |
2022-02-20
| ||
19:18 | Add multi-db support from Megatest v2.0 check-in: fa916477d5 user: matt tags: v1.7001-multi-db-01 | |
19:17 | Added dbmod.scm and build support check-in: 996af79a27 user: matt tags: v1.65 | |
17:57 | Added back MT_STEP_NAMES check-in: 57cd3416b1 user: mmgraham tags: v1.65 | |
Changes
Modified Makefile from [eb444dcd26] to [dd76a98688].
︙ | |||
26 27 28 29 30 31 32 | 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | - + | process.scm runs.scm tasks.scm tests.scm genexample.scm \ http-transport.scm filedb.scm tdb.scm client.scm mt.scm \ ezsteps.scm lock-queue.scm sdb.scm rmt.scm api.scm \ subrun.scm portlogger.scm archive.scm env.scm \ diff-report.scm cgisetup/models/pgdb.scm # module source files |
︙ | |||
149 150 151 152 153 154 155 | 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 | - + + | mkdir -p $(PREFIX)/share/db $(INSTALL) mt-pg.sql $(PREFIX)/share/db/mt-pg.sql # Special dependencies for the includes $(MOFILE) $(MOIMPFILES) : megatest-fossil-hash.scm # common.o : mofiles/commonmod.o megatest-fossil-hash.scm |
︙ |
Modified api.scm from [7029eb2f68] to [c2c4883b3a].
︙ | |||
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | + + + | ;;====================================================================== (use srfi-69 posix) (declare (unit api)) (declare (uses rmt)) (declare (uses db)) (declare (uses dbmod)) (declare (uses tasks)) (import dbmod) ;; allow these queries through without starting a server ;; (define api:read-only-queries '(get-key-val-pairs get-var get-keys |
︙ |
Modified dashboard.scm from [d956995e92] to [8bd1a9c7d4].
︙ | |||
951 952 953 954 955 956 957 | 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 | + - - + + - - - | (> elapsed-time 2)) ;; stop loading data after 5 seconds, on the next call more data *should* be loaded since get-tests-for-run uses last update (begin (when (> elapsed-time 2) (debug:print 0 *default-log-port* "NOTE: updates are taking a long time, " elapsed-time "s elapsed.") (let* ((old-val (iup:attribute *tim* "TIME")) (new-val (number->string (inexact->exact (floor (* 2 (string->number old-val))))))) (if (< (string->number new-val) 5000) (begin |
︙ |
Modified dbmod.scm from [2029a02dc3] to [9cc13aa737].
︙ | |||
20 21 22 23 24 25 26 | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | - - - + + + - - - + + + - - - + - - + + | (declare (unit dbmod)) (module dbmod * (import scheme chicken data-structures extras) |