mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 22:00:12 +01:00
Running `bazel test //...` reported: ``` Test execution time outside of range for MODERATE tests. Consider setting timeout="short" or size="small". ``` This change adds size="small" to avoid such warnings being reported. --------- Co-authored-by: Chandler Carruth <chandlerc@gmail.com>
21 lines
541 B
Python
21 lines
541 B
Python
# Part of the Carbon Language project, under the Apache License v2.0 with LLVM
|
|
# Exceptions. See /LICENSE for license information.
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
load("@rules_python//python:defs.bzl", "py_binary", "py_test")
|
|
|
|
py_binary(
|
|
name = "new_proposal",
|
|
srcs = ["new_proposal.py"],
|
|
python_version = "PY3",
|
|
)
|
|
|
|
py_test(
|
|
name = "new_proposal_test",
|
|
size = "small",
|
|
srcs = ["new_proposal_test.py"],
|
|
data = ["template.md"],
|
|
python_version = "PY3",
|
|
deps = [":new_proposal"],
|
|
)
|