From a59ceb8785b36eca0f06ebd4a5ab3d03edad2dff Mon Sep 17 00:00:00 2001 From: Archit Tamarapu Date: Thu, 6 Jun 2024 12:10:01 +0200 Subject: [PATCH 1/2] update pytest.ini to remove -ra, --basetemp and --ignore options --- pytest.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytest.ini b/pytest.ini index 14538fd90d..d2dcd2686f 100644 --- a/pytest.ini +++ b/pytest.ini @@ -2,7 +2,7 @@ # note: per convention, this file is placed in the root directory of the repository [pytest] # TODO remove ignore after tests are harmonized -addopts = -ra --tb=short --basetemp=./tmp -n auto -v --ignore=tests/renderer --ignore=tests/split_rendering +addopts = --tb=short -n auto -v # Write captured system-out log messages to JUnit report. junit_logging = system-out # Do not capture log information for passing tests to JUnit report. -- GitLab From 2c6c07ee590822ba7a02c1c5d8e5fe7448b91cd6 Mon Sep 17 00:00:00 2001 From: Archit Tamarapu Date: Tue, 18 Jun 2024 11:02:44 +0200 Subject: [PATCH 2/2] remove TODO and update README.md in tests --- pytest.ini | 1 - tests/README.md | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pytest.ini b/pytest.ini index d2dcd2686f..c52e1b7bbd 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,7 +1,6 @@ # pytest.ini # note: per convention, this file is placed in the root directory of the repository [pytest] -# TODO remove ignore after tests are harmonized addopts = --tb=short -n auto -v # Write captured system-out log messages to JUnit report. junit_logging = system-out diff --git a/tests/README.md b/tests/README.md index ce66212870..acbe8f81f5 100644 --- a/tests/README.md +++ b/tests/README.md @@ -62,8 +62,8 @@ When different test binaries are to be used, they can be specified via the `--du # - IVAS_cod_ref(.exe) # - IVAS_dec_ref(.exe) # pytest command lines to be executed from project root folder: -pytest tests --update_ref 1 -m create_ref -pytest tests --update_ref 1 -m create_ref_part2 +pytest tests/codec_be_on_mr_nonselection --update_ref 1 -m create_ref +pytest tests/codec_be_on_mr_nonselection --update_ref 1 -m create_ref_part2 ``` ## Running the tests -- GitLab