From eea8a615899b534928a22ce1bd9073ccd88021ca Mon Sep 17 00:00:00 2001 From: Shanqing Cai Date: Thu, 24 Oct 2019 12:14:02 -0700 Subject: [PATCH] [tools] Simplify command line for updating API golden files PiperOrigin-RevId: 276539617 Change-Id: I0baa7ad0bf903c71ead46fd79baeef8158e7344a --- tensorflow/tools/api/tests/README.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tensorflow/tools/api/tests/README.txt b/tensorflow/tools/api/tests/README.txt index 3463eeec6fe..5b99fb243ba 100644 --- a/tensorflow/tools/api/tests/README.txt +++ b/tensorflow/tools/api/tests/README.txt @@ -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 test goldens and package them with your change. - $ bazel build tensorflow/tools/api/tests:api_compatibility_test - $ bazel-bin/tensorflow/tools/api/tests/api_compatibility_test \ - --update_goldens True + $ bazel run tensorflow/tools/api/tests:api_compatibility_test \ + # -- --update_goldens True You will need an API approval to make changes to the public TensorFlow API. This includes additions to the API.