diff --git a/tensorflow/tools/ci_build/ci_parameterized_build.sh b/tensorflow/tools/ci_build/ci_parameterized_build.sh index 7aadfd280e887a9159f925ac50c1c75878b96503..e1a312b858e9249709257a0e2f3981498080b4a3 100755 --- a/tensorflow/tools/ci_build/ci_parameterized_build.sh +++ b/tensorflow/tools/ci_build/ci_parameterized_build.sh @@ -88,6 +88,9 @@ # Use the specified configurations when building. # When set, overrides TF_BUILD_IS_OPT and TF_BUILD_MAVX # options, as this will replace the two. +# TF_SKIP_CONTRIB_TESTS: +# If set to any non-empty or non-0 value, will skipp running +# contrib tests. # # This script can be used by Jenkins parameterized / matrix builds. @@ -146,6 +149,10 @@ else EXTRA_PARAMS="${EXTRA_PARAMS} -e TF_BUILD_ENABLE_XLA=1" fi +if [[ -n "$TF_SKIP_CONTRIB_TESTS" ]]; then + BAZEL_TARGET="$BAZEL_TARGET -//tensorflow/contrib/..." +fi + TUT_TEST_DATA_DIR="/tmp/tf_tutorial_test_data" ##########################################################