Disable cookie test_bug468700.js due to Thunderbird's different handling of cookies. Cookie test failures covered by bug 431125. r=bienvenu

This commit is contained in:
Mark Banner 2009-01-27 21:55:53 +00:00
Родитель 06b7381e42
Коммит f4a10f3a7c
1 изменённых файлов: 10 добавлений и 4 удалений

Просмотреть файл

@ -389,11 +389,17 @@ install:: $(srcdir)/profile/prefs.js
$(SYSINSTALL) $(IFLAGS1) $^ $(DESTDIR)$(mozappdir)/defaults/profile
# Disable these tests due to bug 431125
TEST_COOKIES_FILE=$(DIST)/../_tests/xpcshell-simple/test_cookies/unit/test_cookies.js
TEST_COOKIE_HEADER_FILE=$(DIST)/../_tests/xpcshell-simple/test_necko/unit/test_cookie_header.js
TEST_COOKIES_FILES = \
$(DIST)/../_tests/xpcshell-simple/test_cookies/unit/test_cookies.js \
$(DIST)/../_tests/xpcshell-simple/test_cookies/unit/test_bug468700.js \
$(DIST)/../_tests/xpcshell-simple/test_necko/unit/test_cookie_header.js \
$(NULL)
libs:: $(TEST_COOKIES_FILES)
for file in $^; do \
if test -f $$file; then $(RM) $$file; echo "function run_test() {dump('disabled for bug 431125');}" >$$file; fi; \
done
libs::
if test -f $(TEST_COOKIES_FILE); then $(RM) $(TEST_COOKIES_FILE); echo "function run_test() {dump('disabled for bug 431125');}" >$(TEST_COOKIES_FILE); fi;
if test -f $(TEST_COOKIE_HEADER_FILE); then $(RM) $(TEST_COOKIE_HEADER_FILE); echo "function run_test() {dump('disabled for TB for bug 431125');}" >$(TEST_COOKIE_HEADER_FILE); fi;
$(RM) $(DIST)/bin/TestCookie
if test -f $(DIST)/bin/TestTArray; then cp $(DIST)/bin/TestTArray $(DIST)/bin/TestCookie; fi;