Internal Change
PiperOrigin-RevId: 234216321
This commit is contained in:
parent
b33094fa0d
commit
ebb39c81da
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user