[ARVADOS] updated: 1.3.0-2593-g92bdacbec

Git user git at public.arvados.org
Wed May 20 14:00:22 UTC 2020


Summary of changes:
 build/run-tests.sh  | 10 +++-------
 lib/install/deps.go | 52 ++++++++++++++++++++++++++++------------------------
 2 files changed, 31 insertions(+), 31 deletions(-)

  discards  8f6f8d5d727c9b0ae4600c7b546db248e012d203 (commit)
       via  92bdacbec401d5fce3acef1f89e1c60f59340d47 (commit)
       via  0ef6eb57cba33e5b35d847f72ddc184acbd70aa6 (commit)
       via  37e9825adc327bc20f9104ef4cd3fdd47ebefb12 (commit)
       via  fd71d10268cd92a8b4c1799d4479ffd4495a2a51 (commit)

This update added new revisions after undoing existing revisions.  That is
to say, the old revision is not a strict subset of the new revision.  This
situation occurs when you --force push a change and generate a repository
containing something like this:

 * -- * -- B -- O -- O -- O (8f6f8d5d727c9b0ae4600c7b546db248e012d203)
            \
             N -- N -- N (92bdacbec401d5fce3acef1f89e1c60f59340d47)

When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.

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 92bdacbec401d5fce3acef1f89e1c60f59340d47
Author: Ward Vandewege <ward at jhvc.com>
Date:   Wed May 20 09:54:08 2020 -0400

    16451: do not leave testargs as a space when there are no opts provided.
    
    Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward at jhvc.com>

diff --git a/build/run-tests.sh b/build/run-tests.sh
index 70aec2aa1..ff6ead0fa 100755
--- a/build/run-tests.sh
+++ b/build/run-tests.sh
@@ -1266,15 +1266,11 @@ else
     while read -p 'What next? ' -e -i "$nextcmd" nextcmd; do
         history -s "$nextcmd"
         history -w
-        read verb target opt1 opts <<<"${nextcmd}"
         count=1
-        if [[ "$verb" =~ ^[0-9]+$ ]]; then
-          count=$verb
-          verb=${target}
-          target=$opt1
-        else
-          opts="$opt1 $opts"
+        if [[ "${nextcmd}" =~ ^[0-9] ]]; then
+          read count nextcmd <<<"${nextcmd}"
         fi
+        read verb target opts <<<"${nextcmd}"
         target="${target%/}"
         target="${target/\/:/:}"
         case "${verb}" in

commit 0ef6eb57cba33e5b35d847f72ddc184acbd70aa6
Author: Ward Vandewege <ward at jhvc.com>
Date:   Tue May 19 16:53:11 2020 -0400

    16451: make it possible to run a test many times in interactive mode.
    
    Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward at jhvc.com>

diff --git a/build/run-tests.sh b/build/run-tests.sh
index 0212d1bc0..70aec2aa1 100755
--- a/build/run-tests.sh
+++ b/build/run-tests.sh
@@ -1205,6 +1205,7 @@ help_interactive() {
     echo "== Interactive commands:"
     echo "TARGET                 (short for 'test DIR')"
     echo "test TARGET"
+    echo "10 test TARGET         (run test 10 times)"
     echo "test TARGET:py3        (test with python3)"
     echo "test TARGET -check.vv  (pass arguments to test)"
     echo "install TARGET"
@@ -1265,7 +1266,15 @@ else
     while read -p 'What next? ' -e -i "$nextcmd" nextcmd; do
         history -s "$nextcmd"
         history -w
-        read verb target opts <<<"${nextcmd}"
+        read verb target opt1 opts <<<"${nextcmd}"
+        count=1
+        if [[ "$verb" =~ ^[0-9]+$ ]]; then
+          count=$verb
+          verb=${target}
+          target=$opt1
+        else
+          opts="$opt1 $opts"
+        fi
         target="${target%/}"
         target="${target/\/:/:}"
         case "${verb}" in
@@ -1284,11 +1293,14 @@ else
                         ${verb}_${target}
                         ;;
                     *)
-			argstarget=${target%:py3}
+                        argstarget=${target%:py3}
                         testargs["$argstarget"]="${opts}"
                         tt="${testfuncargs[${target}]}"
                         tt="${tt:-$target}"
-                        do_$verb $tt
+                        while [ $count -gt 0 ]; do
+                          do_$verb $tt
+                          let "count=count-1"
+                        done
                         ;;
                 esac
                 ;;

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list