summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2020-12-02 08:35:08 +0100
committerMartin Stransky <stransky@redhat.com>2020-12-02 08:35:08 +0100
commit91e11d44487f557baafd5123aee2579bdea0bb1d (patch)
tree9b28c6668ea7b33a6a1b203bc0ff5dca222285d4
parentEnabled LTO (diff)
downloadlibrewolf-fedora-ff-91e11d44487f557baafd5123aee2579bdea0bb1d.tar.gz
librewolf-fedora-ff-91e11d44487f557baafd5123aee2579bdea0bb1d.tar.bz2
librewolf-fedora-ff-91e11d44487f557baafd5123aee2579bdea0bb1d.zip
Set tests timeout to 1, enabled LTO
-rw-r--r--firefox.spec4
-rwxr-xr-xrun-tests2
2 files changed, 3 insertions, 3 deletions
diff --git a/firefox.spec b/firefox.spec
index 3be7338..fc741e6 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -3,7 +3,7 @@
%global debug_build 0
%global build_with_clang 0
%global build_with_asan 0
-%if 0%{?fedora} == 33
+%if 0%{?fedora} >= 33
%ifarch x86_64
%global run_firefox_tests 1
%endif
@@ -541,7 +541,7 @@ chmod a-x third_party/rust/ash/src/extensions/khr/*.rs
%build
# Disable LTO to work around rhbz#1883904
-%define _lto_cflags %{nil}
+# %define _lto_cflags %{nil}
%if 0%{?use_bundled_cbindgen}
diff --git a/run-tests b/run-tests
index b4a6bf7..d7e8b5c 100755
--- a/run-tests
+++ b/run-tests
@@ -4,7 +4,7 @@ set -x
export MACH_USE_SYSTEM_PYTHON=1
export MOZ_NODE_PATH=/usr/bin/node
export X_PARAMS="-screen 0 1600x1200x24"
-export MOCHITEST_PARAMS="--timeout 10 --chunk-by-dir 4"
+export MOCHITEST_PARAMS="--timeout 1 --chunk-by-dir 4"
export TEST_DIR="test_results"
# Fix for system nss
bgstack15