cc_tools_wrapper_test.py 585 B

1234567891011121314151617
  1. """Wrapper script to run cc_tools_test from toolchain/install.
  2. This script imports `test_tools` from `bazel.cc_toolchains.cc_tools_test`
  3. and executes it. This allows running the test in `toolchain/install` package
  4. while keeping the main logic in `bazel/cc_toolchains`.
  5. """
  6. __copyright__ = """
  7. Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  8. Exceptions. See /LICENSE for license information.
  9. SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  10. """
  11. from bazel.cc_toolchains.cc_tools_test import test_tools
  12. if __name__ == "__main__":
  13. test_tools()