diff options
author | Heemin Seog <hseog@google.com> | 2021-10-14 10:24:10 -0700 |
---|---|---|
committer | Heemin Seog <hseog@google.com> | 2021-10-14 10:24:10 -0700 |
commit | 417642546b0595d50ea6a2fffff0fda16c3a7521 (patch) | |
tree | fc1f4010ac7d1d67f95cf6f60486739bcf30c8b4 /tools | |
parent | d1a12c7e5c22c96945aa9af53b56325c8581defc (diff) | |
download | tests-417642546b0595d50ea6a2fffff0fda16c3a7521.tar.gz |
Add better logging to RRO script
Bug: 192256161
Test: manual
Change-Id: I340b6b5a74ab0892f27c8ddf73cb76af866a8a4b
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/rro/verify-overlayable.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/rro/verify-overlayable.py b/tools/rro/verify-overlayable.py index b469e3c..05feb51 100755 --- a/tools/rro/verify-overlayable.py +++ b/tools/rro/verify-overlayable.py @@ -46,7 +46,9 @@ def compare_resources(old_mapping, new_mapping, res_public_file): print('Resources added:\n' + '\n'.join(map(lambda x: str(x), added))) if len(added) + len(removed) > 0: print("Some resource have been modified. If this is intentional please " + - "run 'python generate-overlayable.py' again and submit the new %s" % res_public_file) + "run 'python3 generate-overlayable.py' again and submit the new %s" % res_public_file) + print("Some projects may include $PROJECT_TOP/tools/generate-overlayable.sh which calls " + + "the above command with the appropriate command line arguments") sys.exit(1) if __name__ == '__main__': |