diff options
author | Martin Stransky <stransky@redhat.com> | 2020-11-23 22:08:56 +0100 |
---|---|---|
committer | Martin Stransky <stransky@redhat.com> | 2020-11-23 22:08:56 +0100 |
commit | 8751eb0f1d1e0789fa4e49260baf6a1622f21c59 (patch) | |
tree | e0b2d73419fc5f8f00680705f8621c339d87191f | |
parent | Updated tests (diff) | |
download | librewolf-fedora-ff-8751eb0f1d1e0789fa4e49260baf6a1622f21c59.tar.gz librewolf-fedora-ff-8751eb0f1d1e0789fa4e49260baf6a1622f21c59.tar.bz2 librewolf-fedora-ff-8751eb0f1d1e0789fa4e49260baf6a1622f21c59.zip |
Added missing sources
-rwxr-xr-x | print_results_general | 22 | ||||
-rwxr-xr-x | print_results_spec | 45 |
2 files changed, 67 insertions, 0 deletions
diff --git a/print_results_general b/print_results_general new file mode 100755 index 0000000..07fdab8 --- /dev/null +++ b/print_results_general @@ -0,0 +1,22 @@ +#!/usr/bin/bash +# Analyze and print general test results + +TEST_DIR="test_general" + +echo "Cppunittests:" +grep "cppunittests INFO | Passed:" $TEST_DIR/cppunittest +grep "cppunittests INFO | Failed:" $TEST_DIR/cppunittest +echo " " + +echo "JSAPI test:" +echo -n "PASSED: " +grep "TEST-PASS" $TEST_DIR/jsapi | wc -l +echo " " + +echo "JStests test:" +tail -n 1 $TEST_DIR/jstests +echo " " + +echo "Rust tests" +grep "test result:" $TEST_DIR/rusttests +echo " " diff --git a/print_results_spec b/print_results_spec new file mode 100755 index 0000000..804676b --- /dev/null +++ b/print_results_spec @@ -0,0 +1,45 @@ +#!/usr/bin/bash +# Analyze and print specialized (basic/webrender) test results + +TEST_DIR=$1 + +echo "Mochitest:" +echo -n "PASSED: " +grep "TEST_END: Test OK" $TEST_DIR/mochitest | wc -l +echo -n "FAILED: " +grep "TEST_END: Test ERROR" $TEST_DIR/mochitest | wc -l +echo -n "UNEXPECTED-FAILURES: " +grep "TEST-UNEXPECTED-FAIL" $TEST_DIR/mochitest | wc -l +echo " " + +echo "JS Test Browser:" +grep --text "REFTEST INFO | Successful:" $TEST_DIR/jstestbrowser +grep --text "REFTEST INFO | Unexpected:" $TEST_DIR/jstestbrowser +grep --text "REFTEST INFO | Known problems:" $TEST_DIR/jstestbrowser +echo " " + +echo "Marionette:" +grep --text "Expected results:" $TEST_DIR/marionette +grep --text "Skipped:" $TEST_DIR/marionette +grep --text "Unexpected results:" $TEST_DIR/marionette +echo " " + +echo "XPCShell:" +grep --text "INFO INFO | Passed:" $TEST_DIR/xpcshell +grep --text "INFO INFO | Failed:" $TEST_DIR/xpcshell + +echo "Crash test:" +grep "REFTEST INFO | Successful:" $TEST_DIR/crashtest +grep "REFTEST INFO | Unexpected:" $TEST_DIR/crashtest +echo " " + +echo "Reftest:" +grep --text "REFTEST INFO | Successful:" $TEST_DIR/reftest +grep --text "REFTEST INFO | Unexpected:" $TEST_DIR/reftest +grep --text "REFTEST INFO | Known problems:" $TEST_DIR/reftest +echo " " + +echo "GTest:" +grep "\[ PASSED \]" $TEST_DIR/gtest +grep "FAILED TESTS" $TEST_DIR/gtest +echo " " |