Skip to content

Commit ab7d7bf

Browse files
authored
Merge pull request bytecodealliance#123 from near/canonical_path
Canonicalize test path
2 parents 52edf4b + b6d7865 commit ab7d7bf

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
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: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
Suite path,Passing count,Total count,Total cycles
22
cranelift/zkasm_data,25,26,1023
3-
cranelift/zkasm_data/spectest/conversions/,3,24,45
4-
cranelift/zkasm_data/spectest/i32,138,364,3603
5-
cranelift/zkasm_data/spectest/i32/,155,364,4589
3+
cranelift/zkasm_data/spectest/conversions,3,24,45
4+
cranelift/zkasm_data/spectest/i32,155,364,4589
65
cranelift/zkasm_data/spectest/i64,161,374,4042

0 commit comments

Comments
 (0)