[ARVADOS] updated: 1.3.0-605-g010404f4c

Git user git at public.curoverse.com
Wed Mar 27 20:34:51 UTC 2019


Summary of changes:
 build/run-tests.sh | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

       via  010404f4cc08000df72af4084c59dd80793d2c81 (commit)
      from  52aeb624c9f9efe44de0218f418e3664f666349e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 010404f4cc08000df72af4084c59dd80793d2c81
Author: Tom Clegg <tclegg at veritasgenetics.com>
Date:   Wed Mar 27 16:34:36 2019 -0400

    run-tests.sh: don't prepopulate cmd if running in an emacs buffer.
    
    No issue #
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg at veritasgenetics.com>

diff --git a/build/run-tests.sh b/build/run-tests.sh
index ec5d48e2b..dc4659453 100755
--- a/build/run-tests.sh
+++ b/build/run-tests.sh
@@ -1184,7 +1184,11 @@ else
     only_install=()
     if [[ -e "$VENVDIR/bin/activate" ]]; then stop_services; fi
     setnextcmd() {
-        if [[ "$nextcmd" != "install deps" ]]; then
+        if [[ "$TERM" = dumb ]]; then
+            # assume emacs, or something, is offering a history buffer
+            # and pre-populating the command will only cause trouble
+            nextcmd=
+        elif [[ "$nextcmd" != "install deps" ]]; then
             :
         elif [[ -e "$VENVDIR/bin/activate" ]]; then
             nextcmd="test lib/cmd"
@@ -1201,8 +1205,7 @@ else
         target="${target%/}"
         target="${target/\/:/:}"
         if [[ -z "${target}" ]]; then
-            help_interactive
-            continue
+            verb=help
         fi
         case "${verb}" in
             "" | "help")

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list