Skip to content
Snippets Groups Projects

Restructure log location

Merged Ashwin Kumar Karnad requested to merge restructure-log-location into main
1 file
+ 20
0
Compare changes
  • Side-by-side
  • Inline
+ 20
0
@@ -268,6 +268,8 @@ def test_install_environment_zlib():
)
with open(setup_file, "w") as f:
f.write(lines)
# install global_generic toolchain
mod.install_environment(
mpsd_release=mpsd_release_to_test,
@@ -316,6 +318,24 @@ def test_install_environment_zlib():
assert "zlib" in lines
# install again to ensure that
# commands that skip creation of folders when
# they are already present works as expected
mod.install_environment(
mpsd_release=mpsd_release_to_test,
toolchains=[toolchain_to_test],
script_dir=script_dir,
enable_build_cache=False,
)
build_log = list(
(release_base_dir / "logs").glob(
f"{mpsd_release_to_test}_{mpsd_microarch}_*_install.log"
)
)
assert len(build_log) > 1
def test_metadata_logging(tmp_path):
"""Test that metadata is logged and read correctly."""
# Test that the metadata is logged correctly
Loading