bug 440675, add USE_EXTENSION_MANIFEST coveragae to jar.mn tests, r=ted

This commit is contained in:
Axel Hecht 2008-06-23 21:26:26 +02:00
parent 074b6644f6
commit 8c89e4f740
3 changed files with 9 additions and 1 deletions

View File

@ -166,6 +166,7 @@ check-preprocessor::
check-jar-mn::
make -C tests/src-simple check-jar
make -C tests/src-simple check-flat
make -C tests/src-simple check-flat USE_EXTENSION_MANIFEST=1
ifneq ($(OS_ARCH), WINNT)
make -C tests/src-simple check-symlink
endif

View File

@ -0,0 +1,4 @@
content test chrome/test/one xpcnativewrappers=no
locale ab-X-stuff chrome/test/three
overlay chrome://one/file.xml chrome://two/otherfile.xml
skin test classic chrome/test/one

View File

@ -52,11 +52,14 @@ DEFINES += \
-DAB_CD=ab-X-stuff \
$(NULL)
MY_MANIFEST = $(if $(USE_EXTENSION_MANIFEST), $(FINAL_TARGET)/chrome.manifest, $(FINAL_TARGET)/chrome/test.manifest)
REF_MANIFEST = $(if $(USE_EXTENSION_MANIFEST),chrome.manifest,test.manifest)
check-%::
if test -d $(FINAL_TARGET); then rm -rf $(FINAL_TARGET); fi;
make realchrome MOZ_CHROME_FILE_FORMAT=$*
@echo "Comparing manifests..."
@if ! sort $(FINAL_TARGET)/chrome/test.manifest | diff -u $(srcdir)/../test.manifest.$* - ; then \
@if ! sort $(MY_MANIFEST) | diff -u $(srcdir)/../$(REF_MANIFEST).$* - ; then \
echo "FAIL: different content in manifest!" ; \
fi
@if [ $* == "jar" ]; then \