# -*- Python -*-

import os

import lit.formats
from lit.llvm import llvm_config

# Configuration file for the 'lit' test runner.

# name: The name of this test suite.
config.name = 'pmlc-scalar'

config.test_format = lit.formats.ShTest(not llvm_config.use_lit_shell)

# suffixes: A list of file extensions to treat as test files.
config.suffixes = ['.td', '.mlir']

llvm_config.use_default_substitutions()

tool_dirs = [
    os.path.join(config.pmlc_tools_dir, 'pmlc-opt'),
]

tools = [
    'pmlc-opt',
]

llvm_config.add_tool_substitutions(tools, tool_dirs)

9df87e2f350f296f92c76e8a78e2f9ee089aab45
<mask token>

<mask token>
llvm_config.use_default_substitutions()
<mask token>
llvm_config.add_tool_substitutions(tools, tool_dirs)

<mask token>
config.name = 'pmlc-scalar'
config.test_format = lit.formats.ShTest(not llvm_config.use_lit_shell)
config.suffixes = ['.td', '.mlir']
llvm_config.use_default_substitutions()
tool_dirs = [os.path.join(config.pmlc_tools_dir, 'pmlc-opt')]
tools = ['pmlc-opt']
llvm_config.add_tool_substitutions(tools, tool_dirs)

import os
import lit.formats
from lit.llvm import llvm_config
config.name = 'pmlc-scalar'
config.test_format = lit.formats.ShTest(not llvm_config.use_lit_shell)
config.suffixes = ['.td', '.mlir']
llvm_config.use_default_substitutions()
tool_dirs = [os.path.join(config.pmlc_tools_dir, 'pmlc-opt')]
tools = ['pmlc-opt']
llvm_config.add_tool_substitutions(tools, tool_dirs)

# -*- Python -*-

import os

import lit.formats
from lit.llvm import llvm_config

# Configuration file for the 'lit' test runner.

# name: The name of this test suite.
config.name = 'pmlc-scalar'

config.test_format = lit.formats.ShTest(not llvm_config.use_lit_shell)

# suffixes: A list of file extensions to treat as test files.
config.suffixes = ['.td', '.mlir']

llvm_config.use_default_substitutions()

tool_dirs = [
    os.path.join(config.pmlc_tools_dir, 'pmlc-opt'),
]

tools = [
    'pmlc-opt',
]

llvm_config.add_tool_substitutions(tools, tool_dirs)
