Merge branch 'master' into f33
This commit is contained in:
commit
c8c93a4f8d
@ -162,6 +162,7 @@ Source39: perrors
|
||||
Source40: run-tests-x11
|
||||
Source41: run-tests-wayland
|
||||
Source42: psummary
|
||||
Source43: print_failures
|
||||
|
||||
# Build patches
|
||||
Patch3: mozilla-build-arm.patch
|
||||
@ -730,7 +731,7 @@ find-links=`pwd`/mochitest-python
|
||||
no-index=true
|
||||
EOF
|
||||
tar xf %{SOURCE37}
|
||||
cp %{SOURCE40} %{SOURCE41} %{SOURCE42} %{SOURCE38} %{SOURCE39} .
|
||||
cp %{SOURCE40} %{SOURCE41} %{SOURCE42} %{SOURCE38} %{SOURCE39} %{SOURCE43} .
|
||||
mkdir -p test_results
|
||||
%if %{test_on_wayland}
|
||||
./run-tests-wayland || true
|
||||
@ -738,6 +739,7 @@ mkdir -p test_results
|
||||
./run-tests-x11 || true
|
||||
%endif
|
||||
./print_results > test_summary.txt 2>&1 || true
|
||||
./print_failures || true
|
||||
%endif
|
||||
|
||||
#---------------------------------------------------------------------
|
||||
@ -875,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} failures-*txt %{buildroot}/%{version}%-%{release}/
|
||||
%{__cp} failures-* %{buildroot}/%{version}%-%{release}/ || true
|
||||
%endif
|
||||
|
||||
# Default
|
||||
|
7
print_failures
Executable file
7
print_failures
Executable file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/bash
|
||||
# Analyze and print test failures
|
||||
|
||||
export TEST_DIR="test_results"
|
||||
|
||||
./perrors $TEST_DIR ""
|
||||
./perrors $TEST_DIR "-wr"
|
@ -5,9 +5,6 @@ export TEST_DIR="test_results"
|
||||
|
||||
echo "Test results"
|
||||
echo "Basic compositor"
|
||||
./psummary "test_results" ""
|
||||
./psummary $TEST_DIR ""
|
||||
echo "WebRender"
|
||||
./psummary "test_results" "-wr"
|
||||
|
||||
./perrors "test_results" ""
|
||||
./perrors "test_results" "-wr"
|
||||
./psummary $TEST_DIR "-wr"
|
||||
|
Loading…
Reference in New Issue
Block a user