blob: c4c60efff1618cf42d623689a7de7a04e8a39157 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/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`
|