Overview
Comment: | Resurected old rpc version of Megatest for use on comparing with new rpc code |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | old-rpc |
Files: | files | file ages | folders |
SHA1: |
9157a5da0883ef266d63ece5c4f19a6d |
User & Date: | mrwellan on 2016-10-27 14:37:33 |
Other Links: | branch diff | manifest | tags |
Context
2016-10-27
| ||
14:37 | Resurected old rpc version of Megatest for use on comparing with new rpc code Leaf check-in: 9157a5da08 user: mrwellan tags: old-rpc | |
2012-10-08
| ||
23:49 | Added kill of dboard to kill target check-in: e1d9cf7044 user: matt tags: trunk, test1-test4-clean-with-rpc-ubuntu, v1.4612 | |
Changes
Modified db.scm from [606081fd7b] to [26382cf0dc].
︙ | |||
724 725 726 727 728 729 730 | 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 | - + | (define (db:get-count-tests-running db) (let ((res 0)) (sqlite3:for-each-row (lambda (count) (set! res count)) db |
︙ |
Modified megatest.scm from [e8b477af90] to [acfc22f7a0].
1 2 3 4 5 6 7 8 9 10 11 12 | 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 36 37 38 39 40 | - + + + | ;; Copyright 2006-2012, 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. ;; (include "common.scm") ;; (include "megatest-version.scm") |
︙ | |||
222 223 224 225 226 227 228 229 230 231 232 233 234 235 | 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 | + + + + | ;; Misc general calls ;;====================================================================== (if (args:get-arg "-env2file") (begin (save-environment-as-files (args:get-arg "-env2file")) (set! *didsomething* #t))) (let ((debugcontrolf (conc (get-environment-variable "HOME") "/.megatestrc"))) (if (file-exists? debugcontrolf) (load debugcontrolf))) ;;====================================================================== ;; Remove old run(s) ;;====================================================================== ;; since several actions can be specified on the command line the removal ;; is done first |
︙ | |||
348 349 350 351 352 353 354 | 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 | - + + | (debug:print 0 "INFO: Starting the standalone server") (if db (let* ((host:port (db:get-var db "SERVER")) ;; this doen't support multiple servers BUG!!!! (th2 (server:start db (args:get-arg "-server"))) (th3 (make-thread (lambda () (server:keep-running db host:port))))) (thread-start! th3) |
︙ | |||
786 787 788 789 790 791 792 | 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 | - - - - - - + + + + + + | (let* ((toppath (setup-for-run)) (db (if toppath (open-db) #f))) (if db (begin (set! *db* db) (if (not (args:get-arg "-server")) (server:client-setup)) |
︙ |