Add --ignore_experimental_tests arg to generate_test_report.py

Collect the value of 'experimental' from the keyval file.
If --ignore_experimental_tests is set,
ignore the failure of experimental test.

CQ-DEPEND=CL:Ib2f99c7d1c1125c431970c8ef0b9b5241cbf0bc7
BUG=chromium:265989
TEST=Run the script with --ignore_experimental_tests,
confirm that it exits with 0 when only experimental tests
fail and exit with 1 when non-experimental tests fail.
Run the script without --ignore_experiment_tests,
confirm that it exits with 1 when tests fail regardless
they are experimental or not.

Change-Id: Idd7b0fafc9ffe081504b4cf8c1e3e771878ee06e
Reviewed-on: https://chromium-review.googlesource.com/170575
Reviewed-by: Aviv Keshet <akeshet@chromium.org>
Tested-by: Fang Deng <fdeng@chromium.org>
Commit-Queue: Fang Deng <fdeng@chromium.org>
1 file changed