summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firefox.spec7
-rwxr-xr-xprint_failures1
2 files changed, 3 insertions, 5 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
diff --git a/print_failures b/print_failures
index 202474d..3827601 100755
--- a/print_failures
+++ b/print_failures
@@ -3,6 +3,5 @@
export TEST_DIR="test_results"
-echo "Test failures"
./perrors $TEST_DIR ""
./perrors $TEST_DIR "-wr"
bgstack15