summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2020-11-13 23:02:02 +0100
committerMartin Stransky <stransky@redhat.com>2020-11-13 23:02:02 +0100
commite195e73bd9ad22cda18cca98bcbdc0fa57cd1d99 (patch)
treee78b8000f534b989babcc7e40c9a18b82eaa2114
parentUse mas 2 build process on aarch64/arm/s390x (diff)
downloadlibrewolf-fedora-ff-e195e73bd9ad22cda18cca98bcbdc0fa57cd1d99.tar.gz
librewolf-fedora-ff-e195e73bd9ad22cda18cca98bcbdc0fa57cd1d99.tar.bz2
librewolf-fedora-ff-e195e73bd9ad22cda18cca98bcbdc0fa57cd1d99.zip
Build with enabled tests
-rw-r--r--firefox.spec11
-rwxr-xr-xrun-tests12
2 files changed, 14 insertions, 9 deletions
diff --git a/firefox.spec b/firefox.spec
index 625d2f6..1d6f87b 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -3,14 +3,16 @@
%global debug_build 0
%global build_with_clang 0
%global build_with_asan 0
-%global run_tests 0
+%global run_tests 1
%global create_debuginfo 1
%global system_nss 1
# There are still build problems on s390x, see
# https://koji.fedoraproject.org/koji/taskinfo?taskID=55048351
# https://bugzilla.redhat.com/show_bug.cgi?id=1897522
-# ExcludeArch: s390x
+ExcludeArch: s390x
+ExcludeArch: armv7hl
+ExcludeArch: aarch64
%ifarch armv7hl
%global create_debuginfo 0
@@ -123,7 +125,7 @@
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 83.0
-Release: 1%{?pre_tag}%{?dist}
+Release: 2%{?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
@@ -979,6 +981,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#---------------------------------------------------------------------
%changelog
+* Fri Nov 13 2020 Martin Stransky <stransky@redhat.com> - 83.0-2
+- Build with enabled tests
+
* Thu Nov 12 2020 Martin Stransky <stransky@redhat.com> - 83.0-1
- Updated to 83.0
- Updated PipeWire patches from mozbz#1672944
diff --git a/run-tests b/run-tests
index 42ea687..e88877b 100755
--- a/run-tests
+++ b/run-tests
@@ -8,14 +8,14 @@ ln -s /usr/bin/certutil objdir/dist/bin/certutil
ln -s /usr/bin/pk12util objdir/dist/bin/pk12util
mkdir test_results
-./jsapi-tests >& test_results/check-jsapi || true &
-xvfb-run ./mach cppunittest >& test_results/check-cppunittest || true &
-xvfb-run ./mach gtest >& test_results/check-gtest || true &
-./mach jstests >& test_results/check-jstests || true &
-xvfb-run ./mach rusttests >& test_results/check-rusttests || true &
-xvfb-run ./mach xpcshell-test >& test_results/check-xpcshell-test || true &
+objdir/dist/bin/jsapi-tests >& test_results/check-jsapi || true &
+./mach cppunittest >& test_results/check-cppunittest || true &
+./mach gtest >& test_results/check-gtest || true &
+./mach rusttests >& test_results/check-rusttests || true &
# We can't parallelize these tests
+./mach jstests >& test_results/check-jstests || true
+./mach xpcshell-test >& test_results/check-xpcshell-test || true
xvfb-run ./mach jstestbrowser >& test_results/check-jstestbrowser || true
xvfb-run ./mach crashtest >& test_results/check-crashtest || true
xvfb-run ./mach marionette-test >& test_results/check-marionette-test || true
bgstack15