summaryrefslogtreecommitdiff
path: root/firefox.spec
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2021-01-05 18:44:12 +0100
committerMartin Stransky <stransky@redhat.com>2021-01-05 18:44:12 +0100
commitf31d3e52b363cd519bbac756b55a2702b4c871ee (patch)
tree9488cdc0e8def8e3973401f0223238c546544b19 /firefox.spec
parentFix missing test_failures.txt file (diff)
downloadlibrewolf-fedora-ff-f31d3e52b363cd519bbac756b55a2702b4c871ee.tar.gz
librewolf-fedora-ff-f31d3e52b363cd519bbac756b55a2702b4c871ee.tar.bz2
librewolf-fedora-ff-f31d3e52b363cd519bbac756b55a2702b4c871ee.zip
test tweaks
Diffstat (limited to 'firefox.spec')
-rw-r--r--firefox.spec7
1 files changed, 3 insertions, 4 deletions
diff --git a/firefox.spec b/firefox.spec
index 8f52b77..2a7a7d6 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -369,7 +369,7 @@ This package contains results of tests executed during build.
%files -n %{testsuite_pkg_name}
/%{version}%-%{release}/test_results
/%{version}%-%{release}/test_summary.txt
-/%{version}%-%{release}/test_failures.txt
+/%{version}%-%{release}/failures-*
%endif
#---------------------------------------------------------------------
@@ -739,8 +739,7 @@ mkdir -p test_results
./run-tests-x11 || true
%endif
./print_results > test_summary.txt 2>&1 || true
-./print_failures >> test_summary.txt 2>&1 || true
-./print_failures > test_failures.txt 2>&1 || true
+./print_failures || true
%endif
#---------------------------------------------------------------------
@@ -878,7 +877,7 @@ sed -i -e "s/\[Crash Reporter\]/[Crash Reporter]\nEnabled=1/" %{buildroot}/%{moz
%{__mkdir_p} %{buildroot}/%{version}%-%{release}/test_results
%{__cp} test_results/* %{buildroot}/%{version}%-%{release}/test_results
%{__cp} test_summary.txt %{buildroot}/%{version}%-%{release}/
-%{__cp} test_failures.txt %{buildroot}/%{version}%-%{release}/
+%{__cp} failures-* %{buildroot}/%{version}%-%{release}/ || true
%endif
# Default
bgstack15