85
85
# Use the specified configurations when building.
86
86
# When set, overrides TF_BUILD_IS_OPT and TF_BUILD_MAVX
87
87
# options, as this will replace the two.
88
- # TF_SKIP_LITE_TESTS:
89
- # If set to any non-empty or non-0 value, will skip running
90
- # contrib/lite tests, but will leave other contrib tests.
91
88
# TF_SKIP_CONTRIB_TESTS:
92
89
# If set to any non-empty or non-0 value, will skip running
93
90
# contrib tests.
@@ -134,7 +131,13 @@ BAZEL_CMD="bazel test"
134
131
BAZEL_BUILD_ONLY_CMD=" bazel build"
135
132
BAZEL_CLEAN_CMD=" bazel clean"
136
133
137
- DEFAULT_BAZEL_CONFIGS=" "
134
+ # Default flags:
135
+ # --test_summary=detailed: Tell us more about which targets are being built
136
+ # --keep_going: Don't stop at the first failure; tell us all the failures
137
+ # --build_tests_only: Don't build targets depended on by tests if the test is
138
+ # disabled. Also saves some compilation time. Otherwise,
139
+ # tries to build everything.
140
+ DEFAULT_BAZEL_CONFIGS=" --test_summary=detailed --build_tests_only --keep_going"
138
141
139
142
PIP_CMD=" ${CI_BUILD_DIR} /builds/pip.sh"
140
143
PIP_TEST_TUTORIALS_FLAG=" --test_tutorials"
@@ -150,10 +153,6 @@ BENCHMARK_CMD="${CI_BUILD_DIR}/builds/benchmark.sh"
150
153
EXTRA_PARAMS=" "
151
154
BAZEL_TARGET=" //tensorflow/... -//tensorflow/compiler/..."
152
155
153
- if [[ -n " $TF_SKIP_LITE_TESTS " ]]; then
154
- BAZEL_TARGET=" ${BAZEL_TARGET} -//tensorflow/contrib/lite/..."
155
- fi
156
-
157
156
if [[ -n " $TF_SKIP_CONTRIB_TESTS " ]]; then
158
157
BAZEL_TARGET=" ${BAZEL_TARGET} -//tensorflow/contrib/..."
159
158
fi
0 commit comments