Mercurial > hg > orthanc-tests
changeset 294:192665e6113f
instruction to run on Windows (with WSL)
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Tue, 12 May 2020 12:43:25 +0200 |
parents | 032722c3e919 |
children | b55b959647ed 40d9f449b9dd |
files | README Tests/Run.py |
diffstat | 2 files changed, 19 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/README Fri May 08 19:15:00 2020 +0200 +++ b/README Tue May 12 12:43:25 2020 +0200 @@ -135,6 +135,21 @@ Note that you will have to grant root access for Docker. +(Option 2c) On Windows: + +Easiest way to run the integration test under windows is actually +run the remote Orthanc and the python script under WSL and run the +orthanc under test on Windows (such that you can debug it). +Note that if Orthanc on Windows is not using the standard port, you +may specify them when starting the test as shown below + +# bash +# python Tests/Run.py --force --dicom 8567 --rest 8568 + +Note that you will have to install Linux prerequisites under WSL +and the orthanc package as well. + + Licensing =========
--- a/Tests/Run.py Fri May 08 19:15:00 2020 +0200 +++ b/Tests/Run.py Tue May 12 12:43:25 2020 +0200 @@ -113,7 +113,10 @@ f.write(config) localOrthanc = ExternalCommandThread([ - 'Orthanc', CONFIG, #'--verbose', + 'Orthanc', + CONFIG, + #'--verbose', + #'--no-jobs' #'/home/jodogne/Subversion/Orthanc/i/Orthanc', CONFIG, '--verbose' ])