Skip to content

Commit 00bccb8

Browse files
committed
Canonicalize test path
1 parent ff91069 commit 00bccb8

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

ci/zkasm-result.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,9 @@ def main():
138138
"--update", action="store_true", help="Whether to update state CSVs"
139139
)
140140
args = parser.parse_args()
141-
tests_path = args.path
142-
generated_dir = f"{tests_path}/generated"
143-
test_results_path = f"{tests_path}/state.csv"
141+
tests_path = os.path.normpath(args.path)
142+
generated_dir = os.path.join(tests_path, "generated")
143+
test_results_path = os.path.join(tests_path, "state.csv")
144144

145145
test_results = read_test_execution_results(sys.stdin)
146146
record_failed_compilation_results(tests_path, generated_dir, test_results)

docs/zkasm/test_summary.csv

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
Suite path,Passing count,Total count,Total cycles
22
cranelift/zkasm_data,25,26,1023
3-
cranelift/zkasm_data/spectest/i32,138,364,3603
4-
cranelift/zkasm_data/spectest/i32/,155,364,4589
3+
cranelift/zkasm_data/spectest/i32,155,364,4589
54
cranelift/zkasm_data/spectest/i64,161,374,4042

0 commit comments

Comments
 (0)