From 7ef24ee279c02832fc4ceed5be8fa2bcfe9f0882 Mon Sep 17 00:00:00 2001 From: Zeref996 <825276847@qq.com> Date: Sat, 12 Oct 2024 03:01:53 +0000 Subject: [PATCH] plt update allure, test=model --- framework/e2e/PaddleLT_new/PaddleLT.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/framework/e2e/PaddleLT_new/PaddleLT.py b/framework/e2e/PaddleLT_new/PaddleLT.py index d94a29e8c3..fbc6ff9936 100644 --- a/framework/e2e/PaddleLT_new/PaddleLT.py +++ b/framework/e2e/PaddleLT_new/PaddleLT.py @@ -32,7 +32,10 @@ def test_module_layer(title, layerfile, testing, device_place_id): flags_str += "\n" flags_str += f"paddle_commit={os.environ.get('paddle_commit', 'None')};" flags_str += "\n" - flags_str += f"wheel_url={os.environ.get('wheel_url', 'None')};" + # flags_str += f"wheel_url={os.environ.get('wheel_url', 'None')};" + flags_str += ( + f"wheel_url={os.environ.get('wheel_url', 'None').replace('latest', os.environ.get('paddle_commit', 'None'))};" + ) flags_str += "\n" for key, value in os.environ.items(): if key.startswith("FLAGS_"):