diff options
author | Martin Stransky <stransky@redhat.com> | 2021-04-01 11:32:10 +0200 |
---|---|---|
committer | Martin Stransky <stransky@redhat.com> | 2021-04-01 11:32:10 +0200 |
commit | bcf00955380cbc49155baaf0e7a40d82e226283a (patch) | |
tree | 5e586613af6322d7e7dac3c168696930b0a2971d | |
parent | Added fix for mozbz#1693472 - Wayland/KDE rendering issues (diff) | |
download | librewolf-fedora-ff-bcf00955380cbc49155baaf0e7a40d82e226283a.tar.gz librewolf-fedora-ff-bcf00955380cbc49155baaf0e7a40d82e226283a.tar.bz2 librewolf-fedora-ff-bcf00955380cbc49155baaf0e7a40d82e226283a.zip |
Run testsuite on Wayland on Fedora 33+, Spec cleanup
-rw-r--r-- | firefox.sh.in | 2 | ||||
-rw-r--r-- | firefox.spec | 29 | ||||
-rwxr-xr-x | run-tests-wayland | 4 |
3 files changed, 10 insertions, 25 deletions
diff --git a/firefox.sh.in b/firefox.sh.in index f81f978..2274b1b 100644 --- a/firefox.sh.in +++ b/firefox.sh.in @@ -76,7 +76,7 @@ if ! [ $MOZ_DISABLE_WAYLAND ] && [ "$WAYLAND_DISPLAY" ]; then fi ## Remove comments to enable Wayland on KDE/Sway ## -## if __DEFAULT_WAYLAND__ && [ "$XDG_SESSION_TYPE" == "wayland" ]; then +## if [ "$XDG_SESSION_TYPE" == "wayland" ]; then ## export MOZ_ENABLE_WAYLAND=1 ## fi fi diff --git a/firefox.spec b/firefox.spec index 330a851..c423ec2 100644 --- a/firefox.spec +++ b/firefox.spec @@ -22,11 +22,8 @@ %global build_with_asan 0 %global test_offscreen 1 %global test_on_wayland 0 - -# Enable Wayland on all Wayland compositors (Gnome/KDE/Sway) by default. -%global default_wayland 0 %if 0%{?fedora} > 33 -%global default_wayland 1 +%global test_on_wayland 1 %endif # There are still build problems on s390x, see @@ -39,16 +36,6 @@ ExcludeArch: s390x # https://bugzilla.redhat.com/show_bug.cgi?id=1942516 ExcludeArch: armv7hl -# Temporary disable tests on Rawhide/arm/i686 due to failures -%if 0%{?fedora} > 33 -%ifarch armv7hl -%global run_firefox_tests 0 -%endif -%ifarch %{ix86} -%global run_firefox_tests 0 -%endif -%endif - %ifarch armv7hl %global create_debuginfo 0 %endif @@ -176,7 +163,7 @@ ExcludeArch: armv7hl Summary: Mozilla Firefox Web browser Name: firefox Version: 87.0 -Release: 7%{?pre_tag}%{?dist} +Release: 8%{?pre_tag}%{?dist} URL: https://www.mozilla.org/firefox/ License: MPLv1.1 or GPLv2+ or LGPLv2+ Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz @@ -827,13 +814,7 @@ desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE29} # set up the firefox start script %{__rm} -rf %{buildroot}%{_bindir}/firefox -%{__sed} \ -%if %{?default_wayland} - -e 's/__DEFAULT_WAYLAND__/true/' \ -%else - -e 's/__DEFAULT_WAYLAND__/false/' \ -%endif - -e 's,/__PREFIX__,%{_prefix},g' %{SOURCE21} > %{buildroot}%{_bindir}/firefox +%{__sed} -e 's,/__PREFIX__,%{_prefix},g' %{SOURCE21} > %{buildroot}%{_bindir}/firefox %{__chmod} 755 %{buildroot}%{_bindir}/firefox %if 0%{?flatpak} @@ -1082,6 +1063,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : #--------------------------------------------------------------------- %changelog +* Thu Apr 1 2021 Martin Stransky <stransky@redhat.com> - 87.0-8 +- Run testsuite on Wayland on Fedora 33+ +- Spec cleanup + * Wed Mar 31 2021 Martin Stransky <stransky@redhat.com> - 87.0-7 - Added fix for mozbz#1693472 - Wayland/KDE rendering issues. diff --git a/run-tests-wayland b/run-tests-wayland index 28a4800..16e47ed 100755 --- a/run-tests-wayland +++ b/run-tests-wayland @@ -28,10 +28,10 @@ elif [ "$SELECTED_TEST" = "moch" ] ; then elif [ "$SELECTED_TEST" = "crash" ] ; then RUN_CRASHTEST=1 else - RUN_XPCSHELL_TEST=0 + RUN_XPCSHELL_TEST=1 RUN_REFTEST=1 RUN_MOCHITEST=0 - RUN_CRASHTEST=0 + RUN_CRASHTEST=1 fi MACH_USE_SYSTEM_PYTHON=1 |