X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0035033f6bf6db955b116e2e0cc052bc5c79d80e..ae92d144610446849eb568247a44f02ae985c281:/sdk/cwl/tests/arvados-tests.sh diff --git a/sdk/cwl/tests/arvados-tests.sh b/sdk/cwl/tests/arvados-tests.sh index 2c03812ed3..9cb5234cf0 100755 --- a/sdk/cwl/tests/arvados-tests.sh +++ b/sdk/cwl/tests/arvados-tests.sh @@ -1,5 +1,23 @@ #!/bin/sh +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: Apache-2.0 + +set -e + if ! arv-get d7514270f356df848477718d58308cc4+94 > /dev/null ; then - arv-put --portable-data-hash testdir + arv-put --portable-data-hash testdir/* fi -exec cwltest --test arvados-tests.yml --tool $PWD/runner.sh $@ +if ! arv-get f225e6259bdd63bc7240599648dde9f1+97 > /dev/null ; then + arv-put --portable-data-hash hg19/* +fi +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 + +arvados-cwl-runner 18888-download_def.cwl --scripts scripts/ + +exec cwltest --test arvados-tests.yml --tool arvados-cwl-runner $@ -- --disable-reuse --compute-checksum --api=containers