From 804780f93316b861dfc1f23f94e711307eb39b8f Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Fri, 22 Nov 2019 13:23:43 -0500 Subject: [PATCH] Add explanatory comment for wpt_result_analyzer.py. --- etc/wpt_result_analyzer.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/etc/wpt_result_analyzer.py b/etc/wpt_result_analyzer.py index 5b7171f44a7..22db58bbc9b 100644 --- a/etc/wpt_result_analyzer.py +++ b/etc/wpt_result_analyzer.py @@ -9,6 +9,15 @@ # option. This file may not be copied, modified, or distributed # except according to those terms. +# Usage: python etc/wpt_result_analyzer.py +# +# Analyze the state of WPT tests in Servo by walking all of the +# test directories, counting the number of tests present, and +# counting the number of ini files present in the corresponding +# test result directory. Prints out a list of directories that +# have non-zero failure counts, ordered by overall number of tests +# and percentage of tests that fail. + import os test_root = os.path.join('tests', 'wpt', 'web-platform-tests')