mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-29 18:27:20 +02:00
fix: junit report not merged in component ut
related github pr: https://github.com/espressif/pytest-embedded/pull/111 released in pytest-embedded 0.7.6
This commit is contained in:
16
conftest.py
16
conftest.py
@ -86,17 +86,15 @@ def get_target_marker(markexpr: str) -> str:
|
||||
############
|
||||
# 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)
|
||||
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()
|
||||
|
Reference in New Issue
Block a user