Skip to content

Commit

Permalink
Set miscellaneous tests with unspecified size to small
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie Snape committed Apr 24, 2018
1 parent 8f65c35 commit 950f04f
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions automotive/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -714,6 +714,7 @@ drake_cc_googletest(

sh_test(
name = "demo_dry_run_test",
size = "small",
srcs = ["test/demo_test.sh"],
args = [
"--driving_command_gui_names=alpha,beta",
Expand Down
1 change: 1 addition & 0 deletions common/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,7 @@ genrule(
# Functional test that mistyped DRAKE_ASSERTs will failt to compile.
sh_test(
name = "drake_assert_test_compile_variants",
size = "small",
srcs = ["test/drake_assert_test_compile_variants.sh"],
args = [
"$(location :capture_cc.env)",
Expand Down
1 change: 1 addition & 0 deletions common/proto/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ drake_cc_googletest(
# backend on CI only.
sh_test(
name = "call_python_full_test",
size = "small",
srcs = ["test/call_python_full_test.sh"],
data = [
":call_python_client_cli",
Expand Down
1 change: 1 addition & 0 deletions systems/sensors/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ drake_cc_googletest(

sh_test(
name = "rgbd_camera_publish_lcm_test",
size = "small",
srcs = ["rgbd_camera_publish_lcm_example"],
args = [
"--sdf_dir=" + native.package_name() + "/test/models",
Expand Down
1 change: 1 addition & 0 deletions tools/clion/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ load("//tools/lint:lint.bzl", "add_lint_tests")

py_test(
name = "bazel_wrapper_test",
size = "small",
srcs = [
"test/bazel_wrapper_test.py",
],
Expand Down
1 change: 1 addition & 0 deletions tools/external_data/bazel_external_data/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ exports_files(["stub_test.py"])
# Stub file pending Python code.
py_test(
name = "stub_test",
size = "small",
srcs = ["stub_test.py"],
visibility = ["//visibility:public"],
)
Expand Down
1 change: 1 addition & 0 deletions tools/external_data/test/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ load(

external_data_workspace_test(
name = "external_data_pkg_test",
timeout = "moderate",
)

exports_files(
Expand Down
4 changes: 4 additions & 0 deletions tools/external_data/test/external_data_workspace_test.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ _upstream_files = [

def external_data_workspace_test(
name,
size = None,
timeout = None,
args = ARGS_DEFAULT,
data = []):
"""
Expand All @@ -36,6 +38,8 @@ def external_data_workspace_test(
script = "external_data_workspace_test.sh"
workspace_test(
name = name,
size = size,
timeout = timeout,
args = [
"$(location {})".format(script),
package_relpath,
Expand Down
6 changes: 6 additions & 0 deletions tools/external_data/test/workspace_test.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ ARGS_DEFAULT = [

def workspace_test(
name,
size = None,
timeout = None,
args = ARGS_DEFAULT,
data = []):
"""
Expand All @@ -25,8 +27,12 @@ def workspace_test(
@param data
Data required for the workspace test.
"""
if size == None:
size = "small"
native.sh_test(
name = name,
size = size,
timeout = timeout,
srcs = ["@drake//tools/external_data/test:workspace_test.sh"],
args = args,
data = data,
Expand Down
1 change: 1 addition & 0 deletions tools/lint/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ drake_py_unittest(

sh_test(
name = "clang_format_includes_test",
size = "small",
srcs = ["test/clang_format_includes_test.sh"],
data = [
":clang-format-includes",
Expand Down
1 change: 1 addition & 0 deletions tools/vector_gen/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ drake_cc_googletest(

sh_test(
name = "lcm_vector_gen_test",
size = "small",
srcs = ["test/lcm_vector_gen_test.sh"],
data = [
"test/gen/sample.cc",
Expand Down

0 comments on commit 950f04f

Please sign in to comment.