From cbbea4771893d21c8a3386b164eb1ade3b68a4ce Mon Sep 17 00:00:00 2001 From: Trung Nguyen Date: Tue, 10 Sep 2024 16:22:35 -0500 Subject: [PATCH] fix the incorrect keys --- tools/regression-tests/run_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/regression-tests/run_tests.py b/tools/regression-tests/run_tests.py index af9d8dd085..37c1cd78a1 100755 --- a/tools/regression-tests/run_tests.py +++ b/tools/regression-tests/run_tests.py @@ -1358,7 +1358,7 @@ if __name__ == "__main__": # print out the binary info build_config = get_lammps_build_configuration(lmp_binary) packages = build_config['installed_packages'] - operating_system = build_config['installed_packages'] + operating_system = build_config['operating_system'] GitInfo = build_config['git_info'] compiler = build_config['compiler'] compiler_full = build_config['compiler_full'] @@ -1367,7 +1367,7 @@ if __name__ == "__main__": print("\nLAMMPS build info:") print(f" - {operating_system}") print(f" - {GitInfo}") - print(f" - Compiler: {compiler_full}") + print(f" - {compiler_full}") print(f" - Active compile flags: {compile_flags}") print(f" - List of {len(packages)} installed packages:") all_pkgs = ""