I'd like to run selected tests from Tensor Flow unit tests using bazel, but I cannot get good enough granularity.
For example I am interested in running test SessionClusterSpecPropagationTest.testFullDeviceNames
from //tensorflow/tools/graph_transforms:transform_graph_py_test
I figured out so far I can run bazel test -c opt //tensorflow/tools/graph_transforms:transform_graph_py_test
, but unfortunately, this is running all of the tests from this gtest.
Regular --gtest_filter
is not working. I also tried --test_filter=SessionClusterSpecPropagationTest.testFullDeviceNames
, but I couldn't run single test either.
Could someone please recommend how to run it properly?