Mercurial > hg > orthanc-tests
annotate Start.sh @ 584:c4f4b0bc908b
new tests for new expand GET arguments
author | Alain Mazy <am@osimis.io> |
---|---|
date | Tue, 17 Oct 2023 15:06:32 +0200 |
parents | 2ca9e31d582f |
children | 4ee2cdbfc602 |
rev | line source |
---|---|
3 | 1 #!/bin/bash |
2 | |
407
ad98466353c6
test_modify_subsequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
306
diff
changeset
|
3 # Without Docker on Ubuntu 18.04: |
ad98466353c6
test_modify_subsequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
306
diff
changeset
|
4 # |
ad98466353c6
test_modify_subsequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
306
diff
changeset
|
5 # (1) Compile Orthanc 0.8.6: |
ad98466353c6
test_modify_subsequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
306
diff
changeset
|
6 # $ cd $HOME/Releases/ |
ad98466353c6
test_modify_subsequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
306
diff
changeset
|
7 # $ hg clone -u Orthanc-0.8.6 https://hg.orthanc-server.com/orthanc Orthanc-0.8.6 |
ad98466353c6
test_modify_subsequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
306
diff
changeset
|
8 # $ mkdir $HOME/Releases/Orthanc-0.8.6/Build |
ad98466353c6
test_modify_subsequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
306
diff
changeset
|
9 # $ cd $HOME/Releases/Orthanc-0.8.6/Build |
ad98466353c6
test_modify_subsequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
306
diff
changeset
|
10 # $ cmake .. -DCMAKE_BUILD_TYPE=Release -DSTATIC_BUILD=ON |
ad98466353c6
test_modify_subsequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
306
diff
changeset
|
11 # $ make -j4 UnitTests Orthanc |
ad98466353c6
test_modify_subsequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
306
diff
changeset
|
12 # |
ad98466353c6
test_modify_subsequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
306
diff
changeset
|
13 # (2) Run the integration tests using Orthanc 0.8.6: |
ad98466353c6
test_modify_subsequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
306
diff
changeset
|
14 # $ rm -rf /tmp/OrthancStorage ; python ./Tests/Run.py --orthanc=$HOME/Releases/Orthanc-0.8.6/Build/Orthanc --force |
ad98466353c6
test_modify_subsequences
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
306
diff
changeset
|
15 # |
8
f8d781d1d267
test_changes, test_archive, test_media_archive
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3
diff
changeset
|
16 |
306 | 17 set -ex |
18 | |
19 sudo docker run --rm -t -i -p 5000:5000 -p 5001:5001 \ | |
20 -v `pwd`:/tmp/tests:ro \ | |
21 --entrypoint python jodogne/orthanc-tests \ | |
22 /tmp/tests/Tests/Run.py --docker $* |