From ebb39c81daf32c9182a0a2f4862814f347badc6f Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Fri, 15 Feb 2019 14:43:07 -0800 Subject: [PATCH] Internal Change PiperOrigin-RevId: 234216321 --- .../tools/ci_build/windows/cpu/pip/build_tf_windows.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tensorflow/tools/ci_build/windows/cpu/pip/build_tf_windows.sh b/tensorflow/tools/ci_build/windows/cpu/pip/build_tf_windows.sh index 9741fba1c80..a938928baab 100644 --- a/tensorflow/tools/ci_build/windows/cpu/pip/build_tf_windows.sh +++ b/tensorflow/tools/ci_build/windows/cpu/pip/build_tf_windows.sh @@ -60,6 +60,7 @@ RELEASE_BUILD=0 TEST_TARGET="//${PY_TEST_DIR}/tensorflow/python/..." PROJECT_NAME="" EXTRA_BUILD_FLAGS="" +EXTRA_TEST_FLAGS="" # --skip_test Skip running tests # --enable_remote_cache Add options to enable remote cache for build and test @@ -89,6 +90,13 @@ while [[ $# -gt 0 ]]; do fi PROJECT_NAME="$1" ;; + --extra_test_flags) + shift + if [[ -z "$1" ]]; then + break + fi + EXTRA_TEST_FLAGS="$1" + ;; *) esac shift @@ -156,6 +164,7 @@ N_JOBS="${NUMBER_OF_PROCESSORS}" # Define no_tensorflow_py_deps=true so that every py_test has no deps anymore, # which will result testing system installed tensorflow bazel test --announce_rc --config=opt -k --test_output=errors \ + ${EXTRA_TEST_FLAGS} \ --define=no_tensorflow_py_deps=true --test_lang_filters=py \ --test_tag_filters=-no_pip,-no_windows,-no_oss,-gpu \ --build_tag_filters=-no_pip,-no_windows,-no_oss,-gpu --build_tests_only \