Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

Fixed regression in config-file reading. #41

Closed
wants to merge 1 commit into from

Conversation

sideshowbarker
Copy link

This change causes the wptcommandline.py code to once again read
the tests and metadata paths from the [paths] section of the
wptrunner.default.ini config file or other specified config file.

(In 8158824 -- specifically in 8158824#diff-409148835eecbf686495abf6ffd37cb5L125
a change was made that regressed config-file reading in such a way as to
cause the code to just ignore any tests and metadata paths specified in
the [paths] section of the wptrunner.default.ini config file or other
specified config file.)

This change causes the `wptcommandline.py` code to once again read
the `tests` and `metadata` paths from the `[paths]` section of the
`wptrunner.default.ini` config file or other specified config file.

(In 8158824
-- specifically in
8158824#diff-409148835eecbf686495abf6ffd37cb5L125
a change was made that regressed config-file reading in such a way as to
cause the code to just ignore any `tests` and `metadata` paths specified in
the `[paths]` section of the `wptrunner.default.ini` config file or other
specified config file.)
@hoppipolla-critic-bot
Copy link

Critic review: https://critic.hoppipolla.co.uk/r/2981

This is an external review system which you may optionally use for the code review of your pull request.

In order to help critic track your changes, please do not make in-place history rewrites (e.g. via git rebase -i or git commit --amend) when updating this pull request.

sideshowbarker referenced this pull request Oct 25, 2014
In this design each directory containing tests gets a metadata
directory and is mounted somewhere under /. So one might have a
set of local tests that are waiting to be upstreamed with a folder
structure like

local
  tests
  metadata

Alongside the web-platfrom-tests directory that might look like

wpt
  tests
  meta

web-platform-tests would be mounted at / and local at /_local/.

This could be specified in a config.ini file as

[manifest:upstream]
tests = wpt/tests
metadata = wpt/meta
url_base = /

[manifest:local]
tests = local/tests
metadata = local/meta
url_base = /_outbound/
@sideshowbarker
Copy link
Author

Superseded by #42

@gsnedders gsnedders deleted the sideshowbarker/config-fix branch January 24, 2017 17:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants