diff options
-rw-r--r-- | docker/core/Dockerfile | 1 | ||||
-rw-r--r-- | xtesting/core/campaign.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/docker/core/Dockerfile b/docker/core/Dockerfile index 668561f1..3ee3570f 100644 --- a/docker/core/Dockerfile +++ b/docker/core/Dockerfile @@ -29,4 +29,5 @@ RUN apk -U upgrade && \ apk del .build-deps COPY testcases.yaml /usr/lib/python3.9/site-packages/xtesting/ci/testcases.yaml USER xtesting +WORKDIR /var/lib/xtesting/results CMD ["run_tests", "-t", "all"] diff --git a/xtesting/core/campaign.py b/xtesting/core/campaign.py index daab853b..901df587 100644 --- a/xtesting/core/campaign.py +++ b/xtesting/core/campaign.py @@ -226,4 +226,5 @@ def main(): logging.config.fileConfig(config.get_xtesting_config( 'logging.ini', constants.INI_PATH_DEFAULT)) logging.captureWarnings(True) + os.chdir(testcase.TestCase.dir_results) Campaign.zip_campaign_files() |