Bug 1705738 [wpt PR 28545] - Fix test_tests_affected_idlharness, a=testonly
authorPhilip Jägenstedt <philip@foolip.org>
Fri, 23 Apr 2021 10:21:43 +0000
changeset 577284 531e1e6e806235314176c118cca670c281d8d965
parent 577283 40a18d383fd68d890164d400d973df18dc2fd464
child 577285 f32526e97995b91d7cb8a92263788d2f2a777050
push id141827
push userwptsync@mozilla.com
push dateSat, 24 Apr 2021 02:11:12 +0000
treeherderautoland@3a7d9d49c316 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1705738, 28545, 28544
milestone90.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1705738 [wpt PR 28545] - Fix test_tests_affected_idlharness, a=testonly Automatic update from web-platform-tests Fix test_tests_affected_idlharness (#28545) Broken by https://github.com/web-platform-tests/wpt/pull/28544, where this test didn't run. It's the addition of webrtc as a dependency there that is the broken, as commit 47cea8c38b88c0ddd3854e4edec0c5b6f2697e62 updates webrtc.idl. This test is indeed funny, depending both on an old commit and on the current state of the tree... -- wpt-commits: 8e27403264a86945d72eced0e86ad26833466bf2 wpt-pr: 28545
testing/web-platform/tests/tools/wpt/tests/test_wpt.py
--- a/testing/web-platform/tests/tools/wpt/tests/test_wpt.py
+++ b/testing/web-platform/tests/tools/wpt/tests/test_wpt.py
@@ -309,17 +309,18 @@ def test_tests_affected(capsys, manifest
 @pytest.mark.skipif(sys.platform == "win32",
                     reason="https://github.com/web-platform-tests/wpt/issues/12934")
 def test_tests_affected_idlharness(capsys, manifest_dir):
     commit = "47cea8c38b88c0ddd3854e4edec0c5b6f2697e62"
     with pytest.raises(SystemExit) as excinfo:
         wpt.main(argv=["tests-affected", "--metadata", manifest_dir, "%s~..%s" % (commit, commit)])
     assert excinfo.value.code == 0
     out, err = capsys.readouterr()
-    assert ("webrtc-encoded-transform/idlharness.https.window.js\n" +
+    assert ("mst-content-hint/idlharness.window.js\n" +
+            "webrtc-encoded-transform/idlharness.https.window.js\n" +
             "webrtc-identity/idlharness.https.window.js\n" +
             "webrtc-stats/idlharness.window.js\n" +
             "webrtc-stats/supported-stats.html\n" +
             "webrtc/idlharness.https.window.js\n") == out
 
 
 @pytest.mark.slow  # this updates the manifest
 @pytest.mark.xfail(sys.platform == "win32",