aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2019-11-22 13:23:43 -0500
committerGitHub <noreply@github.com>2019-11-22 13:23:43 -0500
commit804780f93316b861dfc1f23f94e711307eb39b8f (patch)
tree86f63046aa8b31f9a777d1d412062976e203a125
parent0c294de4a793d4635360adade60ab336326ddecc (diff)
downloadservo-804780f93316b861dfc1f23f94e711307eb39b8f.tar.gz
servo-804780f93316b861dfc1f23f94e711307eb39b8f.zip
Add explanatory comment for wpt_result_analyzer.py.
-rw-r--r--etc/wpt_result_analyzer.py9
1 files changed, 9 insertions, 0 deletions
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')