Build with enabled tests

This commit is contained in:
Martin Stransky 2020-11-13 23:02:02 +01:00
parent df7299e442
commit e195e73bd9
2 changed files with 14 additions and 9 deletions

View File

@ -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

View File

@ -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