Skip to content

Commit 1e43819

Browse files
Amit Patankarangerson
Amit Patankar
authored andcommitted
Not running no_gpu tagged tests on GPU and not running benchmark-test for any pip builds. (tensorflow#22220)
PiperOrigin-RevId: 212541571
1 parent 66707f3 commit 1e43819

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tensorflow/tools/ci_build/builds/run_pip_tests.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ ln -s $(pwd)/tensorflow ${PIP_TEST_ROOT}/tensorflow
7676

7777
# Do not run tests with "no_pip" tag. If running GPU tests, also do not run
7878
# tests with no_pip_gpu tag.
79-
PIP_TEST_FILTER_TAG="-no_pip,-no_oss"
79+
PIP_TEST_FILTER_TAG="-no_pip,-no_oss,-benchmark-test"
8080
if [[ ${IS_OSS_SERIAL} == "1" ]]; then
8181
PIP_TEST_FILTER_TAG="$(echo "${PIP_TEST_FILTER_TAG}" | sed s/-no_oss//)"
8282
PIP_TEST_FILTER_TAG="${PIP_TEST_FILTER_TAG},oss_serial"
@@ -85,7 +85,7 @@ else
8585
fi
8686

8787
if [[ ${IS_GPU} == "1" ]]; then
88-
PIP_TEST_FILTER_TAG="-no_pip_gpu,${PIP_TEST_FILTER_TAG}"
88+
PIP_TEST_FILTER_TAG="-no_gpu,-no_pip_gpu,${PIP_TEST_FILTER_TAG}"
8989
fi
9090
if [[ ${IS_MAC} == "1" ]]; then
9191
PIP_TEST_FILTER_TAG="-nomac,${PIP_TEST_FILTER_TAG}"

0 commit comments

Comments
 (0)