Set tests timeout to 1, enabled LTO

This commit is contained in:
Martin Stransky 2020-12-02 08:35:08 +01:00
parent 3f5109ef95
commit 91e11d4448
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
%global debug_build 0 %global debug_build 0
%global build_with_clang 0 %global build_with_clang 0
%global build_with_asan 0 %global build_with_asan 0
%if 0%{?fedora} == 33 %if 0%{?fedora} >= 33
%ifarch x86_64 %ifarch x86_64
%global run_firefox_tests 1 %global run_firefox_tests 1
%endif %endif
@ -541,7 +541,7 @@ chmod a-x third_party/rust/ash/src/extensions/khr/*.rs
%build %build
# Disable LTO to work around rhbz#1883904 # Disable LTO to work around rhbz#1883904
%define _lto_cflags %{nil} # %define _lto_cflags %{nil}
%if 0%{?use_bundled_cbindgen} %if 0%{?use_bundled_cbindgen}

View File

@ -4,7 +4,7 @@ set -x
export MACH_USE_SYSTEM_PYTHON=1 export MACH_USE_SYSTEM_PYTHON=1
export MOZ_NODE_PATH=/usr/bin/node export MOZ_NODE_PATH=/usr/bin/node
export X_PARAMS="-screen 0 1600x1200x24" 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" export TEST_DIR="test_results"
# Fix for system nss # Fix for system nss