| # Copyright 2022 The IREE Authors |
| # Licensed under the Apache License v2.0 with LLVM Exceptions. |
| # See https://llvm.org/LICENSE.txt for license information. |
| # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| set(BENCHMARKS_TOOL_PYTHON_DIR "${CMAKE_CURRENT_SOURCE_DIR}") |
| # benchmark_tool_py_test() |
| # CMake function to test benchmark python tools. |
| # ARGS: Command line arguments to the Python source file. |
| # LABELS: Additional labels to apply to the test. The package path is added |
| function(benchmark_tool_py_test) |
| ${BENCHMARKS_TOOL_PYTHON_DIR} |