Mercurial > hg > orthanc-tests
annotate Start.sh @ 401:90a088ff2187
Added tag Orthanc-1.9.3 for changeset f454fe86061b
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 07 May 2021 12:10:35 +0200 |
parents | da2be3ff2db5 |
children | ad98466353c6 |
rev | line source |
---|---|
3 | 1 #!/bin/bash |
2 | |
8
f8d781d1d267
test_changes, test_archive, test_media_archive
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3
diff
changeset
|
3 # Without Docker: |
f8d781d1d267
test_changes, test_archive, test_media_archive
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3
diff
changeset
|
4 # python ./Tests/Run.py --force |
f8d781d1d267
test_changes, test_archive, test_media_archive
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3
diff
changeset
|
5 |
306 | 6 set -ex |
7 | |
8 if [ ! -f "./getscu-3.6.5" ]; then | |
9 # This binary was generated by running Linux Standard Base on | |
10 # "Resources/DcmtkTools" in the Orthanc source distribution, | |
11 # as DCMTK 3.6.0 does not contain "getscu" | |
12 wget http://orthanc.osimis.io/ThirdPartyDownloads/linux-standard-base/getscu-3.6.5 | |
13 chmod +x ./getscu-3.6.5 | |
14 fi | |
15 | |
16 sudo docker run --rm -t -i -p 5000:5000 -p 5001:5001 \ | |
17 -v `pwd`:/tmp/tests:ro \ | |
18 -v `pwd`/getscu-3.6.5:/usr/bin/getscu:ro \ | |
19 --entrypoint python jodogne/orthanc-tests \ | |
20 /tmp/tests/Tests/Run.py --docker $* |