import os

# Tests are sharing some common header, but we don't won't to use relative
# paths like "../../../helper.hpp" in them, so let's just register a
# substitution to add directory with helper headers into include search path
config.substitutions.append(("%helper-includes", "-I {}".format(os.path.dirname(os.path.abspath(__file__)))))
config.required_features += ['aspect-ext_oneapi_virtual_functions', 'target-spir']
