feat: improved parsing and regression test suite
This commit is contained in:
parent
4ebdd3c66e
commit
619eb3b338
39 changed files with 1116 additions and 339 deletions
14
testing/regression/lit.cfg.py
Normal file
14
testing/regression/lit.cfg.py
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import os
|
||||
import lit.formats
|
||||
|
||||
config.name = "Ink Compiler Regression Tests"
|
||||
config.suffixes = [".ink"]
|
||||
config.tools = ["FileCheck"]
|
||||
config.test_format = lit.formats.ShTest(execute_external=True)
|
||||
config.test_source_root = os.path.dirname(__file__)
|
||||
config.test_exec_root = os.path.join(config.project_build_root, "testing", "regression")
|
||||
exe_path = os.path.join(config.project_zig_root, "bin", "inkc")
|
||||
|
||||
config.substitutions.append(("%ink-compiler", exe_path))
|
||||
Loading…
Add table
Add a link
Reference in a new issue