firefox/print_results
Martin Stransky 42bfda0485 Test fixes
2020-12-01 11:17:26 +01:00

21 lines
572 B
Bash
Executable File

#!/usr/bin/bash
# Analyze and print general test results
export TEST_DIR="test_results"
echo "Test results"
echo "SW"
./print_subtest "test_results" ""
echo "WR"
./print_subtest "test_results" "-wr"
echo "General"
UNPASS=`grep "cppunittests INFO | Passed:" $TEST_DIR/cppunittest | cut -d ' ' -f 5`
UNFAIL=`grep "cppunittests INFO | Failed:" $TEST_DIR/cppunittest | cut -d ' ' -f 5`
echo "CPP UNIT: PASSED: $UNPASS FAILED: $UNFAIL"
JSPASS=`grep "TEST-PASS" $TEST_DIR/jsapi | wc -l`
echo "JSAPI: PASSED: $JSPASS"
echo "JStests: "`tail -n 1 $TEST_DIR/jstests`