Auto merge of #6720 - mbrubeck:wpt-release, r=pcwalton

Update WPT test expectations for --release builds

r? @pcwalton or @larsbergstrom

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6720)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-07-24 01:11:48 -06:00
commit 3c88d3418c
2 changed files with 7 additions and 0 deletions

View file

@ -242,6 +242,8 @@ class MachCommands(CommandBase):
os.environ["hosts_file_path"] = hosts_file_path
kwargs["debug"] = not kwargs["release"]
run_file = path.abspath(path.join("tests", "wpt", "run_wpt.py"))
run_globals = {"__file__": run_file}
execfile(run_file, run_globals)

View file

@ -0,0 +1,5 @@
[Image-constructor.html]
type: testharness
[Image and HTMLImageElement share a prototype]
expected:
if not debug: FAIL