diff options
author | Martin Stransky <stransky@redhat.com> | 2020-12-01 11:17:26 +0100 |
---|---|---|
committer | Martin Stransky <stransky@redhat.com> | 2020-12-01 11:17:26 +0100 |
commit | 42bfda048579824669346237aed1f0cb7e78fad5 (patch) | |
tree | 6515ada8243dbe04919527545d67b6a24bee2c38 /print_results | |
parent | Updated test printing (diff) | |
download | librewolf-fedora-ff-42bfda048579824669346237aed1f0cb7e78fad5.tar.gz librewolf-fedora-ff-42bfda048579824669346237aed1f0cb7e78fad5.tar.bz2 librewolf-fedora-ff-42bfda048579824669346237aed1f0cb7e78fad5.zip |
Test fixes
Diffstat (limited to 'print_results')
-rwxr-xr-x | print_results | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/print_results b/print_results new file mode 100755 index 0000000..c4c60ef --- /dev/null +++ b/print_results @@ -0,0 +1,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` |