From 8b49bd2e515dbbad55c61b4e16025a18e41216ca Mon Sep 17 00:00:00 2001 From: Karl W Schulz Date: Fri, 15 Mar 2024 13:40:36 -0500 Subject: [PATCH] add two missing calls to clean_output_dir Signed-off-by: Karl W Schulz --- tests/test_analyze_commands.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_analyze_commands.py b/tests/test_analyze_commands.py index ae751d05cf..45f696baf1 100644 --- a/tests/test_analyze_commands.py +++ b/tests/test_analyze_commands.py @@ -12,7 +12,7 @@ omniperf = SourceFileLoader("omniperf", "src/omniperf").load_module() baseline_opts = ["omniperf", "analyze"] config = {} -config["cleanup"] = False +config["cleanup"] = True indir1 = "tests/workloads/vcopy/MI100" indir2 = "tests/workloads/vcopy/MI200" @@ -37,7 +37,7 @@ def test_valid_path(): ): omniperf.main() assert e.value.code == 0 - + test_utils.clean_output_dir(config["cleanup"], workload_dir) @pytest.mark.misc def test_list_kernels(): @@ -1572,7 +1572,7 @@ def test_kernel_verbose_1(): ): omniperf.main() assert e.value.code == 0 - + test_utils.clean_output_dir(config["cleanup"], workload_dir) @pytest.mark.kernel_verbose def test_kernel_verbose_2():