diff options
author | Joonas Niilola <juippis@gentoo.org> | 2022-01-18 13:01:34 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2022-01-18 13:03:11 +0200 |
commit | e895b1f82fc2d342fe51819199b21d5bd0e24657 (patch) | |
tree | 61b607221cf664374768a34a98ddc876deba14d6 /dev-lang | |
parent | sci-geosciences/gpxsee: bump to 10.1 (diff) | |
download | gentoo-e895b1f82fc2d342fe51819199b21d5bd0e24657.tar.gz gentoo-e895b1f82fc2d342fe51819199b21d5bd0e24657.tar.bz2 gentoo-e895b1f82fc2d342fe51819199b21d5bd0e24657.zip |
dev-lang/spidermonkey: enable tests for 91.5.0
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/spidermonkey/files/spidermonkey-91-known-test-failures.txt | 121 | ||||
-rw-r--r-- | dev-lang/spidermonkey/spidermonkey-91.5.0.ebuild | 59 |
2 files changed, 136 insertions, 44 deletions
diff --git a/dev-lang/spidermonkey/files/spidermonkey-91-known-test-failures.txt b/dev-lang/spidermonkey/files/spidermonkey-91-known-test-failures.txt new file mode 100644 index 000000000000..17e2631e25d2 --- /dev/null +++ b/dev-lang/spidermonkey/files/spidermonkey-91-known-test-failures.txt @@ -0,0 +1,121 @@ +non262/Date/reset-time-zone-cache-same-offset.js +non262/Date/time-zone-path.js +non262/Date/time-zones-historic.js +non262/Date/time-zones-imported.js +non262/Date/toString-localized-posix.js +non262/Date/toString-localized.js +non262/Intl/Date/toLocaleDateString_timeZone.js +non262/Intl/Date/toLocaleString_timeZone.js +non262/Intl/Date/toLocaleTimeString_timeZone.js +non262/Intl/DateTimeFormat/day-period-hour-cycle.js +non262/Intl/DateTimeFormat/format.js +non262/Intl/DateTimeFormat/format_timeZone.js +non262/Intl/DateTimeFormat/fractional-second-digits-append-item.js +non262/Intl/DateTimeFormat/japanese-gannen-year.js +non262/Intl/DateTimeFormat/related-year.js +non262/Intl/DateTimeFormat/timeZone_backward_links.js +non262/Intl/DateTimeFormat/tz-environment-variable.js +non262/Intl/DisplayNames/language.js +non262/Intl/DisplayNames/region.js +non262/Intl/Locale/likely-subtags-generated.js +non262/Intl/Locale/likely-subtags.js +non262/Intl/available-locales-resolved.js +non262/Intl/available-locales-supported.js +test262/built-ins/Date/UTC/fp-evaluation-order.js +test262/built-ins/RegExp/property-escapes/generated/Alphabetic.js +test262/built-ins/RegExp/property-escapes/generated/Assigned.js +test262/built-ins/RegExp/property-escapes/generated/Bidi_Mirrored.js +test262/built-ins/RegExp/property-escapes/generated/Case_Ignorable.js +test262/built-ins/RegExp/property-escapes/generated/Cased.js +test262/built-ins/RegExp/property-escapes/generated/Changes_When_Casefolded.js +test262/built-ins/RegExp/property-escapes/generated/Changes_When_Casemapped.js +test262/built-ins/RegExp/property-escapes/generated/Changes_When_Lowercased.js +test262/built-ins/RegExp/property-escapes/generated/Changes_When_NFKC_Casefolded.js +test262/built-ins/RegExp/property-escapes/generated/Changes_When_Titlecased.js +test262/built-ins/RegExp/property-escapes/generated/Changes_When_Uppercased.js +test262/built-ins/RegExp/property-escapes/generated/Dash.js +test262/built-ins/RegExp/property-escapes/generated/Default_Ignorable_Code_Point.js +test262/built-ins/RegExp/property-escapes/generated/Diacritic.js +test262/built-ins/RegExp/property-escapes/generated/Emoji.js +test262/built-ins/RegExp/property-escapes/generated/Emoji_Modifier_Base.js +test262/built-ins/RegExp/property-escapes/generated/Emoji_Presentation.js +test262/built-ins/RegExp/property-escapes/generated/Extender.js +test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Cased_Letter.js +test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Close_Punctuation.js +test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Currency_Symbol.js +test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Dash_Punctuation.js +test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Decimal_Number.js +test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Format.js +test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Letter.js +test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Lowercase_Letter.js +test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Mark.js +test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Modifier_Letter.js +test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Modifier_Symbol.js +test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Nonspacing_Mark.js +test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Number.js +test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Open_Punctuation.js +test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Other.js +test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Other_Letter.js +test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Other_Punctuation.js +test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Other_Symbol.js +test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Punctuation.js +test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Spacing_Mark.js +test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Symbol.js +test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Unassigned.js +test262/built-ins/RegExp/property-escapes/generated/General_Category_-_Uppercase_Letter.js +test262/built-ins/RegExp/property-escapes/generated/Grapheme_Base.js +test262/built-ins/RegExp/property-escapes/generated/Grapheme_Extend.js +test262/built-ins/RegExp/property-escapes/generated/ID_Continue.js +test262/built-ins/RegExp/property-escapes/generated/ID_Start.js +test262/built-ins/RegExp/property-escapes/generated/Ideographic.js +test262/built-ins/RegExp/property-escapes/generated/Lowercase.js +test262/built-ins/RegExp/property-escapes/generated/Script_-_Ahom.js +test262/built-ins/RegExp/property-escapes/generated/Script_-_Arabic.js +test262/built-ins/RegExp/property-escapes/generated/Script_-_Balinese.js +test262/built-ins/RegExp/property-escapes/generated/Script_-_Brahmi.js +test262/built-ins/RegExp/property-escapes/generated/Script_-_Canadian_Aboriginal.js +test262/built-ins/RegExp/property-escapes/generated/Script_-_Common.js +test262/built-ins/RegExp/property-escapes/generated/Script_-_Ethiopic.js +test262/built-ins/RegExp/property-escapes/generated/Script_-_Glagolitic.js +test262/built-ins/RegExp/property-escapes/generated/Script_-_Han.js +test262/built-ins/RegExp/property-escapes/generated/Script_-_Hiragana.js +test262/built-ins/RegExp/property-escapes/generated/Script_-_Inherited.js +test262/built-ins/RegExp/property-escapes/generated/Script_-_Kaithi.js +test262/built-ins/RegExp/property-escapes/generated/Script_-_Kannada.js +test262/built-ins/RegExp/property-escapes/generated/Script_-_Katakana.js +test262/built-ins/RegExp/property-escapes/generated/Script_-_Latin.js +test262/built-ins/RegExp/property-escapes/generated/Script_-_Mongolian.js +test262/built-ins/RegExp/property-escapes/generated/Script_-_Tagalog.js +test262/built-ins/RegExp/property-escapes/generated/Script_-_Takri.js +test262/built-ins/RegExp/property-escapes/generated/Script_-_Telugu.js +test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Adlam.js +test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Ahom.js +test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Arabic.js +test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Balinese.js +test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Brahmi.js +test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Canadian_Aboriginal.js +test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Common.js +test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Ethiopic.js +test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Glagolitic.js +test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Han.js +test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Hiragana.js +test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Inherited.js +test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Kaithi.js +test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Kannada.js +test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Katakana.js +test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Latin.js +test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Mongolian.js +test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Nko.js +test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Syriac.js +test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Tagalog.js +test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Takri.js +test262/built-ins/RegExp/property-escapes/generated/Script_Extensions_-_Telugu.js +test262/built-ins/RegExp/property-escapes/generated/Sentence_Terminal.js +test262/built-ins/RegExp/property-escapes/generated/Soft_Dotted.js +test262/built-ins/RegExp/property-escapes/generated/Terminal_Punctuation.js +test262/built-ins/RegExp/property-escapes/generated/Unified_Ideograph.js +test262/built-ins/RegExp/property-escapes/generated/Uppercase.js +test262/built-ins/RegExp/property-escapes/generated/Variation_Selector.js +test262/built-ins/RegExp/property-escapes/generated/XID_Continue.js +test262/built-ins/RegExp/property-escapes/generated/XID_Start.js +test262/intl402/Locale/prototype/minimize/removing-likely-subtags-first-adds-likely-subtags.js diff --git a/dev-lang/spidermonkey/spidermonkey-91.5.0.ebuild b/dev-lang/spidermonkey/spidermonkey-91.5.0.ebuild index e0ca7789926b..3869fb05e1b6 100644 --- a/dev-lang/spidermonkey/spidermonkey-91.5.0.ebuild +++ b/dev-lang/spidermonkey/spidermonkey-91.5.0.ebuild @@ -70,8 +70,8 @@ IUSE="clang cpu_flags_arm_neon debug +jit lto test" # 91.5.0, only lld seems to be supported with lto. REQUIRED_USE="lto? ( clang )" -RESTRICT="test" -# RESTRICT="!test? ( test )" +#RESTRICT="test" +RESTRICT="!test? ( test )" BDEPEND="${PYTHON_DEPS} virtual/rust @@ -343,6 +343,9 @@ src_configure() { fi fi + export MACH_USE_SYSTEM_PYTHON=1 + export PIP_NO_CACHE_DIR=off + # Show flags we will use einfo "Build CFLAGS: ${CFLAGS}" einfo "Build CXXFLAGS: ${CXXFLAGS}" @@ -369,61 +372,29 @@ src_test() { die "Smoke-test failed: did interpreter initialization fail?" fi - local -a KNOWN_TESTFAILURES - KNOWN_TESTFAILURES+=( non262/Date/reset-time-zone-cache-same-offset.js ) - KNOWN_TESTFAILURES+=( non262/Date/time-zone-path.js ) - KNOWN_TESTFAILURES+=( non262/Date/time-zones-historic.js ) - KNOWN_TESTFAILURES+=( non262/Date/time-zones-imported.js ) - KNOWN_TESTFAILURES+=( non262/Date/toString-localized.js ) - KNOWN_TESTFAILURES+=( non262/Date/toString-localized-posix.js ) - KNOWN_TESTFAILURES+=( non262/Intl/Date/toLocaleString_timeZone.js ) - KNOWN_TESTFAILURES+=( non262/Intl/Date/toLocaleDateString_timeZone.js ) - KNOWN_TESTFAILURES+=( non262/Intl/DateTimeFormat/format.js ) - KNOWN_TESTFAILURES+=( non262/Intl/DateTimeFormat/format_timeZone.js ) - KNOWN_TESTFAILURES+=( non262/Intl/DateTimeFormat/timeZone_backward_links.js ) - KNOWN_TESTFAILURES+=( non262/Intl/DateTimeFormat/tz-environment-variable.js ) - KNOWN_TESTFAILURES+=( non262/Intl/DisplayNames/language.js ) - KNOWN_TESTFAILURES+=( non262/Intl/DisplayNames/region.js ) - KNOWN_TESTFAILURES+=( non262/Intl/Locale/likely-subtags.js ) - KNOWN_TESTFAILURES+=( non262/Intl/Locale/likely-subtags-generated.js ) - KNOWN_TESTFAILURES+=( test262/intl402/Locale/prototype/minimize/removing-likely-subtags-first-adds-likely-subtags.js ) + cp "${FILESDIR}"/spidermonkey-91-known-test-failures.txt "${T}"/known_failures.list || die if use x86 ; then - KNOWN_TESTFAILURES+=( non262/Date/timeclip.js ) - KNOWN_TESTFAILURES+=( test262/built-ins/Number/prototype/toPrecision/return-values.js ) - KNOWN_TESTFAILURES+=( test262/language/types/number/S8.5_A2.1.js ) - KNOWN_TESTFAILURES+=( test262/language/types/number/S8.5_A2.2.js ) + echo "non262/Date/timeclip.js" >> "${T}"/known_failures.list + echo "test262/built-ins/Number/prototype/toPrecision/return-values.js" >> "${T}"/known_failures.list + echo "test262/language/types/number/S8.5_A2.1.js" >> "${T}"/known_failures.list + echo "test262/language/types/number/S8.5_A2.2.js" >> "${T}"/known_failures.list fi if [[ $(tc-endian) == "big" ]] ; then - KNOWN_TESTFAILURES+=( test262/built-ins/TypedArray/prototype/set/typedarray-arg-set-values-same-buffer-other-type.js ) + echo "non262/extensions/clone-errors.js" >> "${T}"/known_failures.list + echo "test262/built-ins/Date/UTC/fp-evaluation-order.js" >> "${T}"/known_failures.list + echo "test262/built-ins/TypedArray/prototype/set/typedarray-arg-set-values-same-buffer-other-type.js" >> "${T}"/known_failures.list fi - echo "" > "${T}"/known_failures.list || die - - local KNOWN_TESTFAILURE - for KNOWN_TESTFAILURE in ${KNOWN_TESTFAILURES[@]} ; do - echo "${KNOWN_TESTFAILURE}" >> "${T}"/known_failures.list - done - - PYTHONPATH="${S}/tests/lib" \ - ${PYTHON} \ + ${EPYTHON} \ "${S}"/tests/jstests.py -d -s -t 1800 --wpt=disabled --no-progress \ --exclude-file="${T}"/known_failures.list \ "${MOZJS_BUILDDIR}"/js/src/js \ || die if use jit ; then - KNOWN_TESTFAILURES=() - - echo "" > "${T}"/known_failures.list || die - - for KNOWN_TESTFAILURE in ${KNOWN_TESTFAILURES[@]} ; do - echo "${KNOWN_TESTFAILURE}" >> "${T}"/known_failures.list - done - - PYTHONPATH="${S}/tests/lib" \ - ${PYTHON} \ + ${EPYTHON} \ "${S}"/tests/jstests.py -d -s -t 1800 --wpt=disabled --no-progress \ --exclude-file="${T}"/known_failures.list \ "${MOZJS_BUILDDIR}"/js/src/js basic \ |