Merge branch 'fix/missing_component_ut_junit_report' into 'master'

CI: junit report not merged in component ut

Closes IDFCI-1388

See merge request espressif/esp-idf!19207
This commit is contained in:
Fu Hanxi 2022-07-25 14:01:09 +08:00
commit 51d6f9c885

View File

@ -86,17 +86,15 @@ def get_target_marker(markexpr: str) -> str:
############ ############
# Fixtures # # Fixtures #
############ ############
_TEST_SESSION_TMPDIR = os.path.join(
os.path.dirname(__file__),
'pytest_embedded_log',
datetime.now().strftime('%Y-%m-%d_%H-%M-%S'),
)
os.makedirs(_TEST_SESSION_TMPDIR, exist_ok=True)
@pytest.fixture(scope='session', autouse=True) @pytest.fixture(scope='session', autouse=True)
def session_tempdir() -> str: def session_tempdir() -> str:
return _TEST_SESSION_TMPDIR _tmpdir = os.path.join(
os.path.dirname(__file__),
'pytest_embedded_log',
datetime.now().strftime('%Y-%m-%d_%H-%M-%S'),
)
os.makedirs(_tmpdir, exist_ok=True)
return _tmpdir
@pytest.fixture() @pytest.fixture()