From c24792ddae8ebe1cfa55abd01dff8001bfc9a0ac Mon Sep 17 00:00:00 2001 From: saienduri Date: Mon, 15 Apr 2024 23:36:51 -0700 Subject: [PATCH] add debug print --- iree_tests/download_remote_files.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iree_tests/download_remote_files.py b/iree_tests/download_remote_files.py index 225764f05..da0929ac6 100644 --- a/iree_tests/download_remote_files.py +++ b/iree_tests/download_remote_files.py @@ -76,7 +76,7 @@ def download_azure_remote_file(test_dir: Path, remote_file: str): ) as blob_client: blob_properties = blob_client.get_blob_properties() - cache_location = os.getenv("IREE_TEST_FILES", "") + cache_location = os.getenv("IREE_TEST_FILES", default="") if cache_location == "": os.environ["IREE_TEST_FILES"] = str(REPO_ROOT) cache_location = REPO_ROOT @@ -98,6 +98,7 @@ def download_azure_remote_file(test_dir: Path, remote_file: str): with open(local_file_path, mode="wb") as local_blob: download_stream = blob_client.download_blob(max_concurrency=4) local_blob.write(download_stream.readall()) + print(cache_location) if cache_location != REPO_ROOT: os.symlink(local_file_path, test_dir / remote_file_name)