mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 07:34:20 +00:00
bug 440675, add USE_EXTENSION_MANIFEST coveragae to jar.mn tests, r=ted
This commit is contained in:
parent
074b6644f6
commit
8c89e4f740
@ -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
|
||||
|
4
config/tests/chrome.manifest.flat
Normal file
4
config/tests/chrome.manifest.flat
Normal 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
|
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user