From 4c506a042a9e02ef1229abf883fbd4b64b056194 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 19 Dec 2024 19:06:16 -0800 Subject: [PATCH] Copy hardcoded bin for MU test --- aha/util/regress.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/aha/util/regress.py b/aha/util/regress.py index 22514d59..9d677581 100644 --- a/aha/util/regress.py +++ b/aha/util/regress.py @@ -505,6 +505,17 @@ def test_matrix_unit_app(test, width, height, env_parameters, extra_args, layer= env_vars["MU_DATAWIDTH"] = str(mu_datawidth) #buildkite_call(buildkite_args) + + try: + subprocess.call(["make", "clean"], cwd=app_path) + except: + pass + + try: + print(f"copying hardcoded bin folder", flush=True) + shutil.copytree(f"{app_path}/hardcoded_bin", f"{app_path}/bin") + except: + raise RuntimeError(f"[ERROR] Please don't delete hardcoded bin folder") print(f"--- {testname} - glb testing", flush=True) start = time.time()