[arvados] updated: 2.7.0-6050-ga1d52c20e1

git repository hosting git at public.arvados.org
Fri Feb 23 17:02:31 UTC 2024


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

       via  a1d52c20e1f911df998543ad642d5d27d5cd0f62 (commit)
      from  8ca57d340d0322282d95545983397952112abce3 (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 a1d52c20e1f911df998543ad642d5d27d5cd0f62
Author: Brett Smith <brett.smith at curii.com>
Date:   Fri Feb 23 11:54:34 2024 -0500

    21494: Clean test_doc
    
    * Use local variables and `env -C` to preserve global state, instead of
      a subshell.
    * Remove outdated python-epydoc comment.
    * Remove PYTHONPATH setting. It's unnecessary now that we run inside a
      virtualenv with PySDK installed.
    
    Refs #21494.
    
    Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith at curii.com>

diff --git a/build/run-tests.sh b/build/run-tests.sh
index 17728c5342..28e9e1cf7b 100755
--- a/build/run-tests.sh
+++ b/build/run-tests.sh
@@ -987,14 +987,13 @@ install_services/workbench2() {
 }
 
 test_doc() {
-    (
-        set -e
-        cd "$WORKSPACE/doc"
-        ARVADOS_API_HOST=pirca.arvadosapi.com
-        # Make sure python-epydoc is installed or the next line won't
-        # do much good!
-        PYTHONPATH=$WORKSPACE/sdk/python/ "$bundle" exec rake linkchecker baseurl=file://$WORKSPACE/doc/.site/ arvados_workbench_host=https://workbench.$ARVADOS_API_HOST arvados_api_host=$ARVADOS_API_HOST ${testargs[doc]}
-    )
+    local arvados_api_host=pirca.arvadosapi.com && \
+        env -C "$WORKSPACE/doc" \
+        "$bundle" exec rake linkchecker \
+        arvados_api_host="$arvados_api_host" \
+        arvados_workbench_host="https://workbench.$arvados_api_host" \
+        baseurl="file://$WORKSPACE/doc/.site/" \
+        ${testargs[doc]}
 }
 
 test_gofmt() {

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list