X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/47eb67e4c084abde49d5463d4ced8b4436a59dfd..a4d6d061cb30cc2f77d4d64283ee998bb3e3a97b:/sdk/cwl/tests/arvados-tests.sh diff --git a/sdk/cwl/tests/arvados-tests.sh b/sdk/cwl/tests/arvados-tests.sh index d3c1e90637..1bbaa505e9 100755 --- a/sdk/cwl/tests/arvados-tests.sh +++ b/sdk/cwl/tests/arvados-tests.sh @@ -3,10 +3,30 @@ # # SPDX-License-Identifier: Apache-2.0 +set -e + if ! arv-get d7514270f356df848477718d58308cc4+94 > /dev/null ; then arv-put --portable-data-hash testdir/* fi if ! arv-get f225e6259bdd63bc7240599648dde9f1+97 > /dev/null ; then arv-put --portable-data-hash hg19/* fi -exec cwltest --test arvados-tests.yml --tool arvados-cwl-runner $@ -- --disable-reuse --compute-checksum +if ! arv-get 4d8a70b1e63b2aad6984e40e338e2373+69 > /dev/null ; then + arv-put --portable-data-hash secondaryFiles/hello.txt* +fi +if ! arv-get 20850f01122e860fb878758ac1320877+71 > /dev/null ; then + arv-put --portable-data-hash samples/sample1_S01_R1_001.fastq.gz +fi + +# Test for #18888 +# This is a standalone test because the bug was observed with this +# command line and was thought to be due to command line handling. +arvados-cwl-runner 18888-download_def.cwl --scripts scripts/ + +# Test for #19070 +# The most effective way to test this seemed to be to write an +# integration test to check for the expected behavior. +python test_copy_deps.py + +# Run integration tests +exec cwltest --test arvados-tests.yml --tool arvados-cwl-runner $@ -- --disable-reuse --compute-checksum --api=containers