From 9ba87cc97c49ce62bb933ae3ff8d3c17d523cc18 Mon Sep 17 00:00:00 2001 From: Mike Shal Date: Thu, 23 Apr 2015 15:55:44 -0400 Subject: [PATCH] Bug 1122746 - Ignore *.pyc in zip instead of removing them; r=ted --- testing/testsuite-targets.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/testing/testsuite-targets.mk b/testing/testsuite-targets.mk index af4a832a2d14..0739b1897d61 100644 --- a/testing/testsuite-targets.mk +++ b/testing/testsuite-targets.mk @@ -422,11 +422,10 @@ package-tests: ifndef UNIVERSAL_BINARY $(NSINSTALL) -D $(DIST)/$(PKG_PATH) endif - find -L $(PKG_STAGE) -name '*.pyc' -exec rm {} \; $(MKDIR) -p $(abspath $(DIST))/$(PKG_PATH) && \ cd $(PKG_STAGE) && \ zip -rq9D '$(abspath $(DIST))/$(PKG_PATH)$(TEST_PACKAGE)' \ - * -x \*/.mkdir.done + * -x \*/.mkdir.done \*.pyc ifeq ($(MOZ_WIDGET_TOOLKIT),android) package-tests: stage-android