Skip to content
Snippets Groups Projects

Restructure log location

Merged Ashwin Kumar Karnad requested to merge restructure-log-location into main
1 file
+ 6
2
Compare changes
  • Side-by-side
  • Inline
+ 6
2
@@ -291,7 +291,7 @@ def test_install_environment_zlib():
f"{mpsd_release_to_test}_{mpsd_microarch}_*_install.log"
)
)
assert len(build_log) > 0
assert len(build_log) == 2
# take the most recent build log
build_log = sorted(build_log)[0]
# check that the build log contains statement ##### Installation finished
@@ -325,6 +325,10 @@ def test_install_environment_zlib():
# they are already present works as expected
# reload the module to ensure that date changes
importlib.reload(mod)
mod.set_up_logging(
"WARNING",
mod.get_installer_log_file(mpsd_release_to_test, "install", script_dir),
)
mod.install_environment(
mpsd_release=mpsd_release_to_test,
toolchains=[toolchain_to_test],
@@ -336,7 +340,7 @@ def test_install_environment_zlib():
f"{mpsd_release_to_test}_{mpsd_microarch}_*_install.log"
)
)
assert len(build_log) > 2
assert len(build_log) == 4
def test_metadata_logging(tmp_path):
Loading