Mercurial > hg > orthanc-tests
view Start.sh @ 549:bcd87bf59630
fix DICOMweb tests: test_allowed_methods and test_bitbucket_issue_143
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 23 Jun 2023 19:09:35 +0200 |
parents | 2ca9e31d582f |
children | 4ee2cdbfc602 |
line wrap: on
line source
#!/bin/bash # Without Docker on Ubuntu 18.04: # # (1) Compile Orthanc 0.8.6: # $ cd $HOME/Releases/ # $ hg clone -u Orthanc-0.8.6 https://hg.orthanc-server.com/orthanc Orthanc-0.8.6 # $ mkdir $HOME/Releases/Orthanc-0.8.6/Build # $ cd $HOME/Releases/Orthanc-0.8.6/Build # $ cmake .. -DCMAKE_BUILD_TYPE=Release -DSTATIC_BUILD=ON # $ make -j4 UnitTests Orthanc # # (2) Run the integration tests using Orthanc 0.8.6: # $ rm -rf /tmp/OrthancStorage ; python ./Tests/Run.py --orthanc=$HOME/Releases/Orthanc-0.8.6/Build/Orthanc --force # set -ex sudo docker run --rm -t -i -p 5000:5000 -p 5001:5001 \ -v `pwd`:/tmp/tests:ro \ --entrypoint python jodogne/orthanc-tests \ /tmp/tests/Tests/Run.py --docker $*