From 1a9ca1b9c492018584ebe99f9b520610c4f3e063 Mon Sep 17 00:00:00 2001 From: Ted Mielczarek Date: Wed, 10 Apr 2013 11:39:46 -0400 Subject: [PATCH] bug 857383 - Don't try to print the app path for a partial build. r=gps --- python/mozbuild/mozbuild/mach_commands.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/python/mozbuild/mozbuild/mach_commands.py b/python/mozbuild/mozbuild/mach_commands.py index b0f7f4ae164e..2f7054015e01 100644 --- a/python/mozbuild/mozbuild/mach_commands.py +++ b/python/mozbuild/mozbuild/mach_commands.py @@ -128,15 +128,14 @@ class Build(MachCommandBase): else: print('Your build was successful!') - # Fennec doesn't have useful output from just building. We should - # arguably make the build action useful for Fennec. Another day... - if self.substs['MOZ_BUILD_APP'] != 'mobile/android': - app_path = self.get_binary_path('app') - print('To take your build for a test drive, run: %s' % app_path) - # Only for full builds because incremental builders likely don't # need to be burdened with this. if not what: + # Fennec doesn't have useful output from just building. We should + # arguably make the build action useful for Fennec. Another day... + if self.substs['MOZ_BUILD_APP'] != 'mobile/android': + app_path = self.get_binary_path('app') + print('To take your build for a test drive, run: %s' % app_path) app = self.substs['MOZ_BUILD_APP'] if app in ('browser', 'mobile/android'): print('For more information on what to do now, see '