aboutsummaryrefslogtreecommitdiffstats
path: root/make/scripts/check-junit.sh
diff options
context:
space:
mode:
authorRami Santina <[email protected]>2010-10-21 12:34:51 +0300
committerRami Santina <[email protected]>2010-10-21 12:34:51 +0300
commit9efc951e53c41e21a0c8bfed6dcc22762d9b413c (patch)
treeaa580de9a7848bbc0b0aa132f2904cbb399c34e2 /make/scripts/check-junit.sh
parent29891baca2427483f96e6d1a8c3b13892ba5facc (diff)
parent18bf27fa86da1f26fd085565f501736816d2f2e9 (diff)
Merge branch 'master' of http://github.com/sgothel/jogl
18bf27fa86da1f26fd085565f501736816d2f2e9 Conflicts resolved: src/newt/classes/com/jogamp/newt/impl/WindowImpl.java src/newt/classes/com/jogamp/newt/impl/windows/WindowsWindow.java src/newt/classes/com/jogamp/newt/impl/x11/X11Window.java src/newt/native/WindowsWindow.c src/newt/native/X11Window.c
Diffstat (limited to 'make/scripts/check-junit.sh')
-rwxr-xr-xmake/scripts/check-junit.sh27
1 files changed, 27 insertions, 0 deletions
diff --git a/make/scripts/check-junit.sh b/make/scripts/check-junit.sh
new file mode 100755
index 000000000..1b1ba7875
--- /dev/null
+++ b/make/scripts/check-junit.sh
@@ -0,0 +1,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
+