Closed Bug 1062518 Opened 5 years ago Closed 5 years ago
mach python-test broken for relative paths
Repro: 1. cd $MOZ/python/mozbuild/mozbuild/test 2. mach python-test test_base.py The following command works just fine: mach python-test $(pwd)/test_base.py
Reason: http://hg.mozilla.org/mozilla-central/file/e58842c764dd/python/mach_commands.py#l66 Pretty much the same as in bug 1057453. If argument is not absolute then it's relative to pwd. We should have some global helper function for that.
The patch looks large, but that's mostly due to re-indenting lines.
Attachment #8489504 - Flags: review?(mshal)
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
You need to log in before you can comment on or make changes to this bug.