From 64522550abf862fe641dd8d782f9ace9fb75f7a9 Mon Sep 17 00:00:00 2001 From: Gunhan Gulsoy Date: Fri, 17 Mar 2017 10:29:26 -0800 Subject: [PATCH] Add an option to omit contrib tests in ci build. Change: 150463151 --- tensorflow/tools/ci_build/ci_parameterized_build.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tensorflow/tools/ci_build/ci_parameterized_build.sh b/tensorflow/tools/ci_build/ci_parameterized_build.sh index 7aadfd280e8..e1a312b858e 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" ########################################################## -- GitLab