Exclude tests tagged with gpu or tpu from ubuntu_16/gpu_pip_on_cpu.

PiperOrigin-RevId: 314968436
Change-Id: I70435c2c4b18832b30d7aac59907b6a7524c342b
This commit is contained in:
Christian Sigg 2020-06-05 11:53:07 -07:00 committed by TensorFlower Gardener
parent 077ae24c53
commit aa60e5adef

View File

@ -44,13 +44,14 @@ bazel --output_base=/tmp test --define=no_tensorflow_py_deps=true \
--test_lang_filters=py \
--build_tests_only \
-k \
--test_tag_filters=-no_oss,-oss_serial,-no_pip,-nopip \
--test_tag_filters=-no_oss,-oss_serial,-no_pip,-nopip,-gpu,-tpu \
--test_size_filters=small,medium \
--test_timeout 300,450,1200,3600 \
--test_output=errors \
-- //${PIP_TEST_ROOT}/tensorflow/python/... \
-//${PIP_TEST_ROOT}/tensorflow/python/compiler/xla:xla_test \
-//${PIP_TEST_ROOT}/tensorflow/python/distribute:parameter_server_strategy_test \
-//${PIP_TEST_ROOT}/tensorflow/python:virtual_gpu_test \
-//${PIP_TEST_ROOT}/tensorflow/python:virtual_gpu_test_gpu \
-//${PIP_TEST_ROOT}/tensorflow/python:collective_ops_gpu_test \
-//${PIP_TEST_ROOT}/tensorflow/python:collective_ops_gpu_test_gpu
-//${PIP_TEST_ROOT}/tensorflow/python:collective_ops_gpu_test
# The above tests are excluded because they seem to require a GPU.
# TODO(yifeif): Investigate and potentially add an unconditional 'gpu' tag.