Overview
Comment: | megatest -repl and -h work |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | v1.90-proper-interface-lists |
Files: | files | file ages | folders |
SHA1: |
65618b033ee6cf58145de6004a1fabc1 |
User & Date: | mrwellan on 2024-02-13 12:40:48 |
Other Links: | branch diff | manifest | tags |
Context
2024-02-13
| ||
15:17 | dashboard runs check-in: 947952bcfb user: mrwellan tags: v1.90-proper-interface-lists | |
12:40 | megatest -repl and -h work check-in: 65618b033e user: mrwellan tags: v1.90-proper-interface-lists | |
07:27 | wip check-in: b7ce99fe0a user: mrwellan tags: v1.90-proper-interface-lists | |
Changes
Modified Makefile from [73c983d707] to [3320918a2c].
︙ | |||
27 28 29 30 31 32 33 | 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 | - + - + - + | SHELL=/bin/bash PREFIX=$(PWD) CSCOPTS= INSTALL=install SRCFILES = launch.scm runconfig.scm \ server.scm configf.scm keys.scm \ process.scm runs.scm \ |
︙ |
Modified megatest.scm from [6b51934130] to [a02aadc475].
︙ | |||
15 16 17 18 19 20 21 | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | - - - | ;; You should have received a copy of the GNU General Public License ;; along with Megatest. If not, see <http://www.gnu.org/licenses/>. ;; ;; (include "common.scm") ;; (include "megatest-version.scm") |
︙ | |||
84 85 86 87 88 89 90 91 92 93 | 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | + + + + | (declare (uses diff-report)) (declare (uses runs)) (declare (uses launch)) (declare (uses server)) (declare (uses genexample)) (declare (uses mtbody)) (import csi) ;; fake out readline usage of toplevel-command (set! toplevel-command (lambda (a b) #f)) (import mtbody) (main) |
Modified mtbody.scm from [2c54722bd3] to [c8247e48cf].
︙ | |||
34 35 36 37 38 39 40 41 | 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | + - + + | (declare (uses genexample)) (declare (uses rmtmod)) (declare (uses archivemod)) (declare (uses mutils)) (declare (uses odsmod)) (declare (uses testsmod)) (declare (uses diff-report)) (declare (uses tdb)) |
︙ | |||
59 60 61 62 63 64 65 | 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | - + | files matchable md5 message-digest pathname-expand posix posix-extras |
︙ | |||
114 115 116 117 118 119 120 | 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 | - + + | typed-records system-information debugprint ))) ;; imports common to chk5 and ck4 |
︙ | |||
145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 | 148 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 175 176 177 178 179 180 181 | + + + - - - + + + + + | envmod apimod genexample mutils odsmod testsmod diff-report tdb ) (include "common_records.scm") (define *db* #f) ;; this is only for the repl, do not use in general!!!! ;; (set! toplevel-command toplevel-command) ;; (include "common_records.scm") ;; (include "key_records.scm") ;; (include "db_records.scm") (include "run_records.scm") (include "megatest-fossil-hash.scm") |
︙ | |||
2204 2205 2206 2207 2208 2209 2210 | 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 | - + | (lambda (target runname keys keyvals) (runs:handle-locking target keys (or (args:get-arg "-runname")(args:get-arg ":runname") ) (args:get-arg "-lock") (args:get-arg "-unlock") |
︙ | |||
2605 2606 2607 2608 2609 2610 2611 | 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 | - + | ;; (debug:print 0 *default-log-port* "Servers are not running on this host or no servers alive. Cannot run cleanup-db") ;; (exit 1))) (let ((dbstructs (db:setup))) (common:cleanup-db dbstructs)) (set! *didsomething* #t))) |
︙ | |||
2633 2634 2635 2636 2637 2638 2639 | 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 | - | ;;====================================================================== ;; Start a repl ;;====================================================================== ;; fakeout readline (include "readline-fix.scm") |
︙ | |||
2676 2677 2678 2679 2680 2681 2682 | 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 | - + + - + + - - + + | ;; #!/bin/bash ;; ;; export MT_RUNSCRIPT=yes ;; megatest << EOF ;; (print "Hello world") ;; (exit) ;; EOF |
︙ |
Modified rmtmod.scm from [eb436a7132] to [981fa22127].
︙ | |||
27 28 29 30 31 32 33 34 35 36 37 38 39 40 | 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | + | (declare (uses mtmod)) (declare (uses tcp-transportmod)) (declare (uses apimod)) (declare (uses servermod)) (module rmtmod ( rmt:test-data-rollup rmt:import-sexpr rmt:read-test-data-varpatt rmt:get-run-status rmt:set-run-status rmtmod:send-receive rmt:send-receive |
︙ | |||
280 281 282 283 284 285 286 | 281 282 283 284 285 286 287 288 289 290 291 292 293 294 | - - - - - - - - | (define (rmt:get-test-state-status-by-id run-id test-id) (rmtmod:send-receive 'get-test-state-status-by-id run-id (list run-id test-id))) (define (rmt:test-get-rundir-from-test-id run-id test-id) (rmtmod:send-receive 'test-get-rundir-from-test-id run-id (list run-id test-id))) |
︙ |
Modified tdb.scm from [3c5dc20bcf] to [6bf4733c7a].
| 1 2 3 4 5 6 7 8 | - + |
|
︙ | |||
26 27 28 29 30 31 32 33 34 | 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 | + + + + + + + + + - + + + - + + + + + + + + + + | (declare (uses debugprint)) ;; (declare (uses common)) (declare (uses keys)) (declare (uses mt)) (declare (uses commonmod)) (declare (uses mtargs)) (declare (uses rmtmod)) (module tdb * (import scheme chicken data-structures ) (require-extension (srfi 18) extras tcp) |
︙ | |||
230 231 232 233 234 235 236 | 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 | - - - - - - - - - - - - - + + + + + + + + + + + + + | (rmt:csv->test-data run-id test-id lin) ;;) (loop (read-line))))) ;; roll up the current results. ;; FIXME: Add the status too (rmt:test-data-rollup run-id test-id #f)) |
︙ | |||
401 402 403 404 405 406 407 | 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 | - - - - - - - - - + + + + + + + + + + + | (if (eq? time-a time-b) (string<? (conc (vector-ref a 2)) (conc (vector-ref b 2))) #f)) (string<? (conc time-a)(conc time-b)))))))) ;; |