Bug 1433457 - Prefix lines containing disabled tests with 'disabled: ' during wpt metadata update, r=maja_zf

MozReview-Commit-ID: 1ZIORpl0XZH

--HG--
extra : rebase_source : 8e986d21f111a18eebed9f8d2f9401c5013e11de
This commit is contained in:
James Graham 2018-01-26 14:10:38 +00:00
Родитель 0f9afb26a6
Коммит c16b36e01d
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -65,9 +65,9 @@ def update_expected(test_paths, serve_root, log_file_names,
for test in tree.iterchildren():
for subtest in test.iterchildren():
if subtest.new_disabled:
print os.path.dirname(subtest.root.test_path) + "/" + subtest.name
print "disabled: %s" % os.path.dirname(subtest.root.test_path) + "/" + subtest.name
if test.new_disabled:
print test.root.test_path
print "disabled: %s" % test.root.test_path
results_changed = [item.test_path for item in expected_map.itervalues() if item.modified]