BUILD 845 B

12345678910111213141516171819202122232425262728293031323334
  1. # Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. # Exceptions. See /LICENSE for license information.
  3. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. load("//bazel/sh_run:rules.bzl", "glob_sh_run")
  5. load("//testing/lit_test:rules.bzl", "glob_lit_tests")
  6. glob_lit_tests(
  7. data = [
  8. "//explorer",
  9. "//testing/lit_test:merge_output",
  10. "@llvm-project//llvm:FileCheck",
  11. "@llvm-project//llvm:not",
  12. ],
  13. driver = "lit.cfg.py",
  14. test_file_exts = ["carbon"],
  15. )
  16. glob_sh_run(
  17. args = ["$(location //explorer)"],
  18. data = ["//explorer"],
  19. file_exts = ["carbon"],
  20. )
  21. glob_sh_run(
  22. args = [
  23. "$(location //explorer)",
  24. "--parser_debug",
  25. "--trace_file=-",
  26. ],
  27. data = ["//explorer"],
  28. file_exts = ["carbon"],
  29. run_ext = "verbose",
  30. )