Signed-off-by: Jose Santos <josantos@login1.hpcfund>
This commit is contained in:
Jose Santos
2024-02-26 13:12:52 -06:00
committato da Karl W. Schulz
parent 5515cd20e9
commit 8a15b991de
+5 -3
Vedi File
@@ -1629,6 +1629,7 @@ def test_dependency_MI100():
omniperf.main()
assert e.value.code == 0
@pytest.mark.misc
def test_save_dfs():
output_path = "tests/workloads/vcopy/saved_analysis"
@@ -1649,12 +1650,13 @@ def test_save_dfs():
files_in_workload = os.listdir(output_path)
for file_name in files_in_workload:
import pandas as pd
df = pd.read_csv(output_path + "/" + file_name)
print(file_name)
single_row_tables = [
'0.1_Top_Kernels.csv',
'13.3_Instruction_Cache_-_L2_Interface.csv',
'18.1_Aggregate_Stats_(All_32_channels).csv'
"0.1_Top_Kernels.csv",
"13.3_Instruction_Cache_-_L2_Interface.csv",
"18.1_Aggregate_Stats_(All_32_channels).csv",
]
if file_name in single_row_tables:
assert len(df.index) == 1