mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
18 lines
676 B
Python
18 lines
676 B
Python
#
|
|
# This file is distributed under the MIT License. See LICENSE.md for details.
|
|
#
|
|
# lit defines config and then loads this file, so we must prevent check-conventions to complain about config not being defined
|
|
# flake8: noqa: F821
|
|
# type: ignore
|
|
|
|
import lit.formats
|
|
|
|
config.name = "clift-opt"
|
|
config.test_format = lit.formats.ShTest(True)
|
|
config.suffixes = [".mlir"]
|
|
config.test_source_root = os.path.dirname(__file__)
|
|
config.test_exec_root = config.my_obj_root
|
|
config.substitutions.append(("%revngcliftopt", "../bin/revng clift-opt"))
|
|
config.substitutions.append(("%revngcliftemit", "../bin/revng clift-emit"))
|
|
config.substitutions.append(("%revngpipe", "../bin/revng pipe"))
|