Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wpt run --list-disabled broken #49857

Open
gsnedders opened this issue Dec 28, 2024 · 0 comments
Open

wpt run --list-disabled broken #49857

gsnedders opened this issue Dec 28, 2024 · 0 comments
Labels
infra wptrunner The automated test runner, commonly called through ./wpt run

Comments

@gsnedders
Copy link
Member

Ironically, in my attempt to add types to wptrunner, trying to run various options under MonkeyType , found an AttributeError, which seems like a type bug…

Traceback (most recent call last):
  File "/Volumes/gsnedders/projects/wpt/web-platform-tests/./wpt", line 10, in <module>
    wpt.main()
  File "/Volumes/gsnedders/projects/wpt/web-platform-tests/tools/wpt/wpt.py", line 233, in main
    rv = script(*args, **kwargs)
  File "/Volumes/gsnedders/projects/wpt/web-platform-tests/tools/wpt/run.py", line 1010, in run
    rv = run_single(venv, **wptrunner_kwargs) > 0
  File "/Volumes/gsnedders/projects/wpt/web-platform-tests/tools/wpt/run.py", line 1019, in run_single
    return wptrunner.start(**kwargs)
  File "/Volumes/gsnedders/projects/wpt/web-platform-tests/tools/wptrunner/wptrunner/tracer.py", line 13, in wrapper
    return func(*args, **kwds)
  File "/Volumes/gsnedders/projects/wpt/web-platform-tests/tools/wptrunner/wptrunner/wptrunner.py", line 565, in start
    list_disabled(**kwargs)
  File "/Volumes/gsnedders/projects/wpt/web-platform-tests/tools/wptrunner/wptrunner/wptrunner.py", line 157, in list_disabled
    rv.append({"test": test.id, "reason": test.disabled()})
AttributeError: 'str' object has no attribute 'id'
@gsnedders gsnedders added infra wptrunner The automated test runner, commonly called through ./wpt run labels Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infra wptrunner The automated test runner, commonly called through ./wpt run
Projects
None yet
Development

No branches or pull requests

1 participant