|
|
481763 |
#!/usr/bin/bash
|
|
|
481763 |
# Analyze and print specialized (basic/webrender) test results
|
|
|
481763 |
|
|
|
481763 |
TEST_DIR=$1
|
|
|
481763 |
TEST_FLAVOUR=$2
|
|
|
481763 |
|
|
|
481763 |
MPASS=`grep "TEST_END: Test OK" $TEST_DIR/mochitest$TEST_FLAVOUR | wc -l`
|
|
|
481763 |
MERR=`grep "TEST_END: Test ERROR" $TEST_DIR/mochitest$TEST_FLAVOUR | wc -l`
|
|
|
481763 |
MUNEX=`grep "TEST-UNEXPECTED-FAIL" $TEST_DIR/mochitest$TEST_FLAVOUR | wc -l`
|
|
|
481763 |
echo "Mochitest PASSED: $MPASS FAILED: $MERR UNEXPECTED-FAILURES: $MUNEX"
|
|
|
481763 |
|
|
|
481763 |
XPCPASS=`grep --text "Expected results:" $TEST_DIR/xpcshell$TEST_FLAVOUR | cut -d ' ' -f 3`
|
|
|
481763 |
XPCFAIL=`grep --text "Unexpected results:" $TEST_DIR/xpcshell$TEST_FLAVOUR | cut -d ' ' -f 3`
|
|
|
481763 |
echo "XPCShell: PASSED: $XPCPASS FAILED: $XPCFAIL"
|
|
|
481763 |
|
|
|
481763 |
CRPASS=`grep "REFTEST INFO | Successful:" $TEST_DIR/crashtest$TEST_FLAVOUR | cut -d ' ' -f 5`
|
|
|
481763 |
CRFAIL=`grep "^REFTEST INFO | Unexpected:" $TEST_DIR/crashtest$TEST_FLAVOUR | cut -d ' ' -f 5`
|
|
|
481763 |
echo "Crashtest: PASSED: $CRPASS FAILED: $CRFAIL"
|
|
|
481763 |
|
|
|
481763 |
RFPASS=`grep --text "REFTEST INFO | Successful:" $TEST_DIR/reftest$TEST_FLAVOUR | cut -d ' ' -f 5`
|
|
|
481763 |
RFUN=`grep --text "^REFTEST INFO | Unexpected:" $TEST_DIR/reftest$TEST_FLAVOUR | cut -d ' ' -f 5`
|
|
|
481763 |
RFKNOWN=`grep --text "REFTEST INFO | Known problems:" $TEST_DIR/reftest$TEST_FLAVOUR | cut -d ' ' -f 6`
|
|
|
481763 |
echo "Reftest: PASSED: $RFPASS FAILED: $RFUN Known issues: $RFKNOWN"
|