Skip to content
Snippets Groups Projects
Commit a554393b authored by Ashwin Kumar Karnad's avatar Ashwin Kumar Karnad
Browse files

fix 2nd set of tests with new path

parent 1601b036
No related branches found
No related tags found
1 merge request!59Move top level log
Pipeline #370957 passed
...@@ -301,11 +301,11 @@ def test_install_environment_zlib(): ...@@ -301,11 +301,11 @@ def test_install_environment_zlib():
os.path.basename(build_log) os.path.basename(build_log)
# assert that install log files exists # assert that install log files exists
assert os.path.exists(release_base_dir / cmd_log_file) assert os.path.exists(root_dir / cmd_log_file)
# assert that the build log is written to the install log file # assert that the build log is written to the install log file
os.path.basename(build_log) os.path.basename(build_log)
with open(release_base_dir / cmd_log_file, "r") as f: with open(root_dir / cmd_log_file, "r") as f:
lines = f.read() lines = f.read()
assert ( assert (
f"installing {toolchain_to_test} and logging at {str(build_log)}" in lines f"installing {toolchain_to_test} and logging at {str(build_log)}" in lines
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment