From 417642546b0595d50ea6a2fffff0fda16c3a7521 Mon Sep 17 00:00:00 2001 From: Heemin Seog Date: Thu, 14 Oct 2021 10:24:10 -0700 Subject: Add better logging to RRO script Bug: 192256161 Test: manual Change-Id: I340b6b5a74ab0892f27c8ddf73cb76af866a8a4b --- tools/rro/verify-overlayable.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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__': -- cgit v1.2.3