[ARVADOS] updated: 2ecdf8f2362585a838199ad97b5c0497432c4bd7

Git user git at public.curoverse.com
Mon Jan 9 10:12:49 EST 2017


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

       via  2ecdf8f2362585a838199ad97b5c0497432c4bd7 (commit)
      from  85f8ab2ef898f8d0bb7187db6db59a93ac528ec5 (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 2ecdf8f2362585a838199ad97b5c0497432c4bd7
Author: Tom Clegg <tom at curoverse.com>
Date:   Mon Jan 9 10:12:08 2017 -0500

    Fix run-tests.sh --only-install option.
    
    No issue #

diff --git a/build/run-tests.sh b/build/run-tests.sh
index 968cd6c..4b6c813 100755
--- a/build/run-tests.sh
+++ b/build/run-tests.sh
@@ -121,7 +121,7 @@ GEMHOME=
 PERLINSTALLBASE=
 
 short=
-skip_install=
+only_install=
 temp=
 temp_preserve=
 
@@ -230,10 +230,9 @@ do
             short=1
             ;;
         --skip-install)
-            skip_install=1
+            only_install=nothing
             ;;
         --only-install)
-            skip_install=1
             only_install="$1"; shift
             ;;
         --temp)
@@ -598,8 +597,7 @@ do_test_once() {
 }
 
 do_install() {
-    if [[ -z "${skip_install}" && \
-                (-z "${only_install}" || "${only_install}" == "${1}") ]]; then
+    if [[ -z "${only_install}" || "${only_install}" == "${1}" ]]; then
         retry do_install_once ${@}
     else
         title "Skipping $1 install"

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list