forked from broadinstitute/dockstore-tool-cms2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
run-tests
executable file
·17 lines (14 loc) · 844 Bytes
/
run-tests
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
set -e -o pipefail -u -x
TEST_INPUTS="multithread-test.wdl.json"
womtool validate -i ${TEST_INPUTS} Dockstore.wdl
#cp test.cosiParams test.neutral.cosiParams test.sweep.cosiParams test_recom.recom get_pop_ids.py runcosi.py remodel_components.py multithread-test.wdl.json Dockstore.wdl /data/ilya-work/sw/cromwell/scripts/docker-compose-mysql/cromwell-executions
#time cromwell run -i ${TEST_INPUTS} -m tmp/test_run.$$.json Dockstore.wdl
#pushd /data/ilya-work/sw/cromwell/scripts/docker-compose-mysql
DEMOG=default_112115_825am__demography.par
TMP_INPUTS="/data/$$.${TEST_INPUTS}"
TMP_DEMOG="/data/$$.${DEMOG}"
gpg --batch --yes --output ${TMP_DEMOG} --decrypt $DEMOG.gpg
sed s#$DEMOG#$TMP_DEMOG#g ${TEST_INPUTS} > ${TMP_INPUTS}
#oliver submit $PWD/Dockstore.wdl ${TMP_INPUTS}
cromshell submit $PWD/Dockstore.wdl ${TMP_INPUTS}