Index: Makefile ================================================================== --- Makefile +++ Makefile @@ -1,10 +1,10 @@ # make install CSCOPTS='-accumulate-profile -profile-name $(PWD)/profile-ww$(shell date +%V.%u)' PREFIX=$(PWD) CSCOPTS= INSTALL=install -SRCFILES = common.scm items.scm launch.scm \ +SRCFILES = common.scm bb.scm items.scm launch.scm \ ods.scm runconfig.scm server.scm configf.scm \ db.scm keys.scm margs.scm megatest-version.scm \ process.scm runs.scm tasks.scm tests.scm genexample.scm \ http-transport.scm nmsg-transport.scm filedb.scm \ client.scm gutils.scm synchash.scm daemon.scm mt.scm dcommon.scm \ Index: api.scm ================================================================== --- api.scm +++ api.scm @@ -11,11 +11,11 @@ (declare (unit api)) (declare (uses rmt)) (declare (uses db)) (declare (uses tasks)) - +(declare (uses bb)) ;; allow these queries through without starting a server ;; (define api:read-only-queries '(get-key-val-pairs get-keys @@ -55,10 +55,11 @@ synchash-get )) (define api:write-queries '( + bbtest ;; SERVERS start-server kill-server ;; TESTS @@ -118,11 +119,14 @@ (params (vector-ref dat 1))) (case (if (symbol? cmd) cmd (string->symbol cmd)) - ;;=============================================== + ;; Brandon's test to extend API + ((bbtest) (apply bb:test params)) + + ;;=============================================== ;; READ/WRITE QUERIES ;;=============================================== ;; SERVERS ((start-server) (apply server:kind-run params)) Index: rmt.scm ================================================================== --- rmt.scm +++ rmt.scm @@ -584,10 +584,14 @@ (define (rmt:find-and-mark-incomplete run-id ovr-deadtime) (if (rmt:send-receive 'have-incompletes? run-id (list run-id ovr-deadtime)) (rmt:send-receive 'mark-incomplete run-id (list run-id ovr-deadtime)))) + +(define (rmt:bbtest ) + (rmt:send-receive 'bbtest #f '())) + ;;====================================================================== ;; M U L T I R U N Q U E R I E S ;;====================================================================== ;; Need to move this to multi-run section and make associated changes