[tools] Simplify command line for updating API golden files
PiperOrigin-RevId: 276539617 Change-Id: I0baa7ad0bf903c71ead46fd79baeef8158e7344a
This commit is contained in:
parent
b160ffcecf
commit
eea8a61589
@ -5,9 +5,8 @@ If this test fails, it means a change has been made to the public API. Backwards
|
|||||||
incompatible changes are not allowed. You can run the test as follows to update
|
incompatible changes are not allowed. You can run the test as follows to update
|
||||||
test goldens and package them with your change.
|
test goldens and package them with your change.
|
||||||
|
|
||||||
$ bazel build tensorflow/tools/api/tests:api_compatibility_test
|
$ bazel run tensorflow/tools/api/tests:api_compatibility_test \
|
||||||
$ bazel-bin/tensorflow/tools/api/tests/api_compatibility_test \
|
# -- --update_goldens True
|
||||||
--update_goldens True
|
|
||||||
|
|
||||||
You will need an API approval to make changes to the public TensorFlow API. This
|
You will need an API approval to make changes to the public TensorFlow API. This
|
||||||
includes additions to the API.
|
includes additions to the API.
|
||||||
|
Loading…
Reference in New Issue
Block a user