14 lines
482 B
Python
14 lines
482 B
Python
#!/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))
|