From 91e11d44487f557baafd5123aee2579bdea0bb1d Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Wed, 2 Dec 2020 08:35:08 +0100 Subject: Set tests timeout to 1, enabled LTO --- firefox.spec | 4 ++-- run-tests | 2 +- 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 -- cgit