blob: 1b1ba7875dc195b280c910e08d758b313ae3d95f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#! /bin/bash
builddir=$1
shift
echo number of junit classes
grep failures $builddir/test/results/* | wc
echo
echo number of passed junit classes - failures
grep failures $builddir/test/results/* | grep "failures=\"0\"" | wc
echo
echo number of passed junit classes - errors
grep failures $builddir/test/results/* | grep "errors=\"0\"" | wc
echo
echo number of failed junit classes - failures
grep failures $builddir/test/results/* | grep -v "failures=\"0\"" | wc
echo
echo number of failed junit classes - errors
grep failures $builddir/test/results/* | grep -v "errors=\"0\"" | wc
echo
echo failed junit classes - failures
grep failures $builddir/test/results/* | grep -v "failures=\"0\""
echo
echo failed junit classes - errors
grep failures $builddir/test/results/* | grep -v "errors=\"0\""
echo
|